Skip to main content
PUT
/
api
/
v1
/
webhooks
/
{id}
Update a webhook
curl --request PUT \
  --url https://api.g-tateth.com/api/v1/webhooks/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "isActive": true
}
'

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer sk_live_... or Bearer sk_test_...

Path Parameters

id
string
required

Webhook ID

Body

application/json
name
string
url
string<uri>
events
string[]
isActive
boolean

Response

200

Webhook updated successfully