Webhook subscription collection

Retrieve all webhook subscriptions across the companies the current apikey has access to from Basecone.

GET subscriptions

WebhookSubscription collection properties

Property Type Description
WebhookSubscriptions Array A list of webhook subscriptions.
_links Array A list of useful preconfigured uri's a client app can use to navigate this resource collection.
_metadata Complex object Optional object with additional information concerning the current returned result.

For details on Webhook subscription properties see Webhook subscription details.

For details on collections see collection details.

Example response:

{
  "webhookSubscriptions": [
    {
      "company": {
        "companyId": "c77a6059-10e8-427c-891b-129e7cc0e403",
        "companyCode": "9901",
        "_links": [
          {
            "rel": "self",
            "href": "https://api.basecone.com/companies/c77a6059-10e8-427c-891b-129e7cc0e403"
          }
        ]
      },
      "username": "",
      "endpoint": "https://some.server.com/event"
    }
  ],
  "_links": [
    {
      "rel": "self",
      "href": "https://api.basecone.com/subscriptions?limit=10&offset=0"
    }
  ],
  "_metadata": {
    "total": 1,
    "count": 1
  }
}