Create a reaction
Headers
-
Content-Type string
-
Accept string
Body Required
-
The item type that is being reacted to.
-
The UUID of the item that is being reacted to.
-
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"
}