Conversations
Get conversation messages
Changed onList all messages for a conversation.
get/conversations/{id}/messages
Request
- Base URLhttps://api.superchat.com/v1.0
- URLhttps://api.superchat.com/v1.0/conversations/{id}/messages
- AuthAPI key in header X-API-KEY
Path parameters
idstring required
Public ID of the conversation.
Query parameters
afterstring nullable
Return messages after this message ID.
beforestring nullable
Return messages before this message ID.
created_afterstring nullable
Only return messages created after this ISO 8601 timestamp.
created_beforestring nullable
Only return messages created before this ISO 8601 timestamp.
direction'INBOUND' | 'OUTBOUND' nullable
Only return messages with this direction.
limitinteger
Maximum number of messages to return.
Response
OK
Example response
{
"results": [
{
"created_at": "2022-03-10T16:15:50Z",
"updated_at": "2022-03-10T16:15:50Z"
}
]
}Changes
- info
endpoint added
- info