Skip to main content
GET
/
api
/
v1
/
conversations
/
{id}
/
messages
cURL
curl --request GET \
  --url https://backend.wassist.app/api/v1/conversations/{id}/messages/ \
  --header 'X-API-Key: <api-key>'
{
  "count": 123,
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": "<string>",
      "type": "<string>",
      "status": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "text": "<string>",
      "image": "<string>",
      "ctaButton": "<string>",
      "listSelection": "<string>",
      "template": "<string>"
    }
  ],
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}
Retrieve all messages in a conversation.

Authorizations

X-API-Key
string
header
required

API key authentication. Pass your API key in the X-API-Key header.

Path Parameters

id
string
required

Query Parameters

limit
integer

Pagination limit (default 50)

offset
integer

Pagination offset

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"