Public event catalogue v1
GET
/v1/integrations/events
const url = 'https://api.academy.example.com/v1/integrations/events';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://api.academy.example.com/v1/integrations/events \ --header 'Authorization: Bearer <token>'Read the supported public webhook catalogue.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Success
Media typeapplication/json
object
version
required
number
events
required
Array<string>
Example
{ "version": 1, "events": [ "person.created", "invitation.accepted", "course_run.completed" ]}default
Section titled “default”Error; error and message identify the reason
Media typeapplication/json
object
error
required
Stable code, e.g. insufficient_scope, not_found, validation_failed
string
message
string
Example generated
{ "error": "example", "message": "example"}