Referência da APIWebhooks
Register a webhook endpoint
Authorization
apiKey AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
url*string
Format
uriLength
length <= 2048description?string
Length
length <= 500event_types*array<>|null
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com", "event_types": [ "ingestion.completed" ] }'{ "id": "string", "url": "string", "description": "string", "event_types": [ "string" ], "enabled": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "secret": "string"}
