Webhooks

Get All

Get all the webhooks.

get/public/api/webhooks?filter={filter}

Query parameters

filterstring

A valid JSON filter object

Headers

Acceptstring

e.g. application/json

Request body

Example request

{
  "Authorization": {
    "Authorization": "Bearer JWT"
  }
}

Response

OK

webhook_idstring required
urlstring required
topicsstring[] required
is_activeboolean required
created_datestring required
updated_datestring required

Example response

[
  {
    "webhook_id": "5ea689b6bd436e37567caffe",
    "url": "https://webhook.site/b258e106-5aa3-4b86-9eef-a942643243a8",
    "topics": [
      "missions"
    ],
    "is_active": true,
    "created_date": "2020-04-27T07:28:54.324Z",
    "updated_date": "2020-04-27T07:28:54.324Z"
  },
  {
    "webhook_id": "5ea689b6bd436e37567caffe",
    "url": "https://webhook.site/b258e106-5bb3-4b96-9ebf-a942743244a9",
    "topics": [
      "stores"
    ],
    "is_active": true,
    "created_date": "2020-04-27T07:28:54.324Z",
    "updated_date": "2020-04-27T07:28:54.324Z"
  }
]

Changes