Webhooks

Update a Webhook Endpoint

update an existing webhook endpoint

patch/v1/webhook/endpoint.update

Request

  • Base URL
    https://api.heygen.com
  • URL
    https://api.heygen.com/v1/webhook/endpoint.update
  • Auth
    API key in header X-API-KEY

Request body

endpoint_idstring

the endpoint's id you want to update

urlstring

the new post url you want to set for the endpoint

eventsstring[]

the new events array you want to set for your endpoint

Response

200

codeinteger
msgunknown

Example response

{
  "code": 100,
  "data": {
    "endpoint_id": "123456",
    "url": "https://helloworld.com",
    "secret": "whsec_123456",
    "status": "enabled",
    "username": "123456",
    "created_at": "2023-04-03T05:40:47"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.