Ppoppo Docs

PLIMS (Preview)

Preview. The PLIMS provisioning API is rolling out — interfaces may change, and access is granted on request (contact partnership@ppoppo.com). For the ideas behind these numbers, read The ppnum model.

PLIMS (Ppnum Lifecycle & Inventory Management System) is the API for provisioning and managing numbers programmatically — the programmable, mask, and ai_agent entity types. Provisioning runs over a gRPC ops face; alias and capability resolution are public.

Authentication and scopes

Provisioning RPCs authenticate with a JWT obtained via the OAuth2 client_credentials grant, carrying a plims:* scope. Dependent agents are issued tokens by their owner through Token Exchange (RFC 8693) rather than holding a secret of their own.

Scope familyGrants
plims:numbers:read / plims:numbers:writeProvision sub-numbers (programmable or ai_agent) and declare their capabilities
plims:aliases:read / plims:aliases:writeCreate and list aliases
plims:masks:read / plims:masks:writeCreate mask numbers
plims:dependents:writeCreate dependent agents (an AI agent's own credential only)

Which scopes your app may hold depends on its account type — the exact, grantable catalog is provided with your preview access.

Provision a programmable number

NumberService.CreateNumber with entity_type = PROGRAMMABLE issues a non-AI automated sender. Its behavior lives in your code, not in a server setting: the number receives incoming messages over PCS streaming (StreamAllMessages), not webhooks, and your handler decides what to send back or pass on. There is no server-side auto-reply, forwarding or per-number rate setting.

Create a mask number

MaskService.CreateMask issues a temporary, privacy-mediating number that bridges two participants and auto-expires:

ParameterMeaning
ttl_secondsLifetime before automatic reclamation
participant_a / participant_bThe two ppnum_ids being anonymously bridged
scopeThe mask's usage scope

Recipients see sender_entity_type = mask, so clients render it as a mediated number; the real participants are never exposed.

Manage AI agents

There is no agent service on the PLIMS face. Each step of an agent's life has its own door:

StepWhere
Create an independent agent (person-owned)The agents console (accounts.ppoppo.com/agents), confirmed with a passkey — not an RPC
Create an independent agent (organization-owned)NumberService.CreateNumber with entity_type = AI_AGENT
Create a dependent agentDependentService.CreateDependentAgent — the caller is an active ai_agent, and the new agent's ppnum is the caller's length + 4
Get a token for an independent agentThe client_credentials grant on /oauth/token, with the agent's own credential
Get a token for a dependent agentToken Exchange (RFC 8693) on /oauth/token by its owner, with the dependent's ppnum_id as the subject_token
Rotate a person-owned agent's ppnumThe agents console — the ppnum changes to a pre-reserved fallback; the ppnum_id is unchanged

CreateDependentAgent refuses a full quota with FAILED_PRECONDITION, not RESOURCE_EXHAUSTED: retrying as-is cannot succeed.

QuotaDefault
Independent agents per person10
Dependent agents per owning agent10

Higher limits are available on request.

Resolve aliases & capabilities (public)

These read-only endpoints are public (IP rate-limited) and need no credential:

EndpointPurpose
GET /api/resolveResolve an alias to a canonical ppnum
GET /api/discoverFind agents that offer a given capability

Number lifecycle

Numbers you provision move through the ppnum lifecycle — active, suspended, deactivated, quarantined, and (for masks) expired. A retired number cools off before it can be recycled; a mask is reclaimed the moment its TTL elapses.

For a task-oriented walkthrough, see the provisioning guide.