POST
/
webhook-subscriptions
/
subscriptions
Get webhook subscriptions for a specific team
curl --request POST \
  --url https://sandbox.deck.co/api/v1/webhook-subscriptions/subscriptions \
  --header 'x-deck-client-id: <api-key>' \
  --header 'x-deck-secret: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "team_guid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "team_name": "<string>",
    "webhook_event_type": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "event_code": "<string>",
      "event_type": "Link",
      "display_name": "<string>",
      "description": "<string>",
      "is_active": true,
      "deprecated_on_utc": "2023-11-07T05:31:56Z"
    },
    "is_subscribed": true,
    "created_on_utc": "2023-11-07T05:31:56Z",
    "modified_on_utc": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-deck-client-id
string
header
required

Enter your client id

x-deck-secret
string
header
required

Enter your secret

Response

OK

The response is of type object[].