InboboDocsMenu

Get started

Authentication

Every request carries a bearer token that identifies your application and the channels it may use.

Bearer token

Send your consumer token in the Authorization header on every request.

Header
Authorization: Bearer tpt_...

A request with a missing, unknown, rotated or revoked token returns 401 UNAUTHORIZED.

Consumers and channels

A token belongs to one consumer. A consumer belongs to one Inbobo account and can use only the channels an admin bound to it. Sending on any other channel returns 403 CHANNEL_NOT_FOUND, even if the channel exists in the account.

Use a separate consumer for each application so you can rotate or revoke one without affecting the others.

Rotating and revoking

  • Rotate issues a new token and invalidates the old one immediately. Update your application before or straight after rotating.
  • Revoke stops the token and the consumer's callbacks immediately.

Request IDs

Send an optional X-Request-Id header to trace a request. It is echoed back in the response headers and in the request_id field. When you omit it, one is generated.