GET
/
v1
/
requests
/
{request_uid}
/
messages
List all messages
curl --request GET \
  --url https://api.siit.io/v1/requests/{request_uid}/messages \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "count": 123,
    "total": 123,
    "current_page": 123,
    "per_page": 20,
    "next_page_link": "<string>",
    "previous_page_link": "<string>"
  },
  "results": [
    {
      "uid": "<string>",
      "body_text": "<string>",
      "event_type": "message",
      "sender_type": "user",
      "sent_by_uid": "<string>",
      "submitted_from": "public_api",
      "attachments": [
        {
          "filename": "<string>",
          "url": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}
Note: this endpoint will return records with event_type being message and notes

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

request_uid
string
required

The UID of the request

Query Parameters

page
integer

The current page

per_page
integer

Number of results retrieved per page.

Response

200 - application/json

Successful

meta
object
results
object[]