Skip to main content
POST
/
api
/
v1
/
auth
/
token
Create access token
curl --request POST \
  --url http://localhost:3000/api/v1/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_secret": "ll_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "grant_type": "client_credentials",
  "client_id": "my-app"
}
'
{
  "access_token": "<string>",
  "expires_in": 3600,
  "scope": "export:read translations:read",
  "token_type": "Bearer"
}

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.

Body

application/json
client_secret
string
required

Your LinguLink API key.

Example:

"ll_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

grant_type
enum<string>
required
Available options:
client_credentials
Example:

"client_credentials"

client_id
string

Optional label/identifier for the client.

Example:

"my-app"

Response

Access token issued

access_token
string
required
expires_in
integer
required
Example:

3600

scope
string
required
Example:

"export:read translations:read"

token_type
string
required
Example:

"Bearer"