Skip to main content

List assistants

GET/api/v2/agents

Authentication: An API key is required.

cURL example

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

Parameters

NameLocationTypeDescription
pagequeryinteger
page_sizequeryinteger

Responses

200Successful Response
application/json
View schema
{
  "properties": {
    "data": {
      "items": {
        "$ref": "#/components/schemas/V2_Agent"
      },
      "type": "array",
      "title": "Data"
    },
    "pagination": {
      "$ref": "#/components/schemas/V2_Pagination"
    }
  },
  "type": "object",
  "required": [
    "data",
    "pagination"
  ],
  "title": "Collection[Agent]"
}
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"
}