# Webhooks

#### What are Webhooks?

Webhooks are server-side push notifications that are triggered by specific events within the 3Q platform. They allow external systems to react automatically to changes or actions without the need for polling.

Typical webhook events include:

* A video asset has been uploaded or updated
* A livestream has started or ended
* Processing or encoding states have changed

***

#### Configuration

<figure><img src="https://949886435-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY0a9tRqzqI1wGBkmcjxd%2Fuploads%2FtDn2AjZKz3e2fKx5LO6P%2FBildschirmfoto%202026-01-24%20um%2011.57.51.png?alt=media&#x26;token=960db615-2023-4dce-b9a3-722c95ab14c8" alt=""><figcaption></figcaption></figure>

Webhooks can be configured in the **Notifications** module. For each webhook, the following settings can be defined:

* Target URL (endpoint that receives the event)
* Secret for request validation
* Event types to subscribe to

Once configured, the platform sends an HTTP request to the specified endpoint whenever the selected event occurs.

***

#### Example Payload

Webhook requests include event information as URL parameters and a structured JSON payload in the request body.

**Example request URL:**

```
/{path}?ProjectId=105489&FileId=11778933&event=file.new
```

**Example payload:**

```json
[
  {
    "Event": "file.new",
    "ProjectId": 105489,
    "File": {
      "Id": 11778953,
      "Name": "uploads/105489-R4WnjV2PzrXY8yN6dTp9.mp4",
      "IsFinished": true,
      "IsEncoded": true,
      "UseEncoding": true,
      "EncodingPriority": 50,
      "HasErrors": false,
      "Metadata": {
        "StandardFilePicture": {
          "AspectRatio": "1:1",
          "AspectRatioClosest": "1:1",
          "FilePictureId": 13384417,
          "URI": "https://sdn-global-prog-cache.3qsdn.com/105489/files/25/07/28/11778953/483c1dd0-cb5d-4572-80b0-73376a000be3.jpg",
          "ThumbURI": "https://sdn-global-prog-cache.3qsdn.com/105489/files/25/07/28/11778953/c9040770-4129-4fcc-a4c1-3ff6c5aa54f8.jpg",
          "SrcPictureURI": "https://sdn-global-prog-cache.3qsdn.com/105489/files/25/07/28/11778953/7bac5606-9e16-48ee-9560-87c853204dec.jpg",
          "IsStandard": true,
          "ManualUpload": false
        },
        "Title": "Rikscha Quadrat_Intern_1.mp4",
        "Description": "",
        "DisplayTitle": "",
        "DisplayTitleSecondLine": "",
        "ReleaseStatus": "unpublished",
        "Category": [],
        "IABCategory": [],
        "Share": [],
        "Videotype": [],
        "OriginalFileName": "Rikscha Quadrat_Intern_1.mp4",
        "CustomMetadata": {
          "adsDisabled": false
        }
      },
      "CreatedAt": "2025-07-28T12:23:14+00:00",
      "LastUpdateAt": "2025-07-28T12:25:49+00:00"
    }
  }
]
```

***

#### Security

Webhook requests can be secured using **AWS Cognito signature validation**. This allows recipients to verify the authenticity of incoming webhook requests.

AWS Cognito can be connected to the 3Q platform in **Account → Partners & Services**. Once configured, webhook requests will be signed accordingly.
