Promote participants to conversation admins

POST /api/v1/conversation/{conversation_uuid}/admin

Headers

Path parameters

application/json

Body Required

  • participants array[string] Required

    Conversation participant account uuids to promote to conversation admin

POST /api/v1/conversation/{conversation_uuid}/admin
curl \
 -X POST https://api.plannrcrm.com/api/v1/conversation/conversation_uuid/admin \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"participants":["51caa80b-37cf-48e0-abb0-b56a63a81ffe"]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "51caa80b-37cf-48e0-abb0-b56a63a81ffe"
  ]
}