POST
cURL

Authorizations

X-Agent-Key
string
header
required

Service-account key, format sq_agt_*. Carries least-privilege scopes.

Headers

Idempotency-Key
string
required

Unique per logical operation; identical key+body returns the cached response, different body → 409.

Maximum string length: 200

Path Parameters

project_id
string
required

Body

application/json
domain
string
required
Example:

"shop.brand.com"

Response

202 - application/json

Async operation queued.

success
boolean
required
message
string
data
object
meta
object