zinn-campaigns
POST /v1/leadstore/share/events
A sister project reports contact events back to the shared lead store.
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/leadstore/share/events?project=<project> \
-H "Content-Type: application/json" \
-d '{ "events": <object[]> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Unauthenticated by design, signed like the feed with "\n" + sha256(body) appended to the signed material, so the body cannot be swapped. mailed stamps the person's last contact (the 48 h cross-brand gap, only ever moved forward); replied, unsubscribed, bounced and complained add the address hash to the ONE suppression list and delete the person everywhere. At most 5000 events a request; malformed rows are counted in rejected, never fatal.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
project (query) | string<zh, launch> | Yes | — |
X-Share-Timestamp (header) | string | Yes | — |
X-Share-Signature (header) | string | Yes | Hex HMAC-SHA256 with the share secret over the timestamp, the path, the raw query and the hex SHA-256 of the body, joined by newlines. |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
events | object[] | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
mailed | integer | Yes | — |
suppressed | integer | Yes | — |
rejected | integer | Yes | — |
Errors this endpoint can return
400 · 401 · 404 · 413