{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/haptik/main/json-schema/haptik-post-integration-external-v20-send-chat-to-agent-request-schema.json",
  "title": "PostIntegrationExternalV20SendChatToAgentRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/haptik-openapi-generated.yml#/components/schemas/PostIntegrationExternalV20SendChatToAgentRequest",
  "type": "object",
  "properties": {
    "team_name": {
      "type": "string",
      "description": "Name of the team to which the chat is to be assigned."
    },
    "user_name": {
      "type": "string",
      "description": "Identifier for the User provided by Haptik when invoking the Integration API"
    },
    "business_id": {
      "type": "number",
      "description": "Numeric identifier for the channel where the User is messaging"
    },
    "countdown": {
      "type": "number",
      "description": "Time in seconds before chat is moved to queue (5‑10 seconds)."
    },
    "receiver": {
      "type": "string",
      "description": "Athena is Haptik's internal Smart agent chat."
    }
  },
  "required": [
    "team_name",
    "user_name",
    "business_id",
    "receiver"
  ]
}