Skip to Content
Prets Developer Portal

case.message.replied

A Case message was added, except the opening request which case.created already covers.

Prets sends this as an HTTPS POST to the endpoint registered via POST /v1/events/destinations. Each delivery carries Authorization: Bearer {bearerSecret} and uses eventId as the idempotency key. Return any 2xx within 30s to acknowledge; non-2xx responses are retried with backoff for up to 24h.

Request Body

application/json
  1. body

A Case message was added, except the opening request (case.created already covers that).

eventId*string
Match^evt_[0-9A-HJKMNP-TV-Z]{26}$
version*string
timestamp*string
Formatdate-time
organization*
type*string
Match^qot_[0-9A-HJKMNP-TV-Z]{26}$
data*

Thin payload — receivers fetch the thread via GET /v1/cases/{caseId}/messages. Author lives on the message resource, not here.

Response Body

Delivery acknowledged. Any 2xx within 30s is treated as success.

Example Requests
POST/case.message.replied

A Case message was added, except the opening request (case.created already covers that).

Request Body
application/json
{  "eventId": "string",  "version": "2026-06-01",  "timestamp": "2019-08-24T14:15:22Z",  "organization": {    "organizationId": "mer_01HZQ7K8ABCDEFGHJKMNPQRSTV",    "slug": "acme-solar"  },  "type": "string",  "data": {    "caseId": "QUOTE-2024-001",    "quote": {      "quoteId": "string"    },    "message": {      "messageId": "csmsg_01K1D7E0F1G2H3J4K5M6N7P8Q9"    }  }}