Events method

GET /v1/Webhooks

Gets all webhooks registered by the authenticated user

Uri parameters

None

Body parameters

None

Request sample:

None

Response sample:

200

[
  {
    "uuid": "76c8b8d4-f1dc-49a7-b21c-f40c6ee035de",
    "eventValue": "370726545000000170",
    "eventValueType": 1,
    "url": "https://example.com/MyWebhookEndpoint",
    "customHeaders": "{\"CustomHeader1\":\"CustomHeaderValue1\",\"CustomHeader2\":\"CustomHeaderValue2\"}",
    "secret": "Custom secret used for personal validation"
  },
  {
    "uuid": "d2610bd0-d5dc-40e1-abbb-920cac22ed5a",
    "eventValue": "370726545000000179",
    "eventValueType": 2,
    "url": "https://example.com/MyWebhookEndpoint2",
    "customHeaders": "{\"CustomHeader3\":\"CustomHeaderValue3\",\"CustomHeader4\":\"CustomHeaderValue4\"}",
    "secret": "Another custom secret used for personal validation"
  }
]

400

{
  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
  "title": "One or more validation errors occured",
  "state": 400,
  "traceId": null,
  "errors": {
    "request": [
      "The parcel number cannot be empty"
    ]
  }
}

401

Access denied

403

Forbidden