This endpoint allows a user to fetch all webhook configs set up for his/her shipper account.

🚧

Webhook configurations set up by any developer within an organization will be returned in this call.

{
  "data": [
    {
      "id": "48asjgaoi33nkl4t3lae",
      "createdAt": "2019-03-20T16:17:13:424Z",
      "status": "active",
      "subscribedEvents": ["shipment.purchased", "shipment.status.updated"],
      "webhookUrl": "https://www.yourserver.io/webhook/mothership/shipment"
    },
    {
      "id": "akw3lajwkl4jt3lka3fa",
      "createdAt": "2019-03-20T16:21:27:113Z",
      "status": "active",
      "subscribedEvents": ["billOfLading.created", "billOfLading.updated"],
      "webhookUrl": "https://www.yourserver.io/webhook/mothership/bol"
    }
  ]
}

πŸ“˜

Note: the above response does not include the corresponding secret key for each webhook config. In order to fetch this secret key, please use the Retrieve webhook endpoint.

Language
Authentication
Bearer