Get account details

Retrieve details for the authenticated account

OpenAPI

````yaml get /api/v2/account
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/account:
get:
tags:
- Accounts
summary: Get account details
description: Retrieve details for the authenticated account
parameters:
- name: targetAccountId
in: query
description: Target account ID when acting on behalf of another account
required: false
example: 123
schema:
type: number
responses:
'200':
description: Account details
content:
application/json:
schema:
type: object
properties:
id:
type: number
example: 123
username:
type: string
example: user@example.com
details:
type: object
'401':
description: Unauthorized
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token

````