Webhooks
List webhook endpoints
No auth requiredGET
/api/webhooksParameters
Query
limitintegerNumber of results to return (1–100).afterstringCursor for pagination — the ID of the last item from the previous page.external_idstringOnly return items whose `external_id` exactly equals this value.Responses
200A list of webhook endpoints.
object"list"dataWebhookEndpoint[]idstringUnique identifier for the webhook endpoint, prefixed with `wh_`.Example: "wh_xxxxxxxxxxxxxxxxxxxxxxxx"object"webhook_endpoint"organization_idstring | nullOwning organization ID, or null if the resource is public (created without an API key).namestringdescriptionstring | nullurlstringPublic capture URL (…/api/catch/{id}) that records requests.max_eventsintegerMaximum number of events retained. Defaults to 100.event_countintegerNumber of captured events. Present on single-resource reads.external_idstring | nullCaller-supplied identifier (your own name, key, or ID for this resource). Free-form, not required to be unique. Filter with ?external_id= on the list endpoint. Null when not set.created_atinteger | nullWhen the endpoint was created. Unix timestamp in seconds.updated_atinteger | nullWhen the endpoint was last updated. Unix timestamp in seconds.has_morebooleannext_cursorstring | nullID to pass as ?after= for the next page, or null.total_countinteger401No valid credential was provided.
errorobjecttype"invalid_request_error" | "authentication_error" | "authorization_error" | "not_found_error" | "rate_limit_error" | "api_error"codestringMachine-readable error code.messagestringHuman-readable error message.paramstring | nullThe offending parameter, when applicable.Example request
curl
curl https://agtls.dev/api/webhooks