Get Agents By Account
curl --request GET \
--url https://api.eqho.ai/v1/agents \
--header 'X-API-KEY: <api-key>' \
--header 'x-org-id: <api-key>'import requests
url = "https://api.eqho.ai/v1/agents"
headers = {
"X-API-KEY": "<api-key>",
"x-org-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>', 'x-org-id': '<api-key>'}};
fetch('https://api.eqho.ai/v1/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eqho.ai/v1/agents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("x-org-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"agents": [
{
"avatar": "WOMAN",
"description": "An agent that the sales team is testing.",
"greeting_type_inbound": "static",
"greeting_type_outbound": "ai",
"knowledge_base_ids": [
"65a9758171f55af646a19890"
],
"name": "Liz",
"personality": {
"adherence": 0.75,
"empathy": 0.5,
"humor": 0.25
},
"role_ids": [
"65a9758171f55af646a19890"
],
"script_id": "65a9758171f55af646a19890",
"structured_greetings": [
{
"call_type": "inbound",
"greeting_type": "static",
"text": "Hello! Welcome to our service. How can I assist you today?"
},
{
"call_type": "outbound",
"communication_tone": "friendly",
"greeting_length": "short",
"greeting_type": "ai",
"mention_ids": [
"673e488ce7d69488a458cf3e",
"973e488ce7d69488a458cf3e"
]
}
],
"voice_audio_id": "Y94lg6clSowTJ0jJOlyc"
}
]
}Agents
Get Agents
GET
/
v1
/
agents
Get Agents By Account
curl --request GET \
--url https://api.eqho.ai/v1/agents \
--header 'X-API-KEY: <api-key>' \
--header 'x-org-id: <api-key>'import requests
url = "https://api.eqho.ai/v1/agents"
headers = {
"X-API-KEY": "<api-key>",
"x-org-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>', 'x-org-id': '<api-key>'}};
fetch('https://api.eqho.ai/v1/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eqho.ai/v1/agents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("x-org-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"agents": [
{
"avatar": "WOMAN",
"description": "An agent that the sales team is testing.",
"greeting_type_inbound": "static",
"greeting_type_outbound": "ai",
"knowledge_base_ids": [
"65a9758171f55af646a19890"
],
"name": "Liz",
"personality": {
"adherence": 0.75,
"empathy": 0.5,
"humor": 0.25
},
"role_ids": [
"65a9758171f55af646a19890"
],
"script_id": "65a9758171f55af646a19890",
"structured_greetings": [
{
"call_type": "inbound",
"greeting_type": "static",
"text": "Hello! Welcome to our service. How can I assist you today?"
},
{
"call_type": "outbound",
"communication_tone": "friendly",
"greeting_length": "short",
"greeting_type": "ai",
"mention_ids": [
"673e488ce7d69488a458cf3e",
"973e488ce7d69488a458cf3e"
]
}
],
"voice_audio_id": "Y94lg6clSowTJ0jJOlyc"
}
]
}Authorizations
APIKeyHeader & OrgImpersonationOAuth2PasswordBearer & OrgImpersonation
Your API key for authentication.
Org impersonation via x-org-id. Superadmins may impersonate any org; admins may impersonate their direct sub-organizations. Enter the target organization ID to act as that org.
Response
200 - application/json
Successful Response
Show child attributes
Show child attributes
Was this page helpful?