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":["a7e568c3-1f23-4759-918f-4ef07052b414","d268aabd-0d5d-4cf1-af2d-cccf93f791d5"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "a7e568c3-1f23-4759-918f-4ef07052b414",
    "d268aabd-0d5d-4cf1-af2d-cccf93f791d5"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}