Add a participant to the workflow task Run in API Explorer
Ask AI
POST
/api/v1/workflow/{workflow_uuid}/task/{workflowTask_uuid}/participants
curl \
--request POST 'https://api.plannrcrm.com/api/v1/workflow/6ff8f7f6-1eb3-3525-be4a-3932c805afed/task/6ff8f7f6-1eb3-3525-be4a-3932c805afed/participants' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"participants": [
"a1de47df-2d73-4342-961d-e9bbe9a12866",
"b1220000-d166-4935-a277-aea6bf8b3881",
"b6edfda7-b04e-49f8-93ca-30dfce00ff89"
]
}'
Request examples
{
"participants": [
"a1de47df-2d73-4342-961d-e9bbe9a12866",
"b1220000-d166-4935-a277-aea6bf8b3881",
"b6edfda7-b04e-49f8-93ca-30dfce00ff89"
]
}
Response examples (401)
{
"message": "Unauthenticated."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}