Skip to main content

What are Webhooks?

Webhooks are automated messages sent from apps when something happens. In the context of Argil, webhooks allow you to receive real-time notifications about various events occurring within your environment, such as video generation successes and failures or avatar training successes and failures.

How Webhooks Work

Webhooks in Argil send a POST request to your specified callback URL whenever subscribed events occur. This enables your applications to respond immediately to events within Argil as they happen.

Available Events for subscription

This event is triggered when an avatar video generation is successful.
Check our VIDEO_GENERATION_SUCCESS Event Documentation for more information about this event.
This event is triggered when an avatar video generation is failed.
Check our VIDEO_GENERATION_FAILED Event Documentation for more information about this event.
This event is triggered when an avatar training is successful.
Check our AVATAR_TRAINING_SUCCESS Event Documentation for more information about this event.
This event is triggered when an avatar training is failed.
Check our AVATAR_TRAINING_FAILED Event Documentation for more information about this event.
A single webhook can subscribe to multiple events.

Managing Webhooks via API

You can manage your webhooks entirely through API calls, which allows you to programmatically list, register, edit, and unregister webhooks. Below are the primary actions you can perform with our API:
Retrieve a list of all your registered webhook.
API Reference for Listing Webhooks
Learn how to register a webhook by specifying a callback URL and the events you are interested in.
API Reference for Creating Webhooks
Unregister a webhook when it’s no longer needed.
API Reference for Deleting Webhooks
Update your webhook settings, such as changing the callback URL or events.
API Reference for Editing Webhooks
I