Skip to main content
Webhooks let you subscribe to events and receive notice when an event occurs. For more information about webhooks, see Webhooks Overview. By default, you are subscribed to all events.

Webhook Structure

Request Body

KeyTypeDescription
idstringUnique identifier for the event.
eventstringThe type of the event.
datanullable dictionaryEvent information. The content is different for each event.
createdtimestampThe 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

{
  "id": "evt_019979c81f1a2c3e1b050060e4d601b3",
  "event": "listing.agent.video.created",
  "data": {
    "task_id": "task_01997785a0bf59dada39d7375f94d756",
    "listing_id": "L319878271",
    "agent_id": "A980294",
    "results": [
        {
            "id": "v_0199778610ee6c83ec184b5a36272231.mp4",
            "created_at": "2025-01-01T00:00:00.000000+00:00",
            "url": "https://cdn.infinitecreator.com/v_0199778610ee6c83ec184b5a36272231.mp4",
            "preview_url": "https://cdn.infinitecreator.com/v_0199778610ee6c83ec184b5a36272231.mp4.gif",
            "metadata": {}
        }
    ]
  },
  "created": 1751530086
}

Breakdown

KeyTypeDescription
task_idstringUnique identifier for the task
listing_idstringUnique identifier for the listing
agent_idstringUnique identifier for the agent associated with the listing
resultsarray of dictionariesAll results associated with the agent
results[].idstringUnique identifier for the result
results[].created_attimestampThe time in which the result was created. String in ISO 8601 format.
results[].urlstringDownload URL of the result
results[].preview_urloptional stringDownload URL of the preview GIF, if requested
results[].metadataobjectMetadata of the result