Create a reaction

POST /api/v1/reaction

Headers

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

POST /api/v1/reaction
curl \
 -X POST https://api.plannrcrm.com/api/v1/reaction \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"reactable_type":"message","reactable_uuid":"string","reaction":"happy"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "reactable_type": "message",
  "reactable_uuid": "string",
  "reaction": "happy"
}