Ugrás a fő tartalomhoz

Ügyintéző beszélgetései

GET/api/v2/agents/{agent_id}/conversations

Hitelesítés: API-kulcs szükséges.

cURL példa

curl -X GET \
  'https://app.intracord.hu/api/v2/agents/{agent_id}/conversations' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Paraméterek

NévHelyTípusLeírás
agent_idkötelezőpathinteger
pagequeryinteger
page_sizequeryinteger

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "properties": {
    "data": {
      "items": {
        "$ref": "#/components/schemas/V2_Conversation"
      },
      "type": "array",
      "title": "Data"
    },
    "pagination": {
      "$ref": "#/components/schemas/V2_Pagination"
    }
  },
  "type": "object",
  "required": [
    "data",
    "pagination"
  ],
  "title": "Collection[Conversation]"
}
401Unauthorized
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
403Forbidden
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
404Not Found
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
422Unprocessable Content
application/json
Séma megtekintése
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}