Skip to Content
Orbyte Labs

Create API key

POST
/v1/api-keys

Requires a user OAuth access token. Returns the secret once; store it securely. API keys cannot administer keys.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.

Header Parameters

X-Orbyte-Environment?string

Required for environment-scoped OAuth operations. API keys remain bound to their own environment.

Length1 <= length

Request Body

application/json
  1. body
name?string
Length1 <= length <= 80
Default"API key"
preset?string
Default"standard"
Value in"standard""ingestion""read_only"

Response Body

Created API key and its secret

application/json
  1. response
id*string
secret*string
Example Request
curl -X POST 'https://api.orbytelabs.com/v1/api-keys' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "secret": "string"}