agenttools
Webhooks

List webhook endpoints

No auth required
GET/api/webhooks

Parameters

Query
limitinteger
Number of results to return (1–100).
afterstring
Cursor for pagination — the ID of the last item from the previous page.

Responses

200A list of webhook endpoints.
object"list"
dataWebhookEndpoint[]
idstring
Unique identifier for the webhook endpoint, prefixed with `wh_`.Example: "wh_xxxxxxxxxxxxxxxxxxxxxxxx"
object"webhook_endpoint"
organization_idstring | null
Owning organization ID, or null if the resource is public (created without an API key).
namestring
descriptionstring | null
urlstring
Public capture URL (…/api/catch/{id}) that records requests.
max_eventsinteger
Maximum number of events retained. Defaults to 100.
event_countinteger
Number of captured events. Present on single-resource reads.
created_atinteger | null
When the endpoint was created. Unix timestamp in seconds.
updated_atinteger | null
When the endpoint was last updated. Unix timestamp in seconds.
has_moreboolean
next_cursorstring | null
ID to pass as ?after= for the next page, or null.
total_countinteger
401No valid API key was provided.
errorobject
type"invalid_request_error" | "authentication_error" | "authorization_error" | "not_found_error" | "rate_limit_error" | "api_error"
codestring
Machine-readable error code.
messagestring
Human-readable error message.
paramstring | null
The offending parameter, when applicable.

Example request

curl
curl https://agtls.dev/api/webhooks