GET
/api/Webhooks/event-types
const url = 'https://example.com/api/Webhooks/event-types';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://example.com/api/Webhooks/event-types \ --header 'Authorization: Bearer <token>'The set of event types receivers can subscribe to.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Array<string>
Example generated
[ "example"]