Skip to main content
GET
Numery agenta

Autoryzacje

X-API-Key
string
header
wymagane

Klucz API organizacji (konto w lewym dolnym rogu panelu → Brosbots API).

Nagłówki

authorization
string | null
X-API-Key
string | null

Parametry ścieżki

agent_id
wymagane

ID agenta: publiczny identyfikator agent_ + 20 znaków (pokazywany w panelu, zalecany) albo dotychczasowy numer. Oba wskazują tego samego agenta.

Pattern: ^agent_[A-Za-z0-9]{20}$
Przykład:

"agent_7fK2mQ9xLp3RtV8wYb1N"

Odpowiedź

Pomyślna odpowiedź

id
integer
wymagane
phone_number
string
wymagane
provider
string
wymagane
status
string
wymagane
country_code
string | null
capabilities
string[]
friendly_name
string | null
organization_id
integer | null
workflow_id
integer | null
workflow_name
string | null
outbound_workflows
OutboundAgent · object[]
monthly_cost_usd
number | null
monthly_cost_pln
number | null
provider_number_id
string | null
purchased_at
string<date-time> | null
assigned_at
string<date-time> | null
created_at
string<date-time> | null
order_id
integer | null
order_status
string | null
order_status_reason
string | null
outbound_commitment_until
string<date-time> | null