Autoenhance.ai
Search
⌃K

Webhooks

How to receive automatic updates about your images and orders.
  1. 1.
    First register your endpoint URL and any authentication token on the dashboard here https://app.autoenhance.ai/application-interface
  2. 2.
    When pressing save your endpoint should automatically be sent a POST request with your authentication token containing the following JSON payload
Webhook Updated Event
{
"event": "webhook_updated"
}
  1. 1.
    For each image processed you will receive a POST request with your authentication token containing the following JSON payload:
Image Processed Event
{
"event": image_processed",
"image_id": ..., // The ID of the image procesed
"error": ... // True if the image had an error, false otherwise
"order_id": ..., // The ID of the order the image belongs to
"order_is_processing": ... // True if the order is processing, false if it has processed all the images
}