Provision and bill Clients
A Desk provisions Client accounts into their own book, manages the members of those accounts, and exports a connected-minutes statement for any billable Client or Desk.
A Client account owns its agents, processes, calls, and balance. Its members are the people who sign in to it. All members are equal and share one view. Each person signs in with their own email and has one API key. One person can be a member of several accounts; the same key then works in each of them, and each request names the account it acts as.
Provision a Client
Provisioning creates the Client account with default Ping access, a prepaid account with zero opening balance and zero overdraft, the requested Widget concurrency, and the fixed Preview phone. It grants no resources, creates no members, and sends no email. A Client works without members; add them later with dino account members add or in the app. It never returns an API key.
Confirm first: the account name, the fixed Preview phone, and Widget concurrency. Write the Preview phone in full, with + and the country code. The phone and the Preview DIDs can be in any country.
Use the `dino-ping` skill to provision a Client in my book.
Client account: <name>.
Preview phone <+full-number>, concurrency <n>.
Show the full account policy (prepaid, zero overdraft). Wait for my approval and
provision once. Then grant the Client one DID, partner credential, and Vox server
from my pool, one approved grant each.The reply holds account (with the Client account ID) and initialVadProfileId.
Each grant is a separate call. A Client is known by its name in your book. An exact retry with the same inputs may finish interrupted provisioning; the same name with changed inputs fails instead of mutating the existing Client. Do not place a preview call as part of provisioning.
Find a Client account ID
Commands that act for a Client take --client-id. List the Client accounts in your book with their IDs and names:
dino account clientsManage members
Every member of an account can list its members. Leave out --account-id to list your own account; only your own key ending shows there. List the members of a Client account:
dino account members list --account-id <client-account-id>Only the Client's Desk and an Admin add and remove members. A Client cannot.
Add a member from a JSON file {"accountId", "email", "name"}. A new person gets a password-setup email; Google sign-in works at once. An email that already belongs to a person adds that person to this account too: no setup email, and the reply says "passwordSetupEmail": "not_needed":
dino account members add --input <absolute-member.json> \
--confirm-mutation account.members.addRemove a member from a JSON file {"accountId", "personId"}. Take the personId from the member list. This account stops for them at once; their key keeps working in their other accounts. Their last removal turns off their sign-in and revokes their key. Dinodial keeps the record:
dino account members remove --input <absolute-removal.json> \
--confirm-mutation account.members.remove- To add a removed member back, add their email again. IAM creates a new membership row with no setup email; a revoked key stays revoked, so they make a new key.
- Adding a person who is already a member of this account returns 409
member_exists. An existing person may join accounts of the same role. Clients must share a Desk. A role or Desk conflict returns 409 with an empty body. - When a person leaves their last account, their sign-in and sessions stop and their API key is revoked. Dinodial keeps the person and ended membership in history.
- A Client can have no members. IAM returns 409 with an empty body when a request would remove the last live Admin member or deactivate an Admin account.
- The account and everything it owns stay when a member leaves.
Export a billing statement
dino account billing-statement \
--from <YYYY-MM-DD> --to <YYYY-MM-DD> \
--output <absolute-statement.csv> --confirm-mutation account.billingStatementThe statement reports connected minutes over the bounded date range. Add --overwrite only to replace that exact output file. It is not a pricing-administration surface.
Gotchas
- Provisioning and member adds never create or return an API key. Each member sets their own password by email and makes their own key.
- Do not add pricing, credit, or capacity-policy arguments here. Hand the returned Client account ID to Ops for non-default policy.
- A grant gives the Client one of your resources. The Client's Preview calls and Experiences use only its pool.
Next
Use Test your agent for the two-actor Client preview call after a member sets a password.