GET
/webhook/getSubscriptions
curl \
--request GET 'https://public-api.joinswsh.com/webhook/getSubscriptions' \
--header "x-api-key: $API_KEY"
Response examples (200)
{
"data": [
{
"webhookId": "33333333-3333-3333-3333-333333333333",
"config": {
"event": "newPhoto",
"targetUrl": "https://example.com/webhook",
"metadata": {},
"albumId": "22222222-2222-2222-2222-222222222222"
}
}
],
"cursor": "string",
"warnings": [
"Example warning"
]
}