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" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{
"participants": [
"a78d8720-8cc8-4ff9-ac2a-53d72451c754",
"45717aa9-611e-4de1-80c1-330bc53b7aa9",
"e6b5cf0d-8353-430a-a944-8878e72bd213"
]
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"participants": [
"a78d8720-8cc8-4ff9-ac2a-53d72451c754",
"45717aa9-611e-4de1-80c1-330bc53b7aa9",
"e6b5cf0d-8353-430a-a944-8878e72bd213"
]
}
Response examples (401)
{
"message": "Unauthenticated."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}