Skip to main content
POST
/
v0
/
api-keys
Create an API key for an application
curl --request POST \
  --url https://api.avidoai.com/v0/api-keys \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '
{
  "name": "Production API Key"
}
'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "key": "avido_prod_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "name": "Production API Key"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json

Request body for creating a new API key

name
string
required

Human-friendly name for the API key

Required string length: 1 - 256
Example:

"Production API Key"

Response

Successfully created API key

Successful response for creating an API key

data
CreatedApiKey · object
required

Newly created API key including the plaintext key (returned once)