API reference
RoutiGo Webhook REST API
The Webhook Service enables clients to subscribe to RoutiGo events and receive real-time notifications via HTTP callbacks. Configure webhooks for various event types such as tours, shipments, and assignments.
Version 2.0Base URL https://api.routigo.com/apiFormat JSONSpec OpenAPI 3.1.0 · download
Authentication: API key or Bearer token
Send your key in the X-API-KEY header with every call.
Send a token in the Authorization: Bearer header.
6 calls
Fetch realistic example payloads per event type to design and test your webhook integration before any live events occur.
Manage webhook subscriptions to receive real-time notifications when logistics events occur in RoutiGo.
About this API
Authentication
All requests must be authenticated. This API supports the following methods:
- X-API-KEY — API key for standard client access, passed as a request header.
- X-API-KEY-SUPPLIER — API key for supplier access, passed as a request header.
- Bearer token — JWT token passed via the
Authorization: Bearer <token>header.
For more information, see the Authentication section.
Event Types & Triggers
Different event types support specific triggers. Valid combinations are:
Tour Events
- TOUR_PLANNED, TOUR_STARTED, TOUR_FINISHED, TOUR_CALCULATED
Shipment Events
- SHIPMENT_CREATED, SHIPMENT_UPDATED, SHIPMENT_DELETED
- Plus all Tour events
Assignment Events
- ASSIGNMENT_DONE, ASSIGNMENT_REDONE, ASSIGNMENT_CREATED, ASSIGNMENT_UPDATED, ASSIGNMENT_DELETED, ASSIGNMENT_ARRIVED
- Plus all Tour events
Webhook Delivery & Reliability
Retry Policy
- Max retries: 5 attempts (configurable via
secondsDelayBeforeRetryin action) - Default delay: 600 seconds (10 minutes) between retries, applied by the quorum queue behind
OUTGOING_MESSAGES_RETRY_EXCHANGE_NAME, which holds a requeued message until itsx-opt-delivery-timeheader - Backoff: Exponential backoff with minimum 1 second
Message TTL
- Default TTL: 1440 minutes (24 hours) - configurable via
minutesToLivein action - Messages expire and move to Dead Letter Queue (DLQ) after TTL
Success Criteria
- HTTP status codes 200-299 are considered successful
- Other status codes trigger retry logic
Dead Letter Queue (DLQ)
- Failed messages after 5 retries move to DLQ
- Contact RoutiGo support to investigate or recover DLQ messages
Webhook Payload Structure
When an event is triggered, a POST request is sent to your configured URL with a JSON payload in the following structure:
{
"context": {
"companyCode": "YOUR_COMPANY",
"serviceCentreCode": "AMS",
"routeName": "Route-North-1",
"plannedDate": "2024-02-11"
},
"creationDate": "2024-02-11T10:30:00Z",
"eventType": "TOUR_PLANNED",
"entityType": "TOUR",
"entity": {
... entity-specific data ...
}
}
Payload Fields
- context: Contextual information (companyCode, serviceCentreCode, routeName, plannedDate)
- creationDate: ISO-8601 timestamp when the event was created
- eventType: The specific event that triggered this webhook (e.g., TOUR_PLANNED, SHIPMENT_CREATED)
- entityType: The entity type (TOUR, SHIPMENT, ASSIGNMENT)
- entity: Entity-specific data - structure varies by entityType
Entity-Specific Payloads
The entity field contains different data based on the entityType:
- TOUR: Tour details, vehicle type, planned/current/actual timing values, start location, list of stops
- SHIPMENT: Identifier, external ID, plan date, pickup/delivery locations, supplier, units, tags
- ASSIGNMENT: Shipment ID, assignment ID, type, time constraints, completion data, instructions, contacts
Getting Example Payloads
Before you build your webhook receiver, you will want to know exactly what JSON to expect for each event type. The endpoints in the section Webhook Payload Examples let you fetch realistic example payloads so you can design and test your integration without waiting for live events to occur.
Service Centre Permissions
- The
serviceCentresfield in webhook configurations defaults to all service centres you have access to - You can only create webhooks for service centres you have permissions for
- When null or omitted, the webhook applies to all your accessible service centres
- When explicitly set, it must be a subset of your permitted service centres
Webhook Payload Examples
Fetch realistic example payloads per event type to design and test your webhook integration before any live events occur.
RoutiGo Webhook REST API · Webhook Payload Examples↑ Index
Get webhook payload example for a specific event type
Returns a realistic example of the JSON payload RoutiGo will POST to your webhook URL when the specified event occurs.
Use this to inspect the data structure and build or test your webhook receiver before any live events take place. For example, if you want to react to a shipment being completed, call this with eventType=SHIPMENT to see the exact fields and format you need to handle in your integration.
Supported event types:
- TOUR - Tour planning and execution events
- SHIPMENT - Shipment lifecycle events
- ASSIGNMENT - Assignment/task events
/v2 /webhooks /payload-examples /{eventType}Parameters
Path
The event type to get an example for (TOUR, SHIPMENT, ASSIGNMENT)
e.g. TOUR
Returns
Example webhook payload for the specified event type
TourWebhookPayloadoptionalTourWebhookPayload 5 fields
contextoptionalEventContext 4 fieldsContextual information about where this event occurred
Contextual information about where this event occurred
The company code this event belongs to
e.g. ACME_CORP
The service centre code where this event occurred (may be null for some event types)
e.g. AMS
The route name associated with this event (may be null)
e.g. Route-123
The planned date for this route/shipment (may be null)
e.g. 2024-02-11
ISO-8601 timestamp when this event was created
e.g. 2024-02-11T10:30:00Z
The type of event that triggered this webhook
e.g. TOUR_PLANNED
The entity type this event relates to
e.g. TOUR
entityoptionalTourEntity 11 fieldsTour-specific data
Tour-specific data
Service centre code
e.g. AMS
Route/tour name
e.g. Route-North-1
Planned date for this tour
e.g. 2024-02-11
Vehicle type
e.g. CAR
When the route was released for planning
plannedValuesoptionalTimingValues 3 fieldsPlanned timing values
Planned timing values
Distance in meters
e.g. 15000
Start time
End time
currentValuesoptionalTimingValues| null 3 fields
Distance in meters
e.g. 15000
Start time
End time
actualValuesoptionalTimingValues| null 3 fields
Distance in meters
e.g. 15000
Start time
End time
startLocationoptionalAddress 6 fieldsStarting location for this tour
Starting location for this tour
Street name
e.g. Main Street
House number
e.g. 123
House number addition/suffix
e.g. A
Postal/ZIP code
e.g. 1234 AB
City name
e.g. Amsterdam
Country code
e.g. NL
stopsoptionalStopEntity [ ] 7 fieldsList of stops on this tour
List of stops on this tour
addressoptionalAddress 6 fieldsStop address/location
Stop address/location
Street name
e.g. Main Street
House number
e.g. 123
House number addition/suffix
e.g. A
Postal/ZIP code
e.g. 1234 AB
City name
e.g. Amsterdam
Country code
e.g. NL
assignmentsoptionalAssignmentEntity [ ] 14 fieldsAssignments to complete at this stop
Assignments to complete at this stop
Parent shipment ID
e.g. SHP-001-2024
Assignment ID
e.g. ASG-001
Type of assignment
e.g. DELIVERY
supplieroptionalSupplier| null 2 fields
Supplier identifier
e.g. SUPPLIER_ABC
Supplier name
e.g. ABC Logistics
timeConstraintsoptionalTimeConstraint [ ] 3 fieldsTime constraints for this assignment
Time constraints for this assignment
Deliver after this time
Deliver before this time
Constraint type
e.g. COMMUNICATED
completionDataoptionalCompletionData| null 5 fields
Completion timestamp
Username of the courier who completed the assignment
e.g. john.driver
Final status of the assignment
e.g. DELIVERED
Instructions for the driver en route
Instructions for the driver on site
contactsoptionalContact [ ] 4 fieldsContact persons for this assignment
Contact persons for this assignment
Contact name
e.g. Jane Doe
Mobile phone number
e.g. +31612345678
Email address
e.g. jane@example.com
Language code
e.g. nl
interactionsoptionalInteraction [ ] 2 fieldsCustomer interactions/questions
Customer interactions/questions
Whether an alcohol check is required
default falsee.g. false
Tracking ID for external tracking
e.g. TRK-123456
unitsoptionalShipmentUnit [ ] 3 fieldsUnits/packages to deliver
Units/packages to deliver
Unit name/type
e.g. PALLET
Quantity/amount
e.g. 2
Tags associated with this unit
tagsoptionalTag [ ] 2 fieldsTags associated with this assignment
Tags associated with this assignment
Tag identifier/value
e.g. BARCODE-001
Tag type
e.g. BARCODE
Required skills for this assignment
Initial estimated time of arrival
Current ETA (updated during route execution)
Actual arrival time (after arrival)
Planned duration in seconds
e.g. 600
Actual duration in seconds (after completion)
assignedUseroptionalAssignedUser| null 3 fields
ShipmentWebhookPayloadoptionalShipmentWebhookPayload 5 fields
contextoptionalEventContext 4 fieldsContextual information about where this event occurred
Contextual information about where this event occurred
The company code this event belongs to
e.g. ACME_CORP
The service centre code where this event occurred (may be null for some event types)
e.g. AMS
The route name associated with this event (may be null)
e.g. Route-123
The planned date for this route/shipment (may be null)
e.g. 2024-02-11
ISO-8601 timestamp when this event was created
e.g. 2024-02-11T10:30:00Z
The type of event that triggered this webhook
e.g. TOUR_PLANNED
The entity type this event relates to
e.g. TOUR
entityoptionalShipmentEntity 8 fieldsShipment-specific data
Shipment-specific data
Internal shipment identifier
e.g. SHP-001-2024
External/customer shipment ID
e.g. ORDER-12345
Planned delivery date
e.g. 2024-02-11
pickUpLocationoptionalShipmentLocation| null 12 fields
Location identifier
e.g. LOC-001
ISO 8601 duration for time spent at this location
e.g. PT15M
addressInformationoptionalAddress| null 6 fields
Street name
e.g. Main Street
House number
e.g. 123
House number addition/suffix
e.g. A
Postal/ZIP code
e.g. 1234 AB
City name
e.g. Amsterdam
Country code
e.g. NL
Estimated time of arrival
Customer-facing tracking identifier
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
Instructions for the driver en route
Instructions for the driver on site
timeConstraintsoptionalTimeConstraint [ ] 3 fieldsTime constraints for this location
Time constraints for this location
Deliver after this time
Deliver before this time
Constraint type
e.g. COMMUNICATED
contactInformationoptionalContact [ ] 4 fieldsContact persons for this location
Contact persons for this location
Contact name
e.g. Jane Doe
Mobile phone number
e.g. +31612345678
Email address
e.g. jane@example.com
Language code
e.g. nl
completionDataoptionalCompletionData| null 5 fields
Completion timestamp
locationoptionalLocation| null 3 fields
Latitude coordinate
e.g. 52.0907
Longitude coordinate
e.g. 5.1214
Course/heading in degrees
surveyAnswersoptionalAssignmentAnswers| null 2 fields
A reference to the ID of the survey that was used to give the answers
The list of filled in answers for the assignment
Username of the courier who completed the assignment
e.g. john.driver
Final status of the assignment
e.g. DELIVERED
Required skills for this location
interactionsoptionalInteraction| null 2 fields
Whether an alcohol check is required
default falsee.g. false
paymentRequiredoptionalPaymentRequired| null 2 fields
Currency code
e.g. EUR
Amount to collect
e.g. 25.5
deliveryLocationoptionalShipmentLocation| null 12 fields
Location identifier
e.g. LOC-001
ISO 8601 duration for time spent at this location
e.g. PT15M
addressInformationoptionalAddress| null 6 fields
Street name
e.g. Main Street
House number
e.g. 123
House number addition/suffix
e.g. A
Postal/ZIP code
e.g. 1234 AB
City name
e.g. Amsterdam
Country code
e.g. NL
Estimated time of arrival
Customer-facing tracking identifier
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
Instructions for the driver en route
Instructions for the driver on site
timeConstraintsoptionalTimeConstraint [ ] 3 fieldsTime constraints for this location
Time constraints for this location
Deliver after this time
Deliver before this time
Constraint type
e.g. COMMUNICATED
contactInformationoptionalContact [ ] 4 fieldsContact persons for this location
Contact persons for this location
Contact name
e.g. Jane Doe
Mobile phone number
e.g. +31612345678
Email address
e.g. jane@example.com
Language code
e.g. nl
completionDataoptionalCompletionData| null 5 fields
Completion timestamp
locationoptionalLocation| null 3 fields
Latitude coordinate
e.g. 52.0907
Longitude coordinate
e.g. 5.1214
Course/heading in degrees
surveyAnswersoptionalAssignmentAnswers| null 2 fields
A reference to the ID of the survey that was used to give the answers
The list of filled in answers for the assignment
Username of the courier who completed the assignment
e.g. john.driver
Final status of the assignment
e.g. DELIVERED
Required skills for this location
interactionsoptionalInteraction| null 2 fields
Whether an alcohol check is required
default falsee.g. false
paymentRequiredoptionalPaymentRequired| null 2 fields
Currency code
e.g. EUR
Amount to collect
e.g. 25.5
supplieroptionalSupplier| null 2 fields
Supplier identifier
e.g. SUPPLIER_ABC
Supplier name
e.g. ABC Logistics
unitoptionalShipmentUnit [ ]| null 3 fieldsShipment unit/package details
Shipment unit/package details
Unit name/type
e.g. PALLET
Quantity/amount
e.g. 2
tagsoptionalTag [ ] 2 fieldsTags associated with this unit
Tags associated with this unit
Tag identifier/value
e.g. BARCODE-001
Tag type
e.g. BARCODE
tagsoptionalTag [ ]| null 2 fieldsTags associated with this shipment
Tags associated with this shipment
Tag identifier/value
e.g. BARCODE-001
Tag type
e.g. BARCODE
AssignmentWebhookPayloadoptionalAssignmentWebhookPayload 5 fields
contextoptionalEventContext 4 fieldsContextual information about where this event occurred
Contextual information about where this event occurred
The company code this event belongs to
e.g. ACME_CORP
The service centre code where this event occurred (may be null for some event types)
e.g. AMS
The route name associated with this event (may be null)
e.g. Route-123
The planned date for this route/shipment (may be null)
e.g. 2024-02-11
ISO-8601 timestamp when this event was created
e.g. 2024-02-11T10:30:00Z
The type of event that triggered this webhook
e.g. TOUR_PLANNED
The entity type this event relates to
e.g. TOUR
entityoptionalAssignmentEntity 14 fieldsAssignment-specific data
Assignment-specific data
Parent shipment ID
e.g. SHP-001-2024
Assignment ID
e.g. ASG-001
Type of assignment
e.g. DELIVERY
supplieroptionalSupplier| null 2 fields
Supplier identifier
e.g. SUPPLIER_ABC
Supplier name
e.g. ABC Logistics
timeConstraintsoptionalTimeConstraint [ ] 3 fieldsTime constraints for this assignment
Time constraints for this assignment
Deliver after this time
Deliver before this time
Constraint type
e.g. COMMUNICATED
completionDataoptionalCompletionData| null 5 fields
Completion timestamp
locationoptionalLocation| null 3 fields
Latitude coordinate
e.g. 52.0907
Longitude coordinate
e.g. 5.1214
Course/heading in degrees
surveyAnswersoptionalAssignmentAnswers| null 2 fields
A reference to the ID of the survey that was used to give the answers
answersoptionalone ofAnswerBarcodeAnswerBooleanAnswerFileAnswersMultipleBarcodesAnswerMultipleChoiceAnswerMultipleUnknownBarcodesAnswerNumberAnswerPhotoAnswersSingleFileAnswerSinglePhotoAnswerTextAnswer [ ] 12 fieldsThe list of filled in answers for the assignment
The list of filled in answers for the assignment
Username of the courier who completed the assignment
e.g. john.driver
Final status of the assignment
e.g. DELIVERED
Instructions for the driver en route
Instructions for the driver on site
contactsoptionalContact [ ] 4 fieldsContact persons for this assignment
Contact persons for this assignment
Contact name
e.g. Jane Doe
Mobile phone number
e.g. +31612345678
Email address
e.g. jane@example.com
Language code
e.g. nl
interactionsoptionalInteraction [ ] 2 fieldsCustomer interactions/questions
Customer interactions/questions
Whether an alcohol check is required
default falsee.g. false
paymentRequiredoptionalPaymentRequired| null 2 fields
Currency code
e.g. EUR
Amount to collect
e.g. 25.5
Tracking ID for external tracking
e.g. TRK-123456
unitsoptionalShipmentUnit [ ] 3 fieldsUnits/packages to deliver
Units/packages to deliver
Unit name/type
e.g. PALLET
Quantity/amount
e.g. 2
tagsoptionalTag [ ] 2 fieldsTags associated with this unit
Tags associated with this unit
Tag identifier/value
e.g. BARCODE-001
Tag type
e.g. BARCODE
tagsoptionalTag [ ] 2 fieldsTags associated with this assignment
Tags associated with this assignment
Tag identifier/value
e.g. BARCODE-001
Tag type
e.g. BARCODE
Required skills for this assignment
Example response · 200
{
"creationDate": "2024-02-11T08:30:00Z",
"eventType": "TOUR_FINISHED",
"context": {
"companyCode": "ACME_CORP",
"serviceCentreCode": "AMS",
"routeName": "Route-North-1",
"plannedDate": "2024-02-11"
},
"entityType": "TOUR",
"entity": {
"serviceCentreCode": "AMS",
"routeName": "Route-North-1",
"plannedDate": "2024-02-11",
"vehicleType": "CAR",
"releaseMoment": "2024-02-11T08:00:00Z",
"plannedValues": {
"distance": 15000,
"startTime": "2024-02-11T09:00:00Z",
"endTime": "2024-02-11T17:00:00Z"
},
"currentValues": {
"distance": 12000,
"startTime": "2024-02-11T09:15:00Z",
"endTime": "2024-02-11T16:45:00Z"
},
"actualValues": {
"distance": 14500,
"startTime": "2024-02-11T09:10:00Z",
"endTime": "2024-02-11T16:30:00Z"
},
"startLocation": {
"streetName": "Warehouse Street",
"houseNumber": "1",
"houseNumberAddition": "B",
"postalCode": "1234 AB",
"city": "Amsterdam",
"country": "NL"
},
"stops": [
{
"address": {
"streetName": "Main Street",
"houseNumber": "123",
"houseNumberAddition": "A",
"postalCode": "5678 CD",
"city": "Utrecht",
"country": "NL"
},
"assignments": [
{
"shipmentId": "SHP-001-2024",
"assignmentType": "DELIVERY",
"assignmentId": "ASG-001",
"supplier": {
"identifier": "SUPPLIER_ABC",
"name": "ABC Logistics"
},
"timeConstraints": [
{
"deliverAfter": "2024-02-11T13:00:00Z",
"deliverBefore": "2024-02-11T17:00:00Z",
"type": "COMMUNICATED"
}
],
"completionData": {
"time": "2024-02-11T14:45:00Z",
"location": {
"latitude": 52.0907,
"longitude": 5.1214,
"course": 180
},
"surveyAnswers": {
"surveyId": "survey-001",
"answers": [
{
"type": "BooleanAnswer",
"id": "input-001",
"value": true
}
]
},
"courierUsername": "john.driver",
"endStatus": "DELIVERED"
},
"contacts": [
{
"name": "Jane Doe",
"email": "jane@example.com",
"mobilePhone": "+31612345678",
"language": "nl"
}
],
"onRouteInstructions": "Call customer 10 minutes before arrival",
"onSiteInstructions": "Ring doorbell twice, deliver to reception",
"interactions": [
{
"alcoholCheckRequired": false,
"paymentRequired": {
"currency": "EUR",
"amount": 25.5
}
}
],
"trackingId": "TRK-123456",
"units": [
{
"name": "PALLET",
"amount": 2,
"tags": [
{
"identifier": "BARCODE-001",
"type": "BARCODE"
}
]
}
],
"tags": [
{
"identifier": "TAG-001",
"type": "BARCODE"
}
],
"requiredSkills": []
}
],
"initialETA": "2024-02-11T13:30:00Z",
"currentETA": "2024-02-11T13:45:00Z",
"actualArrivalTime": "2024-02-11T13:40:00Z",
"plannedDuration": 600,
"actualDuration": 600
},
{
"address": {
"streetName": "Oak Avenue",
"houseNumber": "456",
"houseNumberAddition": "C",
"postalCode": "9012 EF",
"city": "Rotterdam",
"country": "NL"
},
"assignments": [
{
"shipmentId": "SHP-002-2024",
"assignmentType": "DELIVERY",
"assignmentId": "ASG-002",
"supplier": {
"identifier": "SUPPLIER_ABC",
"name": "ABC Logistics"
},
"timeConstraints": [],
"completionData": {
"time": "2024-02-11T15:30:00Z",
"location": {
"latitude": 51.9225,
"longitude": 4.4792,
"course": 270
},
"surveyAnswers": {
"surveyId": "survey-002",
"answers": [
{
"type": "TextAnswer",
"id": "input-001",
"value": "Left at reception"
}
]
},
"courierUsername": "john.driver",
"endStatus": "DELIVERED"
},
"contacts": [],
"onRouteInstructions": "Use side entrance for deliveries",
"onSiteInstructions": "Leave package at reception desk",
"interactions": [
{
"alcoholCheckRequired": false,
"paymentRequired": {
"currency": "EUR",
"amount": 15
}
}
],
"trackingId": "TRK-789012",
"units": [
{
"name": "BOX",
"amount": 3,
"tags": []
}
],
"tags": [],
"requiredSkills": []
}
],
"initialETA": "2024-02-11T15:00:00Z",
"currentETA": "2024-02-11T15:15:00Z",
"actualArrivalTime": "2024-02-11T15:20:00Z",
"plannedDuration": 600,
"actualDuration": 720
}
],
"assignedUser": {
"userName": "john@example.com",
"firstName": "John",
"lastName": "Doe"
}
}
}Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
Event type not found or not supported
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.
Webhook
Manage webhook subscriptions to receive real-time notifications when logistics events occur in RoutiGo.
RoutiGo Webhook REST API · Webhook↑ Index
Retrieve a list of all registered webhook subscriptions
Lists all webhook subscriptions for your company or supplier account.
You can optionally filter by event name or event type using query parameters.
Valid event names: TOUR_PLANNED, TOUR_STARTED, TOUR_FINISHED, TOUR_CALCULATED, SHIPMENT_CREATED,SHIPMENT_UPDATED, SHIPMENT_DELETED, ASSIGNMENT_DONE, ASSIGNMENT_REDONE, ASSIGNMENT_CREATED, ASSIGNMENT_UPDATED, ASSIGNMENT_DELETED, ASSIGNMENT_ARRIVED
Valid event types: TOUR, SHIPMENT, ASSIGNMENT
/v2 /webhooksParameters
Query
Filter by RoutiGo event name (e.g., TOUR_PLANNED, SHIPMENT_CREATED)
e.g. TOUR_PLANNED
Filter by RoutiGo event type (e.g., TOUR, SHIPMENT, ASSIGNMENT)
e.g. TOUR
Returns
A list of all registered webhook subscriptions.
Unique identifier for this webhook subscription. Generated automatically upon creation.
e.g. 65cc90847249284b589d6504
The specific event that triggers this webhook.
Must be compatible with the selected routigoEventType. See API documentation for valid combinations.
e.g. TOUR_PLANNED
The entity/event type this webhook monitors.
Valid values: TOUR, STOP, SHIPMENT, ASSIGNMENT, RECURRING_SHIPMENT
Different event types support different triggers - ensure your routigoEvent is compatible.
e.g. TOUR
Service centres this webhook monitors. When null or empty, applies to all service centres you have access to.
Permissions: You can only specify service centres you have access to. Filtering: Only events from these service centres will trigger the webhook.
e.g. ["AMS","RTD"]
actionrequiredEndpointNotificationAction 7 fieldsThe notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
The notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Example response · 200
[
{
"id": "65cc90847249284b589d6504",
"routigoEvent": "ASSIGNMENT_DONE",
"routigoEventType": "ASSIGNMENT",
"serviceCentres": [
"AMS"
],
"action": {
"name": "Sends RoutiGo webhook payload to my company listener url",
"url": "https://my.company.com/routigo-hooks-listener",
"headers": {
"X-SECRET": "42",
"X-ENV": "my-env-name"
},
"queryParameters": {
"someParam": "param42",
"anotherParam": "anotherParam42"
},
"minutesToLive": null,
"secondsDelayBeforeRetry": null,
"supplierToFilterOn": null
}
}
]There are no webhook subscriptions registered for the provided company.
Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.
RoutiGo Webhook REST API · Webhook↑ Index
Create a new webhook subscription by specifying the event, its type and action
Registers a new webhook subscription that will trigger HTTP POST requests to your specified endpoint whenever the configured event occurs.
Important: The combination of routigoEvent and routigoEventType must be valid.
See the main API documentation for valid event/type combinations.
Example Use Cases:
- Get notified when a tour is planned: routigoEvent=TOUR_PLANNED, routigoEventType=TOUR
- Track shipment creation: routigoEvent=SHIPMENT_CREATED, routigoEventType=SHIPMENT
- Monitor assignment updates: routigoEvent=ASSIGNMENT_UPDATED, routigoEventType=ASSIGNMENT
Service Centres: If omitted, the webhook applies to all service centres you have access to.
/v2 /webhooksRequest body required
Webhook subscription configuration including event type, trigger, and notification action
actionoptionalEndpointNotificationAction 7 fieldsRepresents an HTTP POST notification action that gets executed when the webhook is triggered.
When an event occurs, the webhook service will send a POST request to the configured URL with:
- JSON payload containing event data in the request body
- Optional custom headers for authentication or metadata
- Optional query parameters
- Configurable retry behavior and message TTL
Delivery Guarantees:
- At-least-once delivery (may receive duplicates in rare failure scenarios)
- Automatic retries with configurable delays
- Messages expire after TTL and move to dead letter queue
default null
Represents an HTTP POST notification action that gets executed when the webhook is triggered.
When an event occurs, the webhook service will send a POST request to the configured URL with:
- JSON payload containing event data in the request body
- Optional custom headers for authentication or metadata
- Optional query parameters
- Configurable retry behavior and message TTL
Delivery Guarantees:
- At-least-once delivery (may receive duplicates in rare failure scenarios)
- Automatic retries with configurable delays
- Messages expire after TTL and move to dead letter queue
default null
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Returns
A webhook subscription was successfully created and the result is returned back. The Location response header contains a path to the newly created entity e.g. webhook/<new-webhook-id>.
Unique identifier for this webhook subscription. Generated automatically upon creation.
e.g. 65cc90847249284b589d6504
The specific event that triggers this webhook.
Must be compatible with the selected routigoEventType. See API documentation for valid combinations.
e.g. TOUR_PLANNED
The entity/event type this webhook monitors.
Valid values: TOUR, STOP, SHIPMENT, ASSIGNMENT, RECURRING_SHIPMENT
Different event types support different triggers - ensure your routigoEvent is compatible.
e.g. TOUR
Service centres this webhook monitors. When null or empty, applies to all service centres you have access to.
Permissions: You can only specify service centres you have access to. Filtering: Only events from these service centres will trigger the webhook.
e.g. ["AMS","RTD"]
actionrequiredEndpointNotificationAction 7 fieldsThe notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
The notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Example response · 201
{
"id": "65cc90847249284b589d6504",
"routigoEvent": "ASSIGNMENT_DONE",
"routigoEventType": "ASSIGNMENT",
"serviceCentres": [
"AMS"
],
"action": {
"name": "Sends RoutiGo webhook payload to my company listener url",
"url": "https://my.company.com/routigo-hooks-listener",
"headers": {
"X-SECRET": "42",
"X-ENV": "my-env-name"
},
"queryParameters": {
"someParam": "param42",
"anotherParam": "anotherParam42"
},
"minutesToLive": null,
"secondsDelayBeforeRetry": null,
"supplierToFilterOn": null
}
}There is a problem with a request payload.See the response for more detailed error description.
Example response · 400
Failed to parse request body
Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.
RoutiGo Webhook REST API · Webhook↑ Index
Retrieve a single webhook subscription by its id
Retrieves detailed information about a specific webhook subscription.
Returns the complete webhook configuration including event triggers, actions, and service centre settings.
/v2 /webhooks /{webhookId}Parameters
Path
The unique identifier of the webhook subscription
e.g. 65cc90847249284b589d6504
Returns
The requested webhook subscription.
Unique identifier for this webhook subscription. Generated automatically upon creation.
e.g. 65cc90847249284b589d6504
The specific event that triggers this webhook.
Must be compatible with the selected routigoEventType. See API documentation for valid combinations.
e.g. TOUR_PLANNED
The entity/event type this webhook monitors.
Valid values: TOUR, STOP, SHIPMENT, ASSIGNMENT, RECURRING_SHIPMENT
Different event types support different triggers - ensure your routigoEvent is compatible.
e.g. TOUR
Service centres this webhook monitors. When null or empty, applies to all service centres you have access to.
Permissions: You can only specify service centres you have access to. Filtering: Only events from these service centres will trigger the webhook.
e.g. ["AMS","RTD"]
actionrequiredEndpointNotificationAction 7 fieldsThe notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
The notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Example response · 200
{
"id": "65cc90847249284b589d6504",
"routigoEvent": "ASSIGNMENT_DONE",
"routigoEventType": "ASSIGNMENT",
"serviceCentres": [
"AMS"
],
"action": {
"name": "Sends RoutiGo webhook payload to my company listener url",
"url": "https://my.company.com/routigo-hooks-listener",
"headers": {
"X-SECRET": "42",
"X-ENV": "my-env-name"
},
"queryParameters": {
"someParam": "param42",
"anotherParam": "anotherParam42"
},
"minutesToLive": null,
"secondsDelayBeforeRetry": null,
"supplierToFilterOn": null
}
}Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
The webhook subscription with this id was not found.
Example response · 404
Webhook with id: 65cc90847249284b589d650411 was not found
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.
RoutiGo Webhook REST API · Webhook↑ Index
Update a single webhook subscription by its id
Updates an existing webhook subscription with new configuration.
All fields in the request body will replace the existing webhook configuration. You must have access to the service centres specified in both the existing and updated configuration.
Note: Only webhooks you have created or have access to can be updated.
/v2 /webhooks /{webhookId}Parameters
Path
The unique identifier of the webhook subscription to update
e.g. 65cc90847249284b589d6504
Request body required
Updated webhook subscription configuration
actionoptionalEndpointNotificationAction 7 fieldsRepresents an HTTP POST notification action that gets executed when the webhook is triggered.
When an event occurs, the webhook service will send a POST request to the configured URL with:
- JSON payload containing event data in the request body
- Optional custom headers for authentication or metadata
- Optional query parameters
- Configurable retry behavior and message TTL
Delivery Guarantees:
- At-least-once delivery (may receive duplicates in rare failure scenarios)
- Automatic retries with configurable delays
- Messages expire after TTL and move to dead letter queue
default null
Represents an HTTP POST notification action that gets executed when the webhook is triggered.
When an event occurs, the webhook service will send a POST request to the configured URL with:
- JSON payload containing event data in the request body
- Optional custom headers for authentication or metadata
- Optional query parameters
- Configurable retry behavior and message TTL
Delivery Guarantees:
- At-least-once delivery (may receive duplicates in rare failure scenarios)
- Automatic retries with configurable delays
- Messages expire after TTL and move to dead letter queue
default null
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Returns
A webhook subscription was successfully updated and the result is returned back.
Unique identifier for this webhook subscription. Generated automatically upon creation.
e.g. 65cc90847249284b589d6504
The specific event that triggers this webhook.
Must be compatible with the selected routigoEventType. See API documentation for valid combinations.
e.g. TOUR_PLANNED
The entity/event type this webhook monitors.
Valid values: TOUR, STOP, SHIPMENT, ASSIGNMENT, RECURRING_SHIPMENT
Different event types support different triggers - ensure your routigoEvent is compatible.
e.g. TOUR
Service centres this webhook monitors. When null or empty, applies to all service centres you have access to.
Permissions: You can only specify service centres you have access to. Filtering: Only events from these service centres will trigger the webhook.
e.g. ["AMS","RTD"]
actionrequiredEndpointNotificationAction 7 fieldsThe notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
The notification action executed when this webhook triggers.
Defines where to send the event data, optional headers/query params, and retry behavior.
A human-readable description of the action
e.g. Sends RoutiGo webhook payload to my company listener url
The HTTP(S) URL that will receive POST requests when the webhook is triggered. Must be a valid, publicly accessible endpoint.
e.g. https://my.company.com/routigo-hooks-listener
Optional HTTP headers to include in webhook POST requests. Commonly used for authentication (e.g., API keys, tokens) or custom metadata.
Example: {"X-API-KEY": "your-secret-key", "X-Environment": "production"}
Optional query parameters to append to the URL in webhook POST requests.
Example: {"client_id": "abc123", "source": "routigo"}
Message time-to-live in minutes. Determines how long the webhook service will attempt to deliver the message before it expires and moves to the dead letter queue.
Default: 1440 minutes (24 hours) Range: 1 to 43200 minutes (30 days maximum recommended)
e.g. 1440
Delay in seconds before retrying a failed delivery attempt. The webhook service uses exponential backoff, so actual delays may increase with each retry.
Default: 600 seconds (10 minutes) Range: 1 to 3600 seconds recommended Max retries: 5 attempts before moving to dead letter queue
e.g. 600
Optional supplier code filter. When set, webhooks will only be sent if the event data contains this supplier code. Useful for supplier-specific integrations.
Note: Leave null to receive all events regardless of supplier.
e.g. SUPPLIER_ABC
Example response · 200
{
"id": "65cc90847249284b589d6504",
"routigoEvent": "ASSIGNMENT_DONE",
"routigoEventType": "ASSIGNMENT",
"serviceCentres": [
"AMS"
],
"action": {
"name": "Sends RoutiGo webhook payload to my company listener url",
"url": "https://my.company.com/routigo-hooks-listener",
"headers": {
"X-SECRET": "42",
"X-ENV": "my-env-name"
},
"queryParameters": {
"someParam": "param42",
"anotherParam": "anotherParam42"
},
"minutesToLive": null,
"secondsDelayBeforeRetry": null,
"supplierToFilterOn": null
}
}Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
The webhook subscription with this id was not found.
Example response · 404
Webhook with id: 65cc90847249284b589d650411 was not found
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.
RoutiGo Webhook REST API · Webhook↑ Index
Delete a single webhook subscription by its id
Permanently deletes a webhook subscription.
After deletion, you will no longer receive notifications for this webhook configuration. This action cannot be undone.
Note: You can only delete webhooks you have created or have access to.
/v2 /webhooks /{webhookId}Parameters
Path
The unique identifier of the webhook subscription to delete
e.g. 65cc90847249284b589d6504
Returns
The webhook subscription was successfully deleted.
Authentication information is missing or invalid.See the response for more detailed error description.
Example response · 401
Could not find a proper way to authenticate
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Example response · 403
User does not have enough permissions to execute the request
The webhook subscription with this id was not found.
Example response · 404
Webhook with id: 65b79f5ee2f77f1cc7644123 was not found
Unexpected error. Please contact RoutiGo for more details
Example response · 500
An error has occurred while processing the request.