Inboxes
Get an inbox
No auth requiredIncludes `event_count` — the number of pending (non-expired) events.
GET
/api/inboxes/{id}Parameters
Path
idstringrequiredThe inbox ID (`inbox_…`).Responses
200The inbox.
idstringUnique identifier for the inbox, prefixed with `inbox_`.Example: "inbox_xxxxxxxxxxxxxxxxxxxxxxxx"object"inbox"organization_idstring | nullOwning organization ID, or null if the resource is public (created without an API key).namestringdescriptionstring | nullingest_urlstringPublic ingest URL (…/api/inboxes/{id}/events). Anyone with the ID can POST events here — no authentication required.default_ttl_secondsintegerDefault event TTL in seconds, used when an ingested event doesn't specify its own. Defaults to 86400 (1 day); range 60–2592000 (30 days).max_eventsintegerMaximum number of pending (non-expired) events retained. Defaults to 1000.event_countintegerNumber of pending (non-expired) events. Present on single-resource reads.created_atinteger | nullWhen the inbox was created. Unix timestamp in seconds.updated_atinteger | nullWhen the inbox was last updated. Unix timestamp in seconds.401No valid API key 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.403The caller is authenticated but lacks access to the resource.
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.404The resource does not exist or is not visible to the caller.
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/inboxes/{id}