Webhook Structure
Request Body
| Key | Type | Description |
|---|---|---|
| id | string | Unique identifier for the event. |
| event | string | The type of the event. |
| data | nullable dictionary | Event information. The content is different for each event. |
| created | timestamp | The time in which the object was created. UTC epoch time in seconds. |
Events
listing.agent.video.created
Fired when we create a video for an agent associated with a listing.Example
Breakdown
| Key | Type | Description |
|---|---|---|
| task_id | string | Unique identifier for the task |
| listing_id | string | Unique identifier for the listing |
| agent_id | string | Unique identifier for the agent associated with the listing |
| results | array of dictionaries | All results associated with the agent |
| results[].id | string | Unique identifier for the result |
| results[].created_at | timestamp | The time in which the result was created. String in ISO 8601 format. |
| results[].url | string | Download URL of the result |
| results[].preview_url | optional string | Download URL of the preview GIF, if requested |
| results[].metadata | object | Metadata of the result |