Create a key (plaintext returned once)
POST https://connect.seatpreevue.com/v1/manage/keys
Operation createKey · Management
Authentication: a secret key (sk_live_…). See Authentication.
Origins (allowedOrigins, embed.frameAncestors) must be https (http://localhost only
on development keys), may not be a wildcard over a public suffix or shared hosting domain,
and on production keys may not name an origin many clients share (400). allowOriginOnly
is admin scope only (403 scope_insufficient), takes exact origins only, and an origin
another keyless key already holds is 409 conflict (1.10.0).
Request body
application/json: CreateKeyRequest
Responses
| Status | Description | Body |
|---|---|---|
| 201 | Created | ApiKeyWithSecret |
| 400 | Validation failed | Problem |
| 401 | Missing, unknown or revoked key | Problem |
| 403 | Origin, venue, scope or key type not permitted | Problem |
| 409 | An origin is already held by another keyless key (conflict) |
Problem |