Skip to main content
GET
/
merchant
/
webhook
/
endpoint_list
Get Webhook Endpoint list
curl --request GET \
  --url https://api.unibee.dev/merchant/webhook/endpoint_list \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "data": {
    "endpointList": [
      {
        "createTime": 123,
        "gmtModify": 123,
        "id": 123,
        "merchantId": 123,
        "type": 123,
        "webhookEvents": [
          "<string>"
        ],
        "webhookUrl": "<string>"
      }
    ],
    "zapierCredential": {
      "accessToken": "<string>",
      "createdAt": 123,
      "expiredAt": 123,
      "extra": {},
      "merchantId": 123,
      "refreshToken": "<string>",
      "scope": [
        "<string>"
      ],
      "subscriptions": [
        {
          "createdAt": 123,
          "endpointId": 123,
          "events": [
            "<string>"
          ],
          "hookUrl": "<string>",
          "secret": "<string>",
          "status": "<string>",
          "updatedAt": 123,
          "zapId": "<string>"
        }
      ],
      "tokenType": "<string>",
      "updatedAt": 123
    }
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
code
integer<int>
data
object
message
string<string>
redirect
string<string>
requestId
string<string>