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"
}
}Creates a new API key for the current application. The plaintext key is returned only once and must be stored securely.
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.
Your unique Avido API key
Your unique Avido Application ID
Request body for creating a new API key
Human-friendly name for the API key
1 - 256"Production API Key"
Successfully created API key
Successful response for creating an API key
Newly created API key including the plaintext key (returned once)
Show child attributes