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":["ea6e43a5-b2f6-4dc7-8aeb-c88a1f12f7ce"]}'
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": [
    "ea6e43a5-b2f6-4dc7-8aeb-c88a1f12f7ce"
  ]
}