Skip to main content
POST
Create account
Required scope: PARTNER
Creates an Allo account for one of your customers and provisions a phone number for it. The response returns a scoped API key for the new account (shown only once) alongside the provisioned number(s) and status.
  • interval is required: MONTHLY or YEARLY. It sets the billing interval of the account’s subscription.
  • number_preference.country is required (ISO country code, e.g. FR); number_preference.prefix is optional (e.g. +337).
  • number_preference.esim is optional, false by default. Set it to true to get a French mobile number that can carry an eSIM, which you then order with Order eSIM. eSIM numbers are only available in France: with any country other than FR, the request fails with ESIM_NOT_AVAILABLE_IN_COUNTRY. prefix still applies, for example 7 or +337.
  • A phone number is secured before the account is created. If none can be assigned or purchased, the request fails with NO_NUMBER_AVAILABLE and nothing is created.
  • The account gets its own Business plan subscription, billed to your payment method with your partner discount applied. The full period is charged when the account is created. No charge is made to your customer. Call Get account price first to see the amount.
  • If your payment method is missing or declined, the request fails with PARTNER_BILLING_FAILED and nothing is created.
  • If the email or personal mobile already belongs to an Allo account, the request fails with PARTNER_ACCOUNT_ALREADY_EXISTS.
  • If your account is not an enabled partner, the request fails with PARTNER_ACCESS_REQUIRED. If your partner contract cannot create accounts, it fails with PARTNER_CONTRACT_CANNOT_PROVISION. Only Discounted licence (reseller) partners can create accounts.
The partner portal creates accounts the same way, without code.

Authorizations

Authorization
string
header
required

Body

application/json
email
string
required

Becomes the account's login.

name
string
required
Example:

"Jane Doe"

interval
enum<string>
required

Billing interval of the account's own subscription, billed to your payment method.

Available options:
MONTHLY,
YEARLY
Example:

"MONTHLY"

number_preference
object
required
personal_mobile
string | null

Optional. An existing mobile the new number can attach to.

Example:

"+33612345678"

partner_client_ref
string

Your own reference for this customer. Echoed back and on the activation webhook.

Example:

"crm-12345"

Response

Account created

data
object