Follow the steps below to set up a webhook and connect it to your segments.


1. Add the “Webhook” Action to a Segment

Navigate to the segment you'd like to track and click “+ Add Action.”
Choose “Webhook” from the list and save your changes.

Screenshot 2025-06-16 at 2.40.18 PM.png

2. Note the Segment ID

While still on the segment page, take note of the segment ID.
You’ll find it in the URL, like so:

https://app.vector.co/segments/12345

In this case, the segment ID is 12345.

segmenturl.gif

3. Go to Webhook Settings

Head to Integrations (bottom-left of your Vector dashboard) → IntegrationsWebhook

webhookstart.gif

4. Add a New Endpoint

Click the + Add Endpoint button.

addendpoint.gif

  1. Connect the endpoint to a segment

You can connect up to 10 segments to one endpoint! 💪

Option 1 (Recommended — Fastest)

  1. Save the endpoint.

  2. Add “Webhook” as an Action to an existing or new segment.

    • The Action tells Vector where to send data for that segment.

    • Actions are segment-by-segment — intentionally designed so you can control where each play’s data is pushed.

  3. When adding the Webhook Action, select your endpoint from the dropdown.

    • This automatically connects the segment to the endpoint.

webhook.gif

Option 2 (Manual Connection)

If you prefer, you can still manually associate segments while creating the endpoint:

segment_12345 segment_67890

segmentURL2.gif

Important Tips:

If this Segment field is left blank, the webhook will apply to all active segments with the “Webhook” action.

If you select company.visited as your event type, make sure the IP to company fallback toggle is turned on.
You’ll find this setting under Settings (bottom-left corner) > Pixel API > IP to Company Fallback.


Turning this on helps Vector identify anonymous traffic at the company level.

Screenshot 2025-07-28 at 12.26.48 PM.png