Skip to main content
POST
/
v1
/
webhook_endpoints
Crear endpoint webhook
curl --request POST \
  --url https://api.rail.cl/v1/webhook_endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "events": [
    "<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
url
string<uri>
required
description
string
events
string[]

Response

200

Default Response