Skip to main content
PATCH
/
v0
/
tenant
/
webhook
Update the webhook configuration
curl --request PATCH \
  --url https://api.sandbox.getasset.com/v0/tenant/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "headers": {
    "Authorization": "Bearer 1234567890"
  },
  "enabled": true
}
'
{
  "data": {
    "tenant_id": "<string>",
    "url": "<string>",
    "enabled": true,
    "headers": {
      "Authorization": "Bearer 1234567890"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
url
string

The webhook url where to POST messages

headers
Headers · object[] | null

Optional headers to be passed when calling the webhook

Example:
{ "Authorization": "Bearer 1234567890" }
enabled
boolean | null

Enable or disable webhook notifications

Response

Successful Response

data
WebhookPublic · object
required