Account
Get account
The team the API key reads, with its phone lines, members, connected point-of-sale systems, enabled features, open task count, and today’s date in the team’s timezone. Customer API.
GET
/
account
Get account
curl --request GET \
--url https://answeringagent.com/api/v1/account \
--header 'X-API-KEY: <api-key>'import requests
url = "https://answeringagent.com/api/v1/account"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://answeringagent.com/api/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://answeringagent.com/api/v1/account",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://answeringagent.com/api/v1/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://answeringagent.com/api/v1/account")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://answeringagent.com/api/v1/account")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"team": {
"id": 410,
"name": "Westside Wash Co.",
"timezone": "America/Chicago",
"today": "2026-10-06"
},
"you": {
"id": 9021,
"name": "Sam Ortiz",
"role": "admin"
},
"phone_lines": [
{
"id": 2181,
"name": "Westside Wash",
"phone_number": "+15125550142"
}
],
"members": [
{
"id": 9034,
"name": "Priya Shah",
"role": "manager"
}
],
"point_of_sale_systems": [
"Sonny's"
],
"features": {
"web_chat": true,
"email": true,
"knowledge_base": true
},
"open_task_count": 123,
"dashboard": {}
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}{
"error": "This endpoint accepts GET.",
"code": "method_not_allowed"
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}Authorizations
Response
The account.
⌘I
Get account
curl --request GET \
--url https://answeringagent.com/api/v1/account \
--header 'X-API-KEY: <api-key>'import requests
url = "https://answeringagent.com/api/v1/account"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://answeringagent.com/api/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://answeringagent.com/api/v1/account",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://answeringagent.com/api/v1/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://answeringagent.com/api/v1/account")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://answeringagent.com/api/v1/account")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"team": {
"id": 410,
"name": "Westside Wash Co.",
"timezone": "America/Chicago",
"today": "2026-10-06"
},
"you": {
"id": 9021,
"name": "Sam Ortiz",
"role": "admin"
},
"phone_lines": [
{
"id": 2181,
"name": "Westside Wash",
"phone_number": "+15125550142"
}
],
"members": [
{
"id": 9034,
"name": "Priya Shah",
"role": "manager"
}
],
"point_of_sale_systems": [
"Sonny's"
],
"features": {
"web_chat": true,
"email": true,
"knowledge_base": true
},
"open_task_count": 123,
"dashboard": {}
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}{
"error": "This endpoint accepts GET.",
"code": "method_not_allowed"
}{
"error": "That conversation is not available.",
"code": "not_found",
"issues": [
{
"path": [
"<unknown>"
],
"message": "<string>"
}
]
}