Trust Audience

Add an audience domain

POST
/organizations/{organizationId}/projects/{projectId}/audience/domains

Adds a domain to the trust project audience. Admin-added domains default to autoApprove=true.

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/audience/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "trustCenterId": "f9cf2051-b17e-4a4d-88ed-a991b8a0fb98",  "domain": "string",  "companyName": "string",  "source": "admin",  "status": "approved",  "reason": "string",  "autoApprove": true,  "emailCount": 0,  "dateCreated": 0,  "dateUpdated": 0}