Skip to main content
POST
/
api
/
v1
/
auth
/
token
Generar access token
curl --request POST \
  --url https://apis.wekall.co/api/v1/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "api-client-1779822888307-id4ivk",
  "client_secret": "your-client-secret"
}
'
{
  "access_token": "eyJhbGciOiJSUzI1NiIs...",
  "expires_in": 300,
  "token_type": "Bearer",
  "scope": "openid email profile"
}

Documentation Index

Fetch the complete documentation index at: https://docs.wekall.co/llms.txt

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

Body

application/json
client_id
string
required

Client ID generado desde el portal

Example:

"api-client-1779822888307-id4ivk"

client_secret
string
required

Client secret obtenido al crear la API key

Example:

"your-client-secret"

Response

Token generado

access_token
string
required

JWT access token

Example:

"eyJhbGciOiJSUzI1NiIs..."

expires_in
number
required

Tiempo de expiracion en segundos

Example:

300

token_type
string
required

Tipo de token

Example:

"Bearer"

scope
string
required

Scopes del token

Example:

"openid email profile"