Skip to main content
PUT
Set webhook endpoint

Authorizations

X-Auth-Token
string
header
required

API key created in the dashboard or via POST /v1/api/api-keys. Keys are prefixed pn_ and do not expire until revoked.

Body

application/json
url
string<uri>
required

Must use https://

Maximum string length: 2000
Example:

"https://example.com/hooks/pnplayer"

events
enum<string>[]

Events to receive. Omit or send an empty array to receive all events.

Available options:
video.ready,
video.deleted,
caption.added,
caption.updated,
caption.removed,
chapters.updated,
tag.created,
tag.deleted,
video.tags.attached,
video.tags.detached

Response

Configuration saved

data
object