Skip to content

List your webhook subscriptions

GET
/katara/v1/notification-webhooks
curl --request GET \
--url 'https://api.katara.com/katara/v1/notification-webhooks?org_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&environment_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--header 'Authorization: Bearer <token>'

Current owner/admin only. At most one non-revoked subscription per recipient and environment. Returns the latest 100 records.

org_id
required
string format: uuid
environment_id
required
string format: uuid
X-Katara-Account-ID
string format: uuid
/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/

Optional for reads after sign-in. Use the UUID of the account that loaded the application. A different current cookie account returns account_changed before the handler runs. Session bearer and API key clients do not require this header.

Current subscription state. Responses are never cached.

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
org_id
required
string format: uuid
environment_id
required
string format: uuid
reset_generation
required
integer
>= 1
mode
required
Allowed values: test live
destination
required
string format: uri
event_types
required
Array<string>
key_id
required
string format: uuid
state
required
Allowed values: pending verified active revoked
version
required
integer
>= 1
review_digest
required
string
/^sha256:[a-f0-9]{64}$/
created_at
required
string format: date-time
verified_at
string format: date-time
reviewed_at
string format: date-time
revoked_at
string format: date-time
Example
{
"data": [
{
"mode": "test",
"state": "pending"
}
]
}

Invalid request.

Current owner/admin recipient in a signed-in session required.

Subscription unavailable in the current scope.

Subscription changed or is in an incompatible state.