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"
}
]
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"
}
]
Enter your client id
Enter your secret
OK
The response is of type object[]
.
Was this page helpful?