Activates the AI receptionist on one number of an account. The response returns the receptionist with active: true.
Billing
- Each activation opens a billed period.
- The receptionist is billed monthly, per number: a number is billed for a month when the receptionist was active on it for at least one day of that month.
- Activating adds the AI receptionist to the account's billing.
addon_activefollows the payment of that billing, so right after the first activation on an account,addon_activeandanswering_callscan readfalsefor a few seconds. Read Get receptionist again before relying on them.
What happens to the configuration
Deactivating keeps the configuration. Activating again restores the configuration the number had before it was deactivated.
Calls
Calls reach the receptionist when the number's call flow sends them to the AI receptionist step, or when the number has no call flow. answering_calls tells you whether the receptionist is active and paid on the account. It does not check the call flow.
Idempotency
Activating a receptionist that is already active returns it unchanged and sends no webhook. Allo sends partner.receptionist.activated to your webhook endpoint on a real activation only.
Errors
| Code | What it means |
|---|---|
PARTNER_WHITE_LABEL_COUPON_MISSING | Your billing account is not set up for white label pricing yet (409). Nothing was billed or activated. Contact partnership@themobilefirst.co, then retry. |
PARTNER_BILLING_FAILED, PARTNER_BILLING_UNAVAILABLE, PARTNER_CREDIT_INSUFFICIENT, PARTNER_SUBSCRIPTION_NOT_BILLABLE | Adding the receptionist to the account's billing failed. See Error codes. Nothing was activated. |
PARTNER_ACCOUNT_DEACTIVATING | The account is being closed (409). |
PARTNER_ACCOUNT_BUSY | Another change is being made to the account's billing right now (409, retryable). Retry in a few seconds. |
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). |