GET
/
chats
curl --request GET \
  --url https://api.vectorify.ai/v1/chats \
  --header 'Api-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "tenant": 123,
      "user": {
        "id": "<string>",
        "name": "<string>",
        "email": "<string>",
        "avatar": "<string>",
        "created_at": "<string>"
      },
      "created_at": "<string>",
      "messages": [
        {
          "id": "<string>",
          "chat_id": "<string>",
          "role": "<string>",
          "user": {
            "id": "<string>",
            "name": "<string>",
            "email": "<string>",
            "avatar": "<string>",
            "created_at": "<string>"
          },
          "text": "<string>",
          "text_html": "<string>",
          "identifier": "<string>",
          "feedback": "<string>",
          "created_at": "<string>"
        }
      ]
    }
  ],
  "meta": {
    "current_page": 123,
    "from": 123,
    "last_page": 123,
    "links": [
      {
        "url": "<string>",
        "label": "<string>",
        "active": true
      }
    ],
    "path": "<string>",
    "per_page": 123,
    "to": 123,
    "total": 123
  },
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  }
}

Authorizations

Api-Key
string
header
required

Response

200 - application/json

Paginated set of Chat

The response is of type object.