Update conversation
Update a conversation's properties
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-448860df9d33Body
A conversation.
namestring | nullableOptionalExample:
Name of the conversation. If it's an email channel, this will correspond to the email subject.
Re: Your refund requestdescriptionstring | nullableOptional
statusstring · enumOptionalDefault:
Status of the conversation. Attempting to send messages in closed conversations results in an error.
activePossible values: visibilitystring · enumOptionalDefault:
Whether the conversation is public or private.
publicPossible values: accessibilitystring · enumOptionalDefault:
Indicates the access level for new participants to join the conversation.
openPossible values: Responses
200
The conversation was updated
application/json
404
The resource specified in the URL was not found
application/json
409
The resource is in a conflicting state
application/json
422
The request body did not pass validation
application/json
patch
/workspaces/{workspaceId}/conversations/{conversationId}Examples
curl -X PATCH "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversations/907798f8-fd72-44d5-8042-fcc05c1bb570" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcd" \
-d '{
"name": "new name",
"description": "description",
"visibility": "private",
"attributes": {
"my-attribute": "123"
}
}'{
"id": "907798f8-fd72-44d5-8042-fcc05c1bb570",
"name": "new name",
"description": "description",
"status": "active",
"visibility": "private",
"accessibility": "invite-only",
"featuredParticipants": [
{
"id": "8f0b5377-2edc-4116-a8e8-6a475f245a04",
"type": "contact",
"status": "active",
"displayName": "John Doe",
"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": ""
},
{
"id": "3954d22c-96f7-4bc3-817b-67b4d903ed90",
"type": "contact",
"status": "active",
"displayName": "",
"avatarUrl": "",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]"
}
}
],
"activeParticipantCount": 2,
"pendingParticipantCount": 1,
"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-29T15:37:20.534Z",
"platformStyle": "email",
"attributes": {
"my-attribute": "123"
}
}Last updated
Was this helpful?

