API
Webhook API

Send webhook by segment

1min

1. Make sure you have added "Webhook" as an action in the segment.



Document image


2. While you are still on the segment page, please remember the segment ID. You can find it in the URL, e.g. https://app.vector.co/segments/123, the id is 123

3. Go to Integrations (bottom left corner) --> Webhook --> Settings

4. Click the + Add Endpoint button and select the desired events to track. If you only want to track events from segment 123, add "segment_123" in the Channels section. If you leave it blank, it will default to all active segments. You also have the option to add multiple segments there if you want to use one endpoint for multiple segments.

Document image