Skip to main content
POST
/
v1
/
refresh_intents
Disparar sync on-demand
curl --request POST \
  --url https://api.rail.cl/v1/refresh_intents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "link_id": "<string>"
}
'

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
Minimum string length: 1
refresh_type
enum<string>
Available options:
only_last,
historical

Response

200

Default Response