1. API operations
  2. Issue an API credential
POST

Operation credentials.create. Every operation.

​
Authorizations

memberSession
required
string
A signed-in member's session token. Unlike a credential or an access token it carries no project or environment, so a request using it must also send the two headers below.

​
Body

application/json
environmentKind
required
string
project
required
string
scopes
required
array

​
Response

  • 201

  • 400

  • 401

  • 403

  • 404

  • 409

  • 429

  • 503

Issue an API credential

createdAt
required
string
displayPrefix
required
string
environmentKind
required
string
Available options: test, live
id
required
string
project
required
string
scopes
required
string[]
secret
required
string
Required string length: 48 - ∞
shownOnce
required
boolean
expiresAt
string
issuedBy
string
Required string length: 1 - ∞
lastUsedAt
string
revokedAt
string
supersededBy
string