Create API key

Create a new API key for the current organization and reveal its secret exactly once.

post/v1/api_keys

Request

  • Base URL: https://api.turos.app
  • URL: https://api.turos.app/v1/api_keys
  • Auth: HTTP bearer

Request body

labelstring nullable

Response

API key created. The secret field is revealed exactly once in this response.

object'api_key' required
idstring required
createdAtstring required
livemodeboolean required
orgIdstring required
labelstring nullable required
keyPrefixstring required
scopesstring[] required
status'active' | 'revoked' required
lastUsedAtstring nullable required
secretstring required

Changes

No recorded changes to this operation across all 1 revision of this API.