---
title: "Get port status"
method: GET
path: "/lines/{e164}/port"
---

# Get port status

`GET /lines/{e164}/port`

## Request

- Base URL: `https://osis.co/api/v1/comms`
- URL: `https://osis.co/api/v1/comms/lines/{e164}/port`
- Auth: HTTP bearer

You need porting access first. Ask for it in your line's Port panel at https://comms.osis.co/dashboard/lines. Until you're approved, this returns 403 permission_denied. Shows the port's status, times, and errors. The account details you sent are never returned. Scope: comms_lines_read or comms_lines_write.

## Path parameters

- `e164` string, required

## Response `200`

Port status

- LinePortResponse
  - `port` LinePort, required: The port's status, times, and errors. The account details you sent are never returned.
    - `id` string, required
    - `org_id` string, required
    - `locked_e164` string, required: The dedicated line locked for this port.
    - `target_e164` string, nullable: The number you're bringing to Comms. Set once you submit the port.
    - `status` 'number_locked' | 'port_submitted' | 'port_in_progress' | 'port_completed' | 'port_failed', required: Where the port is right now.
    - `error_code` string, nullable
    - `error_message` string, nullable
    - `submitted_at` string, date-time, nullable
    - `foc_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: API key is missing or wrong
- `403`: You don't have porting access yet, or your key is missing the scope
- `404`: Not found

---

[API](https://skmtc.dev/osis/apis/comms-api.md) · [All operations](https://skmtc.dev/osis/apis/comms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/osis/apis/comms-api/revisions/59a4c0ba8936?raw)
