Saltar al contenido principal
POST
Create Endpoint

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Encabezados

Idempotency-Key
string
requerido
Pattern: ^[A-Za-z0-9._~-]{8,128}$

Cuerpo

application/json
url
string
requerido
Required string length: 1 - 2048
name
string
requerido
Required string length: 1 - 120
events
enum<string>[]
requerido
Required array length: 1 - 7 elements
Opciones disponibles:
batch.completed,
batch.completed_with_errors,
batch.failed,
batch.cancelled,
connection.action_required,
export.completed,
export.failed
signing_secret
string<password>
requerido
write-only

Respuesta

Successful Response

webhook_endpoint_id
string
requerido
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
url
string
requerido
Required string length: 1 - 2048
name
string
requerido
Required string length: 1 - 120
events
enum<string>[]
requerido
Opciones disponibles:
batch.completed,
batch.completed_with_errors,
batch.failed,
batch.cancelled,
connection.action_required,
export.completed,
export.failed
status
enum<string>
requerido
Opciones disponibles:
active,
disabled
secret_revision
integer
requerido
Rango requerido: x >= 1
created_at
string
requerido
Pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$