Skip to main content
POST
Create Site

Authorizations

Authorization
string
header
required

Organization-bound Auth0 API access token. Required permissions are listed per operation; this does not offer API-key or client-registration issuance.

Headers

Origin
string

Required for browser-session mutations. Origin must exactly match the workspace; read the CSRF token from GET /v1/me using the browser session. A bearer-authenticated /v1/me response has csrf_token=null. Not required for bearer-token-only requests.

X-CSRF-Token
string

Required for browser-session mutations. Origin must exactly match the workspace; read the CSRF token from GET /v1/me using the browser session. A bearer-authenticated /v1/me response has csrf_token=null. Not required for bearer-token-only requests.

Body

application/json
name
string
required
Required string length: 1 - 100
origins
string[]
required
Required array length: 1 - 10 elements
business_context
string
default:""
Maximum string length: 1000
Pattern: ^[^\x00]*$
pricing_paths
string[]
Maximum array length: 10
retention_days
integer
default:30
Required range: 1 <= x <= 90

Response

Successful Response