cURL
curl --request POST \ --url https://api.pocketsflow.com/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "<string>" ], "description": "<string>", "active": true } '
Create a new webhook endpoint to receive events
Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)
Webhook endpoint URL (must be HTTPS)
List of events to subscribe to
Optional description
Whether webhook is active
Webhook created successfully
Was this page helpful?