axonpush
API referenceWebhooks

POST /webhooks/endpoints

POST
/webhooks/endpoints

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/webhooks/endpoints" \  -H "Content-Type: application/json" \  -d '{    "channelId": "string",    "url": "http://example.com"  }'
{  "$schema": "https://example.com/schemas/CreateEndpointOutputBody.json",  "active": true,  "channelId": "string",  "createdAt": "string",  "description": "string",  "endpointId": "string",  "eventTypes": [    "string"  ],  "hasSecret": true,  "orgId": "string",  "rawSecret": "string",  "updatedAt": "string",  "url": "string"}