Create a reaction

POST /api/v1/reaction
application/json

Body Required

  • reactable_type string Required

    The item type that is being reacted to.

  • reactable_uuid string Required

    The UUID of the item that is being reacted to.

  • reaction string Required

    The reaction. e.g. excited|sad|happy|very_sad

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/reaction
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/reaction' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"reactable_type":"message","reactable_uuid":"string","reaction":"happy"}'
Request examples
{
  "reactable_type": "message",
  "reactable_uuid": "string",
  "reaction": "happy"
}
Response examples (401)
{
  "message": "Unauthenticated."
}