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":["940f96a0-f8bc-41c5-8203-41c344e2aa11","6caeef84-f60c-4b08-a6bc-f32ff1e790f0"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "940f96a0-f8bc-41c5-8203-41c344e2aa11",
    "6caeef84-f60c-4b08-a6bc-f32ff1e790f0"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}