curl --request PATCH \
--url https://api.wellapp.ai/v1/subscriptions/webhooks/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "<string>",
"attributes": {
"event": "document.processed",
"target_url": "<string>",
"headers": {}
}
}
}
'{
"data": {
"type": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"event": "document.processed",
"target_url": "<string>",
"headers": {},
"created_at": "2023-11-07T05:31:56Z",
"active": true
}
}
}curl --request PATCH \
--url https://api.wellapp.ai/v1/subscriptions/webhooks/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "<string>",
"attributes": {
"event": "document.processed",
"target_url": "<string>",
"headers": {}
}
}
}
'{
"data": {
"type": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"event": "document.processed",
"target_url": "<string>",
"headers": {},
"created_at": "2023-11-07T05:31:56Z",
"active": true
}
}
}Bearer token for authentication
Show child attributes
"webhook"Show child attributes
Subscription updated
Show child attributes
"webhook"UUID of the webhook subscription
Show child attributes
The event type subscribed to
document.processed The URL where webhook events will be sent
Timestamp when the webhook was created
Whether the webhook subscription is active