Trust Centers

Publish a trust-center announcement + broadcast to subscribers

POST
/organizations/{organizationId}/projects/{projectId}/announcements/{announcementId}/publish

Flips status draft → published, stamps publishedAt, and starts the background fanout. Returns immediately with the subscriber count + initial publishStatus. Subscribers receive the announcement asynchronously; admin polls the announcement detail to watch deliveryStats.publishStatus move to sent or failed. On failed, admin can hit publish again to retry only the un-enqueued subscribers (per-subscriber dedup on lastBroadcastEnqueuedFor).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
announcementId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/announcements/497f6eca-6276-4993-bfeb-53cbbbba6f08/publish"
{  "announcement": {},  "subscriberCount": 0,  "publishStatus": "pending"}