Skip to main content
POST
/
v1
/
widget_tokens
Crear widget token
curl --request POST \
  --url https://api.rail.cl/v1/widget_tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product": "<string>",
  "institution_id": "<string>",
  "username_prefill": "<string>",
  "external_user_id": "<string>",
  "link_id": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.rail.cl/llms.txt

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

Authorizations

Authorization
string
header
required

API key emitida desde el dashboard. Servidor-a-servidor con sk_, browser-to-server con pk_. El prefijo identifica modo (test/live).

Body

application/json
product
string
holder_type
enum<string>
Available options:
individual,
business
institution_id
string
username_prefill
string
external_user_id
string

Response

200

Default Response