Who a message reaches
POST/api/v1/messages/reach
Per address: what stops a message now, and which news types the address has left. Nothing is sent.
The same rules as when a message is sent, for many addresses at once: Qrona uses it to show who gets what, without sending anything. An address that is not in the workspace has nothing that stops it.
Scope
messages:sendSend messages – the person behind the key must be all members.
Body
JSON, Content-Type: application/json. Unknown fields return 422.
emailsarray<string>required- The addresses to check, at most 500 per call. Upper and lower case count as the same.at least 1 · at most 500
Retrying a request
Feel free to send the Idempotency-Key header (e.g. a UUID). If the same request is sent again with the same key within 24 hours, the first response is returned, without anything being done twice. Batch and idempotency
Response
200 One row per address, in the order they were sent (without duplicates).
dataarray<object>requireddata[].emailstringrequired- The address, in lower case.
data[].marketingstring | nullrequired- What stops a marketing message to the address now: unsubscribed, bounced, complained, manual, imported or erased. null: nothing stops it.
data[].servicestring | nullrequired- What stops a service message to the address now: bounced, complained, manual, imported or erased (an unsubscribe never stops it). null: nothing stops it.
data[].topics_leftarray<object>required- The news types the address has left. A marketing message of such a type is kept as suppressed with reason topic_unsubscribed.
data[].topics_left[].keystringrequired- The news type's key.
data[].topics_left[].labelstringrequired- The type's name when the address left it.
data[].topics_left[].left_atstring (time, ISO 8601)required- When the address left the type.
Errors
- 400
- bad_request
- 429
- rate_limited