Add participant to conversation
Add a participant to the conversation if it hasn't already been added
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
or
or
Responses
200
Participant already exists
application/json
201
Participant was added
application/json
404
The resource specified in the URL was not found
application/json
409
The resource already exists
application/json
422
The request body did not pass validation
application/json
post
/workspaces/{workspaceId}/conversations/{conversationId}/participantsExamples
curl -X POST "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversations/c9c60caa-eaf5-4628-9687-91de4d452bfa/participants" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcd" \
-d '{
"type": "contact",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]"
}
}'{
"id": "3954d22c-96f7-4bc3-817b-67b4d903ed90",
"type": "contact",
"status": "active",
"displayName": "",
"avatarUrl": "",
"contact": {
"identifierKey": "emailaddress",
"identifierValue": "[email protected]",
"platformAddress": "[email protected]"
}
}Last updated
Was this helpful?

