Update conversation

Update conversation

patch

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 · uuidRequired

The workspace ID

Example: b4e02c85-c6d2-4b15-8885-e09671799c61
conversationIdstring · uuidRequired

The conversation ID

Example: 67e4d358-ca94-421e-98b7-448860df9d33
Body

A conversation.

namestring | nullableOptional

Name of the conversation. If it's an email channel, this will correspond to the email subject.

Example: Re: Your refund request
descriptionstring | nullableOptional
statusstring · enumOptional

Status of the conversation. Attempting to send messages in closed conversations results in an error.

Default: activePossible values:
visibilitystring · enumOptional

Whether the conversation is public or private.

Default: publicPossible values:
accessibilitystring · enumOptional

Indicates the access level for new participants to join the conversation.

Default: openPossible values:
Responses
200

The conversation was updated

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"
  }
}'

Last updated

Was this helpful?