GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

Moments webhook - V2

Moment webhooks are triggered when single-piece content items are created, updated, or deleted in the system. Moments typically represent short-form content like highlights or key plays.

Webhook structure

Example

{
    "Action": "Update",
    "ActionTime": "2025-01-20T13:43:00.828Z",
    "ContentId": "678e516ed0015dfac1abbb1d",
    "ContentType": "Moment",
    "Content": {
        "Type": "Moment",
        "Id": "678e516ed0015dfac1abbb1d",
        "Title": "Ja Morant with an amazing dunk",
        "Description": "",
        "Subtitle": "",
        "Version": 0,
        "AspectRatios": [
            "Vertical"
        ],
        "Status": "Active",
        "Duration": 13.013,
        "CreateTime": "2025-01-20T13:36:46.504Z",
        "UpdateTime": "2025-01-20T13:36:46.504Z",
        "Thumbnails": [
            {
                "Url": "https://blazeuat.prod-cdn.clipro.tv/assets/2b1a496e4f5765deaa47a9462fedf212/bc71340f-0393-402f-99ca-8541c9e98c3c.jpg",
                "AspectRatio": "TwoToThree"
            },
            {
                "Url": "https://blazeuat.prod-cdn.clipro.tv/assets/2b1a496e4f5765deaa47a9462fedf212/8c882807-465b-4c0b-9362-71f393e3ae5e.jpg",
                "AspectRatio": "Square"
            }
        ],
        "GeoTargeting": {
            "IncludedGeos": null,
            "ExcludedGeos": null
        },
        "Metadata": {
            "Competition": {
                "Provider": null,
                "ProviderId": null,
                "WscId": 2
            },
            "Game": {
                "Provider": null,
                "ProviderId": "0022400345",
                "WscId": 103225680
            },
            "Team": {
                "Provider": null,
                "ProviderId": "1610612763",
                "WscId": 1015
            },
            "Player": {
                "Provider": null,
                "ProviderId": "1629630",
                "WscId": 774871
            },
            "Round": null,
            "Season": null
        },
        "ExecutionTimeType": "None",
        "Labels": [
            {
                "Title": "Main Moments",
                "Identifier": "main-moments"
            },
            {
                "Title": "Test Webhook Label",
                "Identifier": "test-webhook-label"
            }
        ]
    }
}

Content fields

FieldTypeDescription
TypestringAlways "Moment" for moment content
IdstringUnique identifier for the moment
TitlestringTitle of the moment
DescriptionstringOptional description text
SubtitlestringOptional subtitle text
VersionnumberContent version number
AspectRatiosstring[]Available aspect ratios for this content
StatusstringCurrent status (e.g., "Active", "Draft")
DurationnumberDuration in seconds
CreateTimestringISO 8601 timestamp of creation
UpdateTimestringISO 8601 timestamp of last update

Thumbnails

Each thumbnail object contains:

  • Url: Direct URL to the thumbnail image
  • AspectRatio: Aspect ratio of the thumbnail

Metadata

Content metadata includes:

  • Competition: Competition information
  • Game: Game-specific identifiers
  • Team: Team information
  • Player: Player information

Each metadata object contains:

  • Provider: External provider identifier
  • ProviderId: ID from the provider's system
  • WscId: Internal WSC identifier

Labels

Labels are used for content categorization and contain:

  • Title: Display name of the label
  • Identifier: Unique identifier for the label

Did this page help you?