Skip to main content
POST
/
api
/
v1
/
api-keys
Create new API key
curl --request POST \
  --url http://localhost:3000/api/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "My API Key",
  "rateLimit": 1000,
  "scopes": [
    "export:read",
    "translations:read"
  ]
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.linguolink.dev/llms.txt

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

Authorizations

Authorization
string
header
required

Enter your API key in the format: Bearer <api_key>

Query Parameters

limit
string

Maximum number of items to return (default: 10, max: 100)

offset
string

Number of items to skip for pagination (default: 0)

Body

application/json

API key creation data

name
string
required

Name for the API key

Example:

"My API Key"

rateLimit
integer
default:1000

Rate limit in requests per hour

Required range: 1 <= x <= 10000
Example:

1000

scopes
enum<string>[]

Permissions for the API key

Available options:
export:read,
translations:read,
translations:write,
admin
Example:
["export:read", "translations:read"]

Response

Successful response

The response is of type object.