v1

latestOpenAPI 3.1.02026-07-24251250397.8 KB
webhooks

Create a webhook

Create a webhook

post/v2/webhooks/

Request body

Example request

{
  "metadata": {
    "site_ids": [
      "Ny05CEfj"
    ]
  }
}

Response

Resource successfully created

schemastring
idstring

Unique identifier for a resource

createdstring

Date and time at which the resource was created

last_modifiedstring

Date and time at which the resource was most recently modified

typestring

Name of the type of resource.

relationshipsobject

Ancilliary resources associated to the primary resource being read

secretstring

Shared secret used for verifying authenticity of webhook

Example response

{
  "schema": "https://schema.jwplayer.com/types/thumbnail.json",
  "id": "Ny05CEfj",
  "created": "2019-09-25T15:29:11.042095+00:00",
  "last_modified": "2019-09-25T15:29:11.042095+00:00",
  "metadata": {
    "site_ids": [
      "Ny05CEfj"
    ]
  }
}