Invite people to work in your account as Admin, Editor or Viewer (no seat fee, at most 25 people and open invites). A member signs in with their own account and sends X-Acting-Account: <your account id> with every console request; the server checks the membership and the role on each one. A team account's activity (every change, and every download of conversation content or money documents) is kept 365 days. Console door only, on our own host.
Every example below runs as written once these are exported:
bash
export DVAARIK_TOKEN="<account access token>"# console session, from POST /console/auth/login
export INVITE_ID="<uuid>"
export MEMBER_ID="<uuid>"
export USER_ID="<uuid>"
A <value> inside a JSON body is a value you supply. Responses are JSON; every error body is { "detail": … }. Each schema is expanded once per page, where it first appears.
Who a team invite link is for (the account, who invited, the address, the role, until when), before signing in. No session needed; any bad or used link answers one sentence.
The team of the account the request works in: its owner, members with their roles, invites not yet accepted or revoked, and the seats used (members plus open invites).
One request field that failed validation, NAMED (routes on core.field_errors.FieldErrorRoute).
Field
Type
Required
Notes
field
string or null
yes
The field, as a path into the request: checks[2].text, max_turns, test_ids[0], run_id. Null when the error is about the request body as a whole (it is missing or is not JSON).
loc
string or integer[]
yes
FastAPI's location: where the value came from (body, query or path), then the path into it as the validator reported it.
message
string
yes
What is wrong with the field, without its name.
msg
string
yes
One sentence naming the field and what is wrong with it, e.g. checks[2].text: text is required. The same as message when field is null.
type
string
yes
The validator's error type: missing, value_error, extra_forbidden, ...
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/team" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
Send this as X-Acting-Account to work in the account.
company
string or null
yes
email
string
yes
name
string
yes
role
string
yes
owner (your own account), admin, editor or viewer.
since
date-time or null
yes
When you joined (null for your own account).
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/team/accounts" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
The account's activity, newest first: who (with their role then), what, where, the outcome and the address it came from; never what was typed or downloaded. Page with before = the last page's next_before.
owner, admin, editor or viewer, as it was when they acted.
user_id
uuid
yes
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/team/audit?limit=20" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
What each person made in this account that still works: API keys apart from everything else, exact counts and the newest 50 items. Members first, then people no longer in the team. Made before this was recorded: not listed.
Their address (as it was when they made the newest item, once they left).
items
CredentialItem[]
yes
Newest first, at most 50; the counts are exact.
member_role
string or null
yes
admin, editor or viewer while still in the team; null once they left.
other
integer
yes
Their other credentials still active: website call button keys, webhook endpoints, agents that send data out, AI accounts, carriers, chat channels, Resell domains, mail and payment accounts.
A line about it, never a secret: a key's prefix and scopes, an endpoint's host, a provider.
id
uuid
yes
kind
"api_key" or "publishable_key" or "webhook_endpoint" or "agent" or "provider_account" or "carrier" or "chat_channel" or "reseller_domain" or "reseller_mail" or "reseller_payment" or "api_credential"
yes
name
string
yes
project_id
uuid or null
yes
Its project; null for account-wide Resell items.
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/team/credentials" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
Invite someone by email as admin, editor or viewer. The mail goes from us with a one-time link valid for 7 days that opens only for an account with that address. Shares a budget of 20 an hour and 50 a day per account with Resend.
The person's address. The invite opens only for an account with it.
role
"admin" or "editor" or "viewer"
yes
admin (connects outside accounts, holds keys, money, privacy, the team and Resell), editor (builds and runs agents, tests, knowledge, call lists, chats, webhooks, alerts) or viewer (reads; never changes or spends).
False when the mail could not be sent: the invite stays; press Resend.
problem
string or null
yes
Why the mail did not go, in words; null when it went.
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/team/invites/$INVITE_ID/resend" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
default 0; API keys this person made that still work.
inbound_links_to_change
integer
no
default 0; How many numbers still use an inbound link someone who has lost access could see. Change each one and paste the new link into the carrier.
member_id
uuid
yes
not_listed_note
string
yes
Credentials made before who made them was recorded are not counted: where to check them.
note
string
yes
What to do next: keys and secrets they saw belong to the account.
other_credentials_active
integer
no
default 0; Their other credentials still active (see the Team page).
removed
boolean
yes
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
admin (connects outside accounts, holds keys, money, privacy, the team and Resell), editor (builds and runs agents, tests, knowledge, call lists, chats, webhooks, alerts) or viewer (reads; never changes or spends).
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
invite_not_found or member_not_found: not of this team.
409
A refusal with its code: switched_off, invite_self, already_member, invite_exists, team_full, invite_closed, send_limit, invite_wrong_account, teams_full, owner_unavailable.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
POST /console/v2/team/people/{user_id}/revoke-api-keys#
Revoke every API key this person made in this account that still works: new requests with them are refused at once; calls and sessions already started finish. Nothing else they made is touched (each needs replacing where it was typed). Pressing it again revokes nothing more. The account owner's own keys are revoked one at a time on Projects and keys.
API keys this person made that still work after it.
other
integer
yes
Their other credentials still active (never touched by this).
revoked
integer
yes
API keys revoked by this request (0 when none still worked).
user_id
uuid
yes
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
409
A refusal with its code: switched_off, or owner_keys (the account owner's keys are revoked one at a time on Projects and keys).
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X POST "https://api.developers.dvaarik.com/console/v2/team/people/$USER_ID/revoke-api-keys" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
Your role in the account: owner, admin, editor or viewer.
you
TeamOwner
yes
You, the signed-in person.
Error
When
401
No account session was presented, or it is invalid or expired.
403
Not allowed: role_forbidden (your role in the account), not_a_member, team_unavailable, or the account is unavailable.
404
The project or the addressed resource does not exist for this owner. A resource owned by another developer is deliberately indistinguishable from one that never existed.
422
The request body or query is not valid. detail is an array of {loc, msg, type} and loc names the offending field.
Plus the account-door errors above. Full list on the errors page.
bash
curl -sS -X GET "https://api.developers.dvaarik.com/console/v2/team/session" \
-H "Authorization: Bearer $DVAARIK_TOKEN"
Try it without a key in the browser
The playground opens a real voice session with your account session, so a project key never reaches a browser. Machine calls belong on your own server.