Account
Team Members
Invite people to your account and manage their roles.
Team members get their own dashboard login on your account. They share the account's numbers, wallet, and resources, so this is for your colleagues, not for keeping separate customers apart.
{tenant_id} in these paths can be your tenant ID or your account's Auth ID.
Roles
| Role | Access |
|---|---|
owner | Full access. Each account has one owner, and this role can't be assigned through an invitation |
admin | Manages the account, including billing and API keys |
editor | Uses product features, but can't manage billing, KYC, or API keys |
viewer | Read-only. Any write request returns 403 FORBIDDEN |
Invite a member
POST
https://api.tryvox.io/v1/tenants/{tenant_id}/team/invitations| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Address to invite |
role | string | Yes | admin, editor, or viewer |
curl -X POST https://api.tryvox.io/v1/tenants/$TRYVOX_AUTH_ID/team/invitations \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com", "role": "editor"}'An invitation expires after 72 hours.
| Method | Path | Purpose |
|---|---|---|
GET | /v1/tenants/{tenant_id}/team/invitations | List invitations |
POST | /v1/tenants/{tenant_id}/team/invitations/{invitation_id}/resend | Send it again |
DELETE | /v1/tenants/{tenant_id}/team/invitations/{invitation_id} | Revoke it |
Manage members
| Method | Path | Purpose |
|---|---|---|
GET | /v1/tenants/{tenant_id}/team/members | List members. Add ?include_all=true to include removed members |
GET | /v1/tenants/{tenant_id}/team/members/{member_id} | Get one member |
PUT | /v1/tenants/{tenant_id}/team/members/{member_id}/role | Change a role. Body: {"role": "viewer"} |
POST | /v1/tenants/{tenant_id}/team/members/{member_id}/suspend | Suspend access |
POST | /v1/tenants/{tenant_id}/team/members/{member_id}/reinstate | Restore access |
DELETE | /v1/tenants/{tenant_id}/team/members/{member_id} | Remove a member |
Only owners and admins can change roles or remove members. An admin can't change a member with an equal or higher role, and the owner can't be removed.