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":["36d1a2f2-0e14-4a15-bbfa-e2723e0426bb","9c9641f1-c080-4a80-b02b-93cb13cac6dc"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "36d1a2f2-0e14-4a15-bbfa-e2723e0426bb",
    "9c9641f1-c080-4a80-b02b-93cb13cac6dc"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}