Trust Centers

Create a draft trust-center announcement

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

Creates a new draft announcement. Use the publish route to flip status and fan out the email broadcast. bodyLexical is the Lexical EditorState JSON authored by the composer; the controller renders sanitized HTML once and caches it on the doc.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "bodyLexical": "string"  }'
{}