cURL
curl --request POST \ --url https://api.polpo.sh/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "https://example.com/webhook", "events": [ "task:*", "mission:completed" ] } '
{ "ok": true, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "<string>", "events": [ "<string>" ], "created_at": "<string>" } }
Project API key (sk_live_... or sk_test_...)
HTTPS endpoint that will receive POST requests
"https://example.com/webhook"
Event patterns to subscribe to. Supports wildcards.
["task:*", "mission:completed"]
Webhook created
Show child attributes