BillOS v1
Console llms.txt OpenAPI
GET/events/{id}

Read one event and its deliveries

GET /events/{id}

Requires the businesses scope.

Path parameters

NameTypeDescription
idstringrequiredEvent id.

Response

200: { "ok": true, … }

FieldTypeDescription
okbooleanrequired
eventEventrequiredOne thing that happened under your key, recorded whether or not a webhook was subscribed. The webhook envelope data is this row's data.

Errors: 400, 401, 403, 404, 429. Every failure answers { "error", "reason", "hint", "param", "doc_url", "retryable", "request_id" }: branch on reason, and read hint for what to change (https://docs.billos.co.il/errors.md).

GET /events/{id}
curl -X GET "$BASE/events/$DOC_ID" \
  -H "X-Api-Key: $KEY"
const res = await fetch(`${BASE}/events/${DOC_ID}`, {
  method: 'GET',
  headers: {
    'X-Api-Key': KEY,
  },
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
import requests
res = requests.get(
    f"{BASE}/events/{DOC_ID}",
    headers={"X-Api-Key": KEY},
)
data = res.json()
Set BASE to https://api.billos.co.il/v1 and KEY to your bk_live_… key, or a bk_test_… key to run it against the sandbox.
Manage your businesses, keys and webhooks in the BillOS Console.