Import extensions in bulk

Creates up to 200 extensions on your account in one request.

Send mode as validate first. It checks every row and reports conflicts and available licensed seats without writing anything.

Send mode as commit to create the rows that are ready. If there are not enough licensed seats for all of them, the request returns 403 and creates nothing. Otherwise each row is created on its own, so one failed row does not stop the others and the request returns 200 with a result for each row.

Every new extension gets toll_allow set to domestic, user_record set to all, a 30-second ring timeout, a mailbox and your account's outbound caller ID.

Requires an API key with the Admin role.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

validate checks every row and reports conflicts and available licensed seats without writing anything. commit creates the rows that are ready.

string
required

1 to 200 rows, each an object with extension, firstName, lastName, voicemailEmail, missedCallEmail and an optional sheetRow number that is returned with the row's result.

extension must be digits and unique in the request. firstName is required. A missing lastName is a warning. Invalid email addresses are errors. Numbers already used by an extension or shared mailbox are marked skip_exists.

Responses
200

With validate: rows, summary (counts of ready, skipped and invalid rows), licensing and the outbound caller ID the new extensions will use.

With commit: results for each row, plus created and failed counts. A result with voicemailFailed: true means the extension was created without a mailbox.

401

Missing or invalid API key.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json