Skip to content

Retrieve a port request

GET
/ports/{id}
import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
const portingOrder = await mv.ports.retrieve("port_7Hk2Lm9Qp");
console.log(portingOrder);

One port request, with its status, the date once scheduled and its timeline.

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

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

A porting order ID (port_…).

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

OK

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.

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.