Creates a webhook endpoint that receives platform events matching the supplied event-type filters. Returns the generated signing secret ONCE — the response is the only time it is shown in plaintext.
curl --request POST \
--url https://api.case.dev/webhooks/v1/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"eventTypeFilters": [
"<string>"
],
"description": "<string>",
"resourceScopes": {
"vaultIds": [
"<string>"
],
"matterIds": [
"<string>"
]
}
}
'API key starting with sk_case_
HTTPS callback URL that will receive event deliveries
Glob patterns of event types to deliver (e.g. "vault.", "ocr.job.completed", "")
Human-readable label for this endpoint
Optional per-resource allowlists. If vaultIds is set, only events for those vaults are delivered. Same for matterIds.
Show child attributes
Webhook endpoint created successfully
Was this page helpful?
curl --request POST \
--url https://api.case.dev/webhooks/v1/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"eventTypeFilters": [
"<string>"
],
"description": "<string>",
"resourceScopes": {
"vaultIds": [
"<string>"
],
"matterIds": [
"<string>"
]
}
}
'