Skip to main content

List an assistant’s conversations

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

Authentication: An API key is required.

cURL example

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

Parameters

NameLocationTypeDescription
agent_idrequiredpathinteger
pagequeryinteger
page_sizequeryinteger

Responses

200Successful Response
application/json
View schema
{
  "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
View schema
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
403Forbidden
application/json
View schema
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
404Not Found
application/json
View schema
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}
422Unprocessable Content
application/json
View schema
{
  "properties": {
    "error": {
      "$ref": "#/components/schemas/V2_ErrorDetail"
    }
  },
  "type": "object",
  "required": [
    "error"
  ],
  "title": "ErrorResponse"
}