Hierarchy
Organization
Organization
The root of billing and ownership. It holds the team members, the plan and the projects. People join an organization with a role (Owner, Admin, Billing, Developer or Viewer).
Project
Project
The isolation boundary. Every resource and every API key belongs to exactly one project, and nothing is read across projects. A project has an environment,
live or test (see Environments).Channel
Channel
A communication address configured inside a project, for example a WhatsApp number. Do not confuse it with the channel type: today the only type is
whatsapp. A channel is identified by chan_..., which is the channel field of send calls.Channels
A channel sends messages only when it isactive.
Sending through a channel that is not
active returns 422 with the channel_inactive code. State changes, including re-enabling a disabled channel, produce the channel.status_changed event. See the event fields.
Connection mode
A channel has a connection mode, which appears inconnection_mode on the channel.status_changed event:
You connect and manage channels in the dashboard. The API never returns provider credentials.
Identifiers
Every resource has an identifier made of a prefix followed by a 26-character ULID. ULIDs sort by time, are safe in URLs and are easy to spot in logs.Treat identifiers as opaque strings. Do not parse them or assume their length, only the prefix.
Isolation between projects
The API authenticates each key into exactly one project, and every query is filtered by it. A resource of another project responds404, never 403, so its existence does not leak.
Compatibility with new fields
Within versionv1, Routa only makes additive changes: new endpoints, new optional fields and new response fields. Ignore unknown fields in responses, and ignore event types you do not recognize. See Versioning.