Returns the state of the AI receptionist on one number of an account you created, with its configuration. {id} is the account id, and {number} is one of the account's numbers, in E.164 format, for example +33745805111.
| Field | What it means |
|---|---|
account_id | The account's id. |
phone_number | The number, in E.164 format. |
addon_active | true when the AI receptionist is paid on the account. It follows the payment of the account's billing, so it can read false for a few seconds after the first activation on the account. |
active | true when the receptionist is activated on this number. |
activated_at | Start of the current activation, in UTC. null when the receptionist is not activated. |
answering_calls | true when addon_active and active are both true. Calls then reach the receptionist when the number's call flow sends them to the AI receptionist step, or when the number has no call flow. |
configuration | The receptionist's configuration: the same object Get configuration returns (agent, prompt, capabilities, business_hours, transfer_rules, scheduling and knowledge). |
You can only read the receptionist of accounts your own API key created. Any other account id fails with PARTNER_ACCOUNT_NOT_FOUND.
Errors
| Code | What it means |
|---|---|
PARTNER_ACCOUNT_NOT_FOUND | No account with this id was created by your API key, or the account is deactivated (404). |
PHONE_NUMBER_NOT_FOUND | The number is not on this account (404). |