Webhooks
/
Update a webhook

Update a webhook

PUT
https:/api.livesession.io/v1/webhooks/{id}

Update a webhook

Scopes

Required scopes: webhooks:write

Path parameters

  • id
    string
    Required
    ID of the webhook to update

Query parameters

  • version
    enum
    Required
    API version
    • v1.0
      string

Request body

  • url
    string
    Required
    URL for the webhook
  • website_id
    string
    Required
    Website ID
  • version
    string
    Required
    API version (e.g., v1.0)

Response

Webhook updated successfully
  • webhook_id
    string
    Webhook ID
  • url
    string
    URL for the webhook
  • website
    string
    Website name
  • website_id
    string
    Website ID
  • version
    string
    API version
  • enabled
    boolean
    Webhook enabled status
  • created_date
    integer
    Unix timestamp for creation date
  • created_by
    string
    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 ⭐️