Pin the conversation

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

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • conversation_uuid string Required
application/json

Body Required

  • pin boolean Required

    Boolean to denote the whether the conversation is to be pinned for the account or not.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/conversation/{conversation_uuid}/pin
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/conversation/6ff8f7f6-1eb3-3525-be4a-3932c805afed/pin' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"pin":true}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "pin": true
}
Response examples (401)
{
  "message": "Unauthenticated."
}