Get conversation
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The workspace ID
b4e02c85-c6d2-4b15-8885-e09671799c61The conversation ID
67e4d358-ca94-421e-98b7-448860df9d33The conversation was found
A conversation object.
Conversation ID.
299227f5-1c61-4341-ad50-efed5c048998Name of the conversation. If it's an email channel, this will correspond to the email subject.
Re: Your refund requestConversation description.
Refund request ticketStatus of the conversation. Attempting to send messages in closed conversations results in an error.
activePossible values: Whether the conversation is public or private.
publicPossible values: Indicates the access level for new participants to join the conversation.
openPossible values: The style of the conversation. - default: The conversation style is dictated by the underlying platform. Participants will be a mix of user and contact participants. - directMessage: The conversation is a direct conversation between user participants. Participants will be of user type. - chatChannel: The conversation is a chat channel conversation. Participants will be of user type. - personalInbox: The conversation is in the personal inbox for a user participant. Participants will be the owning user, and one or more personal contact participants. - resource: The conversation consists of comments on a resource. Participants will be of user type and resource will be set.
defaultPossible values: Number of active participants.
2Number of participants who have requested to join the conversation with pending approval.
1Channel ID.
ab651378-579a-4491-abe6-eec97d4c0fa3Timestamp of the last incoming message in RFC3339 format.
Timestamp of the last outgoing message in RFC3339 format.
Creation timestamp formatted as RFC3339.
2024-01-01T00:00:00.123ZUpdate timestamp formatted as RFC3339.
2024-01-01T00:00:00.123ZThe communication style of the platform.
email represents an email channel;
direct represents a 1:1 conversation, most channels will fall in this category, like WhatsApp and RCS;
direct-multiple represents a channel that supports multiple conversations per contact, e.g. Chat;
direct-threaded represents a threaded communication channel, e.g. Instagram Comments.
Summary of the conversation.
Re: Your refund requestWhether this conversation was flagged as spam. Only present when anti-spam is enabled in the workspace settings.
Reason for being flagged as spam.
advertisementIndicates if the conversation contains at least one draft message.
The resource specified in the URL was not found
The resource is in a conflicting state
Examples
curl "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversations/02ec2ac2-ebec-42d3-a5f4-e6f3a9edf418" \
-H "Authorization: AccessKey abcd"{
"id": "907798f8-fd72-44d5-8042-fcc05c1bb570",
"name": "test",
"description": "",
"status": "active",
"visibility": "public",
"accessibility": "open",
"featuredParticipants": [
{
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"type": "contact",
"status": "active",
"displayName": "Lucas De Mitri",
"avatarUrl": "",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]"
}
},
{
"id": "68b80b8d-8060-42df-bda3-73505a8fdb84",
"type": "accessKey",
"status": "active",
"displayName": "My first email key",
"avatarUrl": ""
}
],
"activeParticipantCount": 2,
"pendingParticipantCount": 0,
"initiatingParticipant": {
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"type": "contact",
"status": "active",
"displayName": "John Doe",
"avatarUrl": "",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]"
}
},
"channelId": "cb4b1ebc-34e6-5a7a-a375-f6f2f131d88f",
"lastMessage": {
"id": "d578f436-b3b7-49e6-95c2-24b77bb4e7ce",
"type": "text",
"preview": {
"text": "Hey, listen!"
},
"recipients": [
{
"type": "to",
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]",
"contactAnnotation": {
"name": "John Doe"
}
}
],
"status": "delivered",
"sender": {
"id": "68b80b8d-8060-42df-bda3-73505a8fdb84",
"type": "accessKey",
"status": "active",
"displayName": "My first email key",
"avatarUrl": ""
},
"createdAt": "2024-11-29T13:22:22.875Z"
},
"createdAt": "2024-11-25T19:31:47.264Z",
"updatedAt": "2024-11-29T13:31:03.845Z",
"platformStyle": "email"
}Last updated
Was this helpful?

