The API

One endpoint to send events, one to read counts. Keys come from the dashboard; each key posts into one group.

Keys and groups

A key belongs to one group or to all of the account's groups; the dashboard's API keys tab chooses. A type lives inside a group, so the same name in two groups is two types.

Send an event

POST https://geteventbar.com/api/v1/event/{type}
Authorization: Bearer eb_live_…
Content-Type: application/json

{"uid": "u_8d2", "platform": "ios", "time": "2026-10-10T17:02:11Z"}

Answers

StatusBodyMeaning
202{"ok":true,"id":"01J…","defined":true}Counted and delivered. duplicate: true when the idempotency key matched.
202{"ok":true,"delivered":false,"reason":"plan"}The group or type is paused by the plan (after a downgrade). Nothing counted.
400{"error":"type"}The type name is not allowed.
401{"error":"unauthorized"}Unknown or revoked key.
413{"error":"too_large"}Body over 16 KB.
429{"error":"rate"}More than 60 requests a minute on this key. Retry after a moment.
429{"error":"quota","resetsAt":"…"}The month's events are used up. Counting resumes on the first.
503{"error":"unavailable"}Our side. Retry with backoff.

Read counts

GET https://geteventbar.com/api/v1/stats
Authorization: Bearer eb_live_…

Returns the group the key belongs to and every type in it with hour, day, week, month and all counts, plus the month's usage. Hour and day are to the minute; week and month are UTC days including today. Signed-in apps call the same endpoint with their device token and see the whole account.

{
  "plan": "plus",
  "groups": [{"id": "01J…", "name": "EulerPad", "paused": false}],
  "types": [{"group": "01J…", "groupName": "EulerPad", "type": "new_user", "defined": true, "label": "New user",
             "paused": false, "hour": 3, "day": 41, "week": 212, "month": 890, "all": 4120,
             "firstAt": 1759000000000, "lastAt": 1760100000000}],
  "usage": {"month": "202610", "events": 1320, "limit": 5000, "resetsAt": "2026-11-01T00:00:00.000Z"}
}

Webhook URLs

For services you don't control, which can post JSON to a URL but can't set a header. Create one in the dashboard's Webhooks tab and paste it into the other service:

https://geteventbar.com/in/<24 random characters>

The URL is the credential; rotate it from the dashboard if it leaks. Deliveries land in the hook's group, one EventBar type per provider event type, so each gets its own switch, count and template. Templates reach nested payloads with dotted paths: {data.object.amount_total}, {data.customer.email}, {items.0.name}.

PresetType comes fromDuplicate deliveriesSignature
Polartype (order.paid, subscription.active…)webhook-id headerStandard Webhooks, with the endpoint secret
Stripetype (checkout.session.completed…)idStripe-Signature, with the signing secret, 5-minute tolerance
GitHubX-GitHub-Event plus action (pull_request.opened, push)X-GitHub-DeliveryX-Hub-Signature-256, with the webhook secret
Standard Webhooks (Resend, Clerk, Svix)type (email.delivered, user.created…)webhook-id or svix-id headerStandard Webhooks, with the endpoint secret; webhook-* or svix-* headers
Paddleevent_type (transaction.completed…)event_idPaddle-Signature (ts and h1), 5-minute tolerance
Lemon Squeezymeta.event_nameevent name plus data.idX-Signature HMAC-SHA256
ShopifyX-Shopify-Topic header, orders/create → orders.createX-Shopify-Webhook-IdX-Shopify-Hmac-Sha256
GitLabobject_kind plus object_attributes.action (merge_request.open)X-Gitlab-Event-UUIDX-Gitlab-Token equals the secret
Bitbucket CloudX-Event-Key header, pullrequest:created → pullrequest.createdX-Request-UUIDX-Hub-Signature (sha256= HMAC-SHA256), with the webhook secret
Lineartype plus action (issue.create)Linear-DeliveryLinear-Signature HMAC-SHA256, 60-second timestamp window
SentrySentry-Hook-Resource plus action (issue.created)Request-IDSentry-Hook-Signature HMAC-SHA256 with the client secret
Verceltype (deployment.succeeded…)idx-vercel-signature HMAC-SHA1
Typeformevent_type (form_response)event_idTypeform-Signature (sha256= base64 HMAC-SHA256), with the webhook secret
Squaretype (payment.created…)event_idx-square-hmacsha256-signature (base64 HMAC-SHA256 of the hook URL followed by the body), with the subscription's signature key
Intercomtopic (conversation.user.created…)id (notif_…)X-Hub-Signature (sha1= hex HMAC-SHA1 of the body), with the app's client secret
Zendesktype without the zen:event-type: prefix (ticket.created…)id for Zendesk events, else X-Zendesk-Webhook-Invocation-IdX-Zendesk-Webhook-Signature (base64 HMAC-SHA256 of X-Zendesk-Webhook-Signature-Timestamp followed by the body), with the webhook's signing secret
PagerDutyevent.event_type (incident.triggered…)X-Webhook-Id, else event.idX-PagerDuty-Signature (v1= hex HMAC-SHA256 of the body, comma separated during a secret rotation), with the webhook's signing secret
Muxtype (video.asset.ready…)idMux-Signature (t= timestamp and v1= hex HMAC-SHA256 of the timestamp, a . and the body), with the webhook's signing secret; a timestamp more than five minutes off is refused
Slackevent.type (app_mention, team_join…), with . and event.subtype added when there is one (message.bot_message); type for app_rate_limitedevent_idX-Slack-Signature (v0= hex HMAC-SHA256 of v0:, the X-Slack-Request-Timestamp value, a : and the body), with the app's signing secret; a timestamp more than five minutes off is refused. The signed url_verification challenge is answered with {"challenge": …} and not counted
Razorpayevent (payment.captured, order.paid…)X-Razorpay-Event-IdX-Razorpay-Signature (hex HMAC-SHA256 of the body), with the secret entered when the webhook was set up
Gumroadresource_name (sale, refund, cancellation…), sale when absent; a test (test=true) adds .testresource_name and sale_id; for subscription events, with cancelled_at or ended_at; tests neverX-Gumroad-Signature (t= timestamp and v1= hex HMAC-SHA256 of the timestamp, a . and the body), with the Ping signing secret; a timestamp more than five minutes off is refused. license_key, card and retry_count are not kept
Generic JSONthe field you name (a dotted path), else the hook's default typeIdempotency-Key header or an id fieldnone; the URL is the secret

Type names are lower-cased and anything outside a-z 0-9 _ . - becomes _. Bodies up to 256 KB are accepted; the rendered title, body and link plus 2 KB of fields are kept. A form-encoded body (application/x-www-form-urlencoded) is read as fields, with card[type] nesting as card.type; any other non-JSON body becomes a message. A GET answers {"ok":true,"ready":true} for services that probe first.

Answers. A processed delivery is always 200, with ok: false and a reason (quota, too_large, reason: "plan") when it was not counted, because providers retry anything else for days. An unknown URL is 404; a delivery that fails the signature check is 401. The per-URL rate limit is 60 a minute.

Plans. Free includes one generic webhook URL. Plus has 10 and Pro 100, with every provider preset and signature verification. A preset hook with no secret saved is accepted unverified, so you can create the URL first and add the secret once the provider shows it.

Read recent events

GET https://geteventbar.com/api/v1/recent?limit=50
Authorization: Bearer eb_live_…

The events the relay still holds for offline devices, newest first, with the rendered title and body, the stored fields, the link, icon and time. Free plans buffer nothing, so the list is empty there; Plus holds 250 events for 10 days, Pro 1,000 for 30. A key sees its group; a signed-in app sees the account.

Examples

Python

import requests
requests.post("https://geteventbar.com/api/v1/event/new_user",
    headers={"Authorization": f"Bearer {EVENTBAR_KEY}"},
    json={"uid": user.id, "platform": "ios"}, timeout=5)

Node

await fetch("https://geteventbar.com/api/v1/event/order.paid", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.EVENTBAR_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ id: order.id, amount: order.total, message: `${order.total} from ${order.country}` }),
});

Shell, from a cron job

curl -sS -X POST https://geteventbar.com/api/v1/event/backup_done \
  -H "Authorization: Bearer $EVENTBAR_KEY" -d "message=$(du -sh /backups | cut -f1) backed up"

Fire and forget: a failed post should never break your app. Use a short timeout and ignore errors.

Limits

FreePlusPro
Event types (defined)325250
Events a month1005,000100,000
Groups120100
Offline buffer per devicenone10 days / 25030 days / 1,000
Devices2510
API keys11050
Webhook URLs1 (generic)10100

Every key: 60 requests a minute, 16 KB a body. Months are calendar months in UTC.