Webhooks
/Update a webhook
Update a webhook
https:/api.livesession.io/v1/webhooks/{id}
Update a webhook
Scopes
Required scopes:
webhooks:writePath parameters
idstringRequired
ID of the webhook to update
Query parameters
versionstringRequired
API versionv1.0string
Request body
urlstringRequired
URL for the webhookwebsite_idstringRequired
Website IDversionstringRequired
API version (e.g., v1.0)
Response
Webhook updated successfully
webhook_idstring
Webhook IDurlstring
URL for the webhookwebsitestring
Website namewebsite_idstring
Website IDversionstring
API versionenabledboolean
Webhook enabled statuscreated_dateinteger
Unix timestamp for creation datecreated_bystring
Creator of the webhook
Example request
curl --request PUT \ --url 'https://api.livesession.io/v1/webhooks/string?version=v1.0' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "url": "string", "website_id": "string", "version": "string" } '
Example response
{ "webhook_id": "string", "url": "string", "website": "string", "website_id": "string", "version": "string", "enabled": true, "created_date": 0, "created_by": "string" }
Built with
Show your support! Star us on GitHub ⭐️