application/json

Body

  • reactable_type string Required

    The item type that is being reacted to.

  • reactable_uuid string(uuid) Required

    The UUID of the item that is being reacted to.

  • reaction string Required

    The reaction. e.g. like|love|laughing|surprised.

    Values are like, love, laughing, or surprised.

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":"913d5357-027c-4b0a-a623-d0c38b478cf9","reaction":"like"}'
Request examples
{
  "reactable_type": "message",
  "reactable_uuid": "913d5357-027c-4b0a-a623-d0c38b478cf9",
  "reaction": "like"
}
Response examples (401)
{
  "message": "Unauthenticated."
}