Create a Webhook

Use this API to create a webhook and subscribe to an event. When these events occur in real-time, Azuga will make a request to the endpoint with a JSON payload. You also need to provide the authentication schemes to your service.


Sample Request

    "name": "Trips_Webhook",
    "url": "",
    "email": "[email protected]",
    "paused": false,
    "retryRate": 10,
    "authorizationType": "BASIC",
    "webHookAuthKeyValues": [
            "authKey": "authKey",
            "authValue": "authValue"
    "webHookEventTypes": [
            "eventType": "TRIP_START_MESSAGE"
            "eventType": "TRIP_END_MESSAGE"
            "eventType": "GPS_MESSAGE"

API Response explanation

FieldDescriptionData Type
generatedAtInMillisAPI generation timestamp in MillisecondsLong
dataAPI Message (Success/Failure)String
errorError messageList
Click Try It! to start a request and see the response here!