Skip to content

API reference

Send notifications to your iPhone, iPad and Mac from anything that can make an HTTP request.

Authentication. Create a Source in the Pocketbell app and send its API key as a bearer token: Authorization: Bearer pb_live_…. A webhook Source needs no key; its URL is the secret.

Retries. Send an Idempotency-Key header, and a repeated request returns the first notification instead of sending another.

Errors. Every error has a machine-readable code. Plan limits answer 403 with pro_required; the month’s notifications used up answers 429 with monthly_limit_reached (a Critical notification still goes out: on Pro always, on Free for 100 more), and a Free account’s month of questions used up answers 429 with question_limit.

New here? Start with the docs: send a notification, Critical notifications, webhooks and Live Activities.

Information

  • OpenAPI version: 3.1.0

The Source’s API key, pb_live_…

Security scheme type: http

A signed-in app’s session token, pb_sess_…

Security scheme type: http