Skip to content

Request a number port

POST
/ports
import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
const portingOrder = await mv.ports.create({
account_holder: {
company_id: "514000013",
name: "Acme Ltd",
},
account_number: "ACC-778899",
billing_address: {
city: "Tel Aviv",
line1: "12 Herzl St",
postal_code: "6100001",
},
current_carrier: "bezeq",
invoice_file_id: "file_8YhD1fK6pQr3VbNx2SmTa",
loa_file_id: "file_3NcP7sQ2wLm9TzXb4RkVu",
numbers: [
"+97235550100",
"0775556789",
],
requested_date: "2026-12-01",
});
console.log(portingOrder);

Files a request to move phone numbers you hold at another Israeli provider to this platform, and sends it. Upload the signed letter of authorization (LOA) and the latest invoice first (POST /v1/files, purpose port_document) and pass their ids. Checked: Israeli fixed-line, 07x or mobile numbers (at most 50), none already on the platform or in another open port, the holder’s ID or company number, both documents, and at most 20 ports in progress per organization. Our staff review it, send it to the carrier and confirm the date; follow it with GET /v1/ports/{id} or the number.port_updated event. Once completed the numbers are your phone numbers (number.port_completed per number) and their monthly fee starts. Needs a live key.

Try it in the API playground with a test-mode key.

MoreVoice-Version
string
/^\d{4}-\d{2}-\d{2}$/

The API version to use for this request. Defaults to the version the API key is pinned to.

Example
2026-11-01
Idempotency-Key
string
>= 1 characters <= 255 characters

A unique key (for example a UUID) that makes this request safe to retry: for 24 hours, a retry with the same key and parameters returns the first response instead of acting twice.

Example
5f0c1e8a-7b2d-4c3e-9f1a-2b6d8e4c0a17
Media typeapplication/json

A port request: the numbers, who holds them today, and the signed LOA and latest invoice (uploaded first).

object
account_holder
required

Who holds the account at the current provider: the name, and the ID or company number it is registered to.

object
company_id

A company’s registration number (ח.פ.). Send this or id_number.

string
>= 5 characters <= 32 characters
id_number

A person’s ID number (teudat zehut). Send this or company_id.

string
>= 5 characters <= 32 characters
name
required

The account holder’s name exactly as the current provider has it.

string
>= 2 characters <= 120 characters
account_number

The account or customer number at the current provider (helps the carrier match the request).

string
>= 1 characters <= 64 characters
billing_address

The account’s billing address at the current provider, as on the invoice.

object
city
required
string
>= 1 characters <= 100 characters
line1
required
string
>= 1 characters <= 200 characters
line2
string
<= 200 characters
postal_code
string
<= 12 characters
current_carrier
required

The provider the numbers are with today: one of bezeq, partner, cellcom, pelephone, hot, golan, 019, rami_levy, bezeq_international, xphone, voicenter, or its name.

string
>= 2 characters <= 120 characters
invoice_file_id
required

The latest invoice from the current provider (at most 30 days old): a file uploaded with POST /v1/files, purpose port_document.

string
<= 200 characters /^file_[0-9A-Za-z]+$/
loa_file_id
required

The signed letter of authorization (LOA): a file uploaded with POST /v1/files, purpose port_document.

string
<= 200 characters /^file_[0-9A-Za-z]+$/
numbers
required

The Israeli numbers to move, E.164 (+9723…) or national (03…): fixed-line, 07x VoIP or mobile, at most 50. Toll-free, shared-cost and premium (1-800, 1-700 …) and foreign numbers can’t be ported.

Array<string>
>= 1 items <= 50 items
requested_date

The date you would like the numbers to move (from today on). The carrier sets the real date.

string format: date
/^\d{4}-\d{2}-\d{2}$/
Example
{
"account_holder": {
"company_id": "514000013",
"name": "Acme Ltd"
},
"account_number": "ACC-778899",
"billing_address": {
"city": "Tel Aviv",
"line1": "12 Herzl St",
"postal_code": "6100001"
},
"current_carrier": "bezeq",
"invoice_file_id": "file_8YhD1fK6pQr3VbNx2SmTa",
"loa_file_id": "file_3NcP7sQ2wLm9TzXb4RkVu",
"numbers": [
"+97235550100",
"0775556789"
],
"requested_date": "2026-12-01"
}

Created: the port, sent (submitted).

Media typeapplication/json

A request to move (port) phone numbers you hold at another provider to this platform. The account holder’s details are kept encrypted and never returned.

object
cancellable
required

POST /v1/ports/{id}/cancel is still possible.

boolean
completed_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
created
required

An ISO-8601 timestamp in UTC.

string format: date-time
current_carrier
required

The provider the numbers are with today.

string | null
documents
required
object
invoice
required

The latest invoice from the current provider is on file.

boolean
loa
required

The signed letter of authorization is on file.

boolean
estimate_business_days
required
Any of:
object
max
required
integer
>= -9007199254740991 <= 9007199254740991
min
required
integer
>= -9007199254740991 <= 9007199254740991
id
required

A porting order ID (prefix port_).

string
/^port_[0-9A-Za-z]+$/
livemode
required

true in live mode, false in test mode.

boolean
numbers
required

The numbers to move (E.164).

Array<string>
object
required
string
Allowed value: porting_order
port_date
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
rejection_reason
required

Why the port was rejected (rejected only).

string | null
requested_date
required

The date you asked for (YYYY-MM-DD); the real date is the carrier’s (port_date).

string | null
source
required

Where it was filed: in the app (Phone numbers → Port your numbers) or through this API.

string
Allowed values: app api
status
required

submitted (sent, waiting for our review) → in_review (our staff check the request and its documents) → submitted_to_carrier (waiting for the carrier’s date) → scheduled (port_date is set) → completed (the numbers are your phone numbers). Or docs_required (another document is needed: fix it in the app), rejected (rejection_reason) or cancelled. draft: created in the app and not sent yet.

string
Allowed values: draft submitted in_review submitted_to_carrier docs_required scheduled completed rejected cancelled
submitted_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
timeline
required

Each change of status, oldest first.

Array<object>
object
at
required

An ISO-8601 timestamp in UTC.

string format: date-time
note
required

Our staff’s note to you (why more documents are needed, the date, why it was rejected).

string | null
status
required
string
Allowed values: draft submitted in_review submitted_to_carrier docs_required scheduled completed rejected cancelled
updated
required

An ISO-8601 timestamp in UTC.

string format: date-time
Example
{
"cancellable": true,
"completed_at": null,
"created": "2026-11-23T09:00:00.000Z",
"current_carrier": "Bezeq",
"documents": {
"invoice": true,
"loa": true
},
"estimate_business_days": {
"max": 10,
"min": 7
},
"id": "port_4KqLm8XzT2vR9bYc1NdWe",
"livemode": true,
"numbers": [
"+97235550100",
"+972775556789"
],
"object": "porting_order",
"port_date": null,
"rejection_reason": null,
"requested_date": "2026-12-01",
"source": "api",
"status": "in_review",
"submitted_at": "2026-11-23T09:00:00.000Z",
"timeline": [
{
"at": "2026-11-23T09:00:00.000Z",
"note": null,
"status": "submitted"
},
{
"at": "2026-11-23T11:20:00.000Z",
"note": null,
"status": "in_review"
}
],
"updated": "2026-11-23T11:20:00.000Z"
}

The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "parameter_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#parameter-missing",
"message": "Missing required parameter: to.",
"param": "to",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "invalid_request_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No valid API key was sent.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "invalid_api_key",
"doc_url": "https://docs.morevoice.ai/api/errors#invalid-api-key",
"message": "Invalid API key.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "authentication_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The key may not do this (a missing scope, a plan limit, or a compliance block).

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "missing_scope",
"doc_url": "https://docs.morevoice.ai/api/errors#missing-scope",
"message": "This API key lacks the calls:write scope.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "permission_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No object with this ID (in the path or the body) exists in this organisation and mode.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "resource_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#resource-missing",
"message": "No such object: 'call_4Gk2'.",
"param": "id",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "not_found"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The request conflicts with the object’s state, or the Idempotency-Key was reused with other parameters.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "idempotency_mismatch",
"doc_url": "https://docs.morevoice.ai/api/errors#idempotency-mismatch",
"message": "This Idempotency-Key was already used with different parameters.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "idempotency_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The request body is larger than the endpoint accepts, or has more parts or files than it takes.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "body_too_large",
"doc_url": "https://docs.morevoice.ai/api/errors#body-too-large",
"message": "The request body is larger than the endpoint accepts.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "invalid_request_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The request body’s Content-Type is not one the endpoint takes.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://docs.morevoice.ai/api/errors#unsupported-media-type",
"message": "This endpoint takes application/json.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "invalid_request_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Too many requests, or no call capacity right now. Retry after the Retry-After delay.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "rate_limited",
"doc_url": "https://docs.morevoice.ai/api/errors#rate-limited",
"message": "Too many requests. Retry after 1 second.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "rate_limit_error"
}
}
Retry-After
integer

Seconds to wait before retrying.

X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Something went wrong on MoreVoice’s side. Retry with the same Idempotency-Key.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "internal_error",
"doc_url": "https://docs.morevoice.ai/api/errors#internal-error",
"message": "Something went wrong on MoreVoice's side.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "api_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.