Webhooks
Subscribe to webhooks
Changed onSubscribe to Print API webhooks by passing a list of topics that you want to subscribe to and the URL where webhooks should be sent.
post/webhooks/
Request
- Base URLhttps://api.lulu.com
- AuthOAuth 2Client credentialsImplicithttps://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/auth?nonce=jwt_loginPasswordToken URLhttps://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"topics": [
"PRINT_JOB_STATUS_CHANGED"
],
"url": "https://www.webhooks-consumer.com/"
}Response
OK
Example response
{
"id": "f370d09b-912a-4667-9890-ed9bd0c32166",
"is_active": true,
"topics": [
"PRINT_JOB_STATUS_CHANGED"
],
"url": "https://www.webhooks-consumer.com/"
}Changes
- info
endpoint added
- info