Handle the activation challenge GET request.
event
: The event type. It will be always activate
.verification_token
: The verification token, you set when you registered the webhook.challenge
: A random integer.app_id
: The application ID of the webhook.app_id
is the one you’d expect.verification_token
is the one you set when you registered the webhook.200 OK
response with the challenge integer in the response body.GET /v2/session/apps/{appID}/webhooks/{webhookID}/activate
will fail with a 400 Bad Request
error and the webhook will not be activated.
Once the webhook is activated, you will start directly receiving events from Prelude.
The schema is of type object
.