Set up a webhook
1
Open project settings
From the dashboard, navigate to your project and open Project Settings.
2
Enter your webhook URL
Provide a publicly accessible HTTPS endpoint in the Webhook URL field.
3
Choose events
Tick the checkboxes for the build events you want to receive. At least one event must be selected while a webhook URL is set.
4
Save and test
Click Save. Once saved, click Test Webhook to send a sample payload to your endpoint. (Save first — the Test button won’t fire on unsaved changes.)
Your endpoint must be reachable from the internet and able to accept HTTP POST requests with a JSON body.
Events
Streampixel emits a webhook at each stage of the build pipeline.
Events fire in roughly the order listed, following the natural progression of the pipeline. Not every build triggers every event — for example, a rejected build never fires
build.distributing.
Payload
Every webhook is anHTTP POST request with Content-Type: application/json.
string
The event type (e.g.,
build.approved). See the events table above.string
The Streampixel project ID.
string | null
The unique identifier of the uploaded build.
string | null
The URL of the build file, when available.
string
Raw pipeline status (e.g.,
Approved, Reject, Distribute).string | null
The reason for rejection. Only populated when
event is build.rejected.string
ISO 8601 timestamp of when the event occurred.
Examples
Testing your endpoint
Save a webhook URL in Project Settings, then click the Test Webhook button to send awebhook.test payload to that URL. The dashboard reports the result:
- Success — “Webhook delivered successfully.” Your endpoint responded with a
2xxstatus. - Failure — An error toast. Verify the URL is correct, publicly accessible over HTTPS, and returns a
2xxresponse.
Filtering events
Choose exactly the events you care about with the checkboxes in Project Settings. At least one event must be selected while a webhook URL is set — there is no “all” default, so a new webhook receives nothing until you tick the events you want:- Only care about final outcomes? Select just
build.approvedandbuild.rejected. - Want full pipeline visibility? Tick all seven events.
- Monitoring distribution? Select
build.distributingandbuild.approved.
Best practices
Receiving webhooks
- Node.js (Express)
- Python (Flask)
Troubleshooting
Quick reference
Next steps
Distribute a build
Combine
build.approved events with the Distribute API for a controlled CI/CD flow.Upload File API
The endpoint that triggers the build pipeline events documented above.