FileForms
Webhook endpoints

Create Webhook Endpoint

POST
/webhook-endpoints

Create a webhook endpoint. The signing secret is returned only in this response; store it securely to verify webhook signatures.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/webhook-endpoints" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "eventTypes": [      "document.uploaded"    ]  }'
{  "id": "string",  "url": "string",  "eventTypes": [    "document.uploaded"  ],  "createdAt": "2019-08-24T14:15:22Z",  "secret": "string"}