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": [
"859452e2-a97b-490f-b269-672752051f59",
"db490196-98a0-4066-a262-4e1ab32d4650",
"8c0179be-7506-4fc1-b24d-4bf577d4b40c"
]
}'
Request examples
{
"participants": [
"859452e2-a97b-490f-b269-672752051f59",
"db490196-98a0-4066-a262-4e1ab32d4650",
"8c0179be-7506-4fc1-b24d-4bf577d4b40c"
]
}
Response examples (401)
{
"message": "Unauthenticated."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}