Skip to main content
GET
/
api
/
chat
/
{id}
Get a chat
curl --request GET \
  --url https://operator.io/api/chat/{id} \
  --header 'Authorization: Bearer <token>'
{
  "chat": {
    "id": "<string>",
    "title": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "messages": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

API key (ck_live_...). Create one in Settings > API Keys.

Path Parameters

id
string
required

Response

Chat with messages.

chat
object
messages
object[]