---
title: Webhooks
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Stream](https://developers.cloudflare.com/api/python/resources/stream)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Webhooks

##### [View webhook](https://developers.cloudflare.com/api/python/resources/stream/subresources/webhooks/methods/get)

stream.webhooks.get(WebhookGetParams\*\*kwargs) -> [WebhookGetResponse](<https://developers.cloudflare.com/api/python/resources/stream#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/stream/webhook

##### [Create VOD webhooks](https://developers.cloudflare.com/api/python/resources/stream/subresources/webhooks/methods/update)

stream.webhooks.update(WebhookUpdateParams\*\*kwargs) -> [WebhookUpdateResponse](<https://developers.cloudflare.com/api/python/resources/stream#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/stream/webhook

##### [Delete webhooks](https://developers.cloudflare.com/api/python/resources/stream/subresources/webhooks/methods/delete)

stream.webhooks.delete(WebhookDeleteParams\*\*kwargs) -> [WebhookDeleteResponse](<https://developers.cloudflare.com/api/python/resources/stream#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/stream/webhook

##### ModelsExpand Collapse

<details>

<summary>

class WebhookGetResponse: …

</summary>

modified: Optional\[datetime]

The date and time the webhook was last modified.

formatdate-time

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_get_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

notification\_url: Optional\[str]

The URL where webhooks will be sent.

formaturi

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_get_response%20%3E%20(schema)%20%3E%20(property)%20notificationUrl">Link to this property</a>

secret: Optional\[str]

The secret used to verify webhook signatures.

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_get_response%20%3E%20(schema)%20%3E%20(property)%20secret">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_get_response%20%3E%20(schema)>)

<details>

<summary>

class WebhookUpdateResponse: …

</summary>

modified: Optional\[datetime]

The date and time the webhook was last modified.

formatdate-time

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_update_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

notification\_url: Optional\[str]

The URL where webhooks will be sent.

formaturi

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_update_response%20%3E%20(schema)%20%3E%20(property)%20notificationUrl">Link to this property</a>

secret: Optional\[str]

The secret used to verify webhook signatures.

<a href="#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_update_response%20%3E%20(schema)%20%3E%20(property)%20secret">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_update_response%20%3E%20(schema)>)

str

[Link to this property](<#(resource)%20stream.webhooks%20%3E%20(model)%20webhook_delete_response%20%3E%20(schema)>)