Skip to main content
POST
Create a site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Any unique string up to 255 characters, such as a UUID. A retry with the same key and body within 24 hours answers what the first call did, without writing again.

Required string length: 1 - 255

Body

application/json
name
string
required
Required string length: 1 - 100
domain
string
required
Required string length: 3 - 253
Pattern: ^((\*\.)|((?!-)[a-z0-9-]{0,63}[a-z0-9]\.))+[a-z]{2,63}$
timezone
string

IANA timezone every day boundary falls in, such as Europe/Warsaw. Default UTC.

reportingCurrency
string

ISO 4217 code every amount is reported in. Default USD.

Response

OK

data
object
required