Remove a reaction from a reply
Removes one of the caller's reactions from a reply. Returns the updated record.
The record is looked up within the caller's tenant, and the caller must also be allowed to access the entity the email is linked to (employer, customer, lead, workflow or meeting, checked in that order); otherwise that entity's access check rejects the request. The caller also needs the update permission of the linked entity type (employers:write, leads:update, workflows:update, customers:update or meetings:update), checked in the service layer.
Errors: 403 if the reaction belongs to another user or the update permission is missing; 404 if the record, the reply or the reaction does not exist.
Request
- Base URLhttps://api.surense.com/api/v1
- URLhttps://api.surense.com/api/v1/appmail/{id}/replies/{replyId}/reactions/{reactionId}
- AuthOAuth 2Client credentialsToken URL: https://api.surense.com/oauth/token
Path parameters
Email record ID (UUID).
Reply ID (UUID).
Reaction ID (UUID).
Response
OK
Example response
{
"id": "9b1d4e72-5c3a-4f8b-a6e2-7d0c1b9f3e45",
"employerId": "0d7e3a92-1f4b-4c8e-b6a5-9e2c7f1d4b38",
"customerId": "3f2b8c1e-6d4a-4b7e-9a51-2c8e7f0d1a93",
"leadId": "7c5a1e3b-9d2f-4a68-8b0e-4f6d2a9c1e57",
"workflowId": "e2b9f4d6-3a1c-4e75-9f08-6b4d1c7a3e92",
"meetingId": "4a8c2e6f-0b3d-4f19-a7c5-2e9b6d0f4a31",
"plainContent": "Hello, attached is the renewal offer for your car insurance policy.",
"subject": "Car insurance renewal offer",
"fromPersonal": "Dana Levi",
"fromAddress": "dana@example-agency.co.il",
"emlSize": 48213,
"htmlSize": 15872,
"provider": "gmail"
}Changes
No recorded changes to this operation across all 1 revision of this API.