List conversation messages
Authorizations
HTTPRequired
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Path parameters
workspaceIdstring · uuidRequiredExample:
The workspace ID
b4e02c85-c6d2-4b15-8885-e09671799c61conversationIdstring · uuidRequiredExample:
The conversation ID
67e4d358-ca94-421e-98b7-448860df9d33Query parameters
limitinteger · int64Optional
pageTokenstringOptional
reversebooleanOptional
dateFromstring · date-timeOptional
Filter by created date after this date.
Responses
200
OK
application/json
403
User has no access to the requested resource
application/json
404
The resource specified in the URL was not found
application/json
409
The resource is in a conflicting state
application/json
get
/workspaces/{workspaceId}/conversations/{conversationId}/messagesExamples
curl "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversations/16e1df9e-c6ac-406b-b1ce-13f34d0dea08/messages" \
-H "Authorization: AccessKey abcd"{
"results": [
{
"id": "0c854061-6026-48c7-a2e8-bffb6458727b",
"conversationId": "16e1df9e-c6ac-406b-b1ce-13f34d0dea08",
"reference": "",
"sender": {
"id": "68b80b8d-8060-42df-bda3-73505a8fdb84",
"type": "accessKey",
"status": "active",
"displayName": "My first email key",
"avatarUrl": ""
},
"draft": false,
"recipients": [
{
"type": "to",
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]",
"contactAnnotation": {
"name": "John Doe"
}
}
],
"status": "delivered",
"source": "conversations",
"body": {
"type": "text",
"text": {
"text": "Hey, listen!"
}
},
"interactions": null,
"createdAt": "2024-11-25T20:12:10.514Z",
"updatedAt": "2024-11-25T20:12:35.281Z"
},
{
"id": "3e75a9d2-2a54-45ac-856a-bbe02f874332",
"conversationId": "16e1df9e-c6ac-406b-b1ce-13f34d0dea08",
"reference": "3e75a9d2-2a54-45ac-856a-bbe02f874332",
"sender": {
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"type": "contact",
"status": "active",
"displayName": "John Doe",
"avatarUrl": "",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]",
}
},
"draft": false,
"status": "delivered",
"source": "channels",
"body": {
"type": "html",
"html": {
"text": "test\r\n",
"html": "<p>test</p>"
}
},
"interactions": null,
"createdAt": "2024-11-25T19:31:47.264Z",
"updatedAt": "2024-11-25T19:31:47.264Z",
"meta": {
"extraInformation": {
"email_headers": "eyJTdWJqZWN0IjpbInRlc3QiXX0="
}
},
"receiverTypes": [
"to"
]
}
]
}Last updated
Was this helpful?

