Promote participants to conversation admins

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

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • conversation_uuid string Required
application/json

Body Required

  • participants array[string] Required

    Conversation participant account uuids to promote to conversation admin

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/conversation/{conversation_uuid}/admin
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/conversation/6ff8f7f6-1eb3-3525-be4a-3932c805afed/admin' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"participants":["6826c407-c67c-4b1e-9e27-7cd3b6b71720"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participants": [
    "6826c407-c67c-4b1e-9e27-7cd3b6b71720"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}