List the workspace's webhook subscriptions
GET
/event-subscriptions
const url = 'https://app.surveyrock.com/api/v1/event-subscriptions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.surveyrock.com/api/v1/event-subscriptions \ --header 'Authorization: Bearer <token>'Every subscription of the workspace (at most 20). A secret is never in this response.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The subscriptions, oldest first