Webhooks
/Create a webhook
Create a webhook
https:/api.livesession.io/v1/webhooks
Create a webhook
Scopes
Required scopes:
webhooks:write
Request body
url
string
Required
URL for the webhookwebsite_id
string
Required
Website IDversion
string
Required
API version (e.g., v1.0)
Response
Webhook created successfully
webhook_id
string
Webhook IDurl
string
URL for the webhookwebsite
string
Website namewebsite_id
string
Website IDversion
string
API versionenabled
boolean
Webhook enabled statuscreated_date
integer
Unix timestamp for creation datecreated_by
string
Creator of the webhook
Example request
curl --request POST \ --url https://api.livesession.io/v1/webhooks \ --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 ⭐️