Instead of polling for status changes, you can receive notifications when important events occur. Glossi will send HTTP POST requests to your configured endpoint.
Available Events
Event
Description
model.processed
Model upload processing completed successfully
model.failed
Model processing failed
project.created
A project was created
job.complete
A job workflow completed successfully
job.failed
A job workflow failed
render.complete
A render completed successfully
render.failed
A render failed
Configure Your Webhook
You can create or update your webhook configuration using the API.
Create/Update Webhook
Endpoint:
PUT https://api.glossi.app/api/v1/webhooks
Headers:
Header
Value
X-API-Key
Your API key
Content-Type
application/json
Body:
Response:
Important: Save the secret value — you'll need it to verify webhook signatures. This is only shown once when creating or updating the webhook.
Get Current Webhook
Endpoint:
Headers:
Header
Value
X-API-Key
Your API key
Response:
Delete Webhook
Endpoint:
Headers:
Header
Value
X-API-Key
Your API key
Webhook Payloads
All webhooks follow this format:
model.processed
Sent when a model finishes processing and is ready to use.
model.failed
Sent when model processing fails.
project.created
Sent when a project is created.
job.complete
Sent when a Jobs API workflow completes successfully.
job.failed
Sent when a Jobs API workflow fails.
render.complete
Sent when a render job completes successfully.
render.failed
Sent when a render job fails.
Verify Webhook Signatures
All webhook requests include an X-Glossi-Signature header. Always verify this signature to ensure the request came from Glossi and hasn't been tampered with.
The signature is an HMAC-SHA256 hash of the request body using your webhook secret.
JavaScript/Node.js
Python
PHP
Always verify the signature on incoming webhooks to ensure authenticity and integrity.
Retry Behavior
If your webhook endpoint returns a non-2xx status code, Glossi will retry the delivery: