post https://sandbox.avinode.com/api/webhooks/settings
Avinode will notify your server in near real-time of events you are interested in.
Notification Event Types
Event Type String | Name | Description |
---|---|---|
"ClientLeads" | Client Leads | Notifies of incoming client leads (from a web app for ex.) |
"EmptyLegs" | Empty Legs | Notifies of new or updated empty legs matching any of the empty leg watches setup. |
"TripRequest" | Trip Request | Notifies you on a new trip request, update or cancellation from a buyer |
"TripRequestSellerResponse" | Trip Request - Seller Response | Notifies you when a seller responds to your trip request |
"TripRequestMine" | Trip Request (My Company) | Notifies you when someone in your company sends a trip request / cancellation |
"TripRequestSellerResponseMine" | Trip Request - Seller Response (My Company) | Notifies you when someone in your company responds to a trip request |
"TripChatFromBuyer" | Trip Chat - Buyer | Notifies you on a trip chat message from a buyer |
"TripChatFromSeller" | Trip Chat - Seller | Notifies you on a trip chat message from a seller |
"TripChatMine" | Trip Chat (My Company) | Notifies you when someone in your company chats on a tri |
Webhook setup payload example
{
"targetURI": "https://notifications.myexamplefms.com/webhook-notifications",
"displayName": "MyExampleFMS - Avinode notifications",
"active": true,
"clientIdentifier": "login123",
"clientSecret": "ks7U5twP",
"clientAuthenticationType": "BASIC",
"eventTypes": [
"TripRequest",
"TripChatFromBuyer"
]
}