Add participants to a group

POST /api/v1/group/{group_uuid}/participants

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • group_uuid string Required
application/json

Body Required

  • participants array[string] Required

    UUIDs of accounts to add to the group.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/group/{group_uuid}/participants
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/group/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":["a56a09be-34da-44a8-9c96-bd26c70e0ee7","862450ed-5e21-440f-9580-37ebb6b0642a"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "a56a09be-34da-44a8-9c96-bd26c70e0ee7",
    "862450ed-5e21-440f-9580-37ebb6b0642a"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}