Custom Domain docs
API referenceConnections

Create connections for a set of domains in one call

POST
/connections:bulk

Fans out the same idempotent upsert as single-domain create. Each domain is independent — a bad domain is reported failed and the batch continues; a domain already connected under this app returns already. Max 200 domains per call.

Authorization

widgetJWT
AuthorizationBearer <token>

Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/connections:bulk" \  -H "Content-Type: application/json" \  -d '{    "domains": [      "string"    ]  }'
{  "results": [    {      "domain": "string",      "connection_id": "string",      "status": "connected",      "message": "string"    }  ]}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}