ENA Feedback
API ReferenceEndpointsWebhooks

Create webhook subscription

Last updated on

POST
/webhooks

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/webhooks" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "events": [      "string"    ]  }'
{
  "id": "string",
  "url": "http://example.com",
  "events": [
    "string"
  ],
  "secret_prefix": "string"
}