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":["aeb695a4-a270-4a72-bca4-b5afa7e08c24"]}'
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": [
    "aeb695a4-a270-4a72-bca4-b5afa7e08c24"
  ]
}