# `Twilio.Numbers.V1.Porting.Portability.PhoneNumberService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/numbers/v1/porting/portability/phone_number_service.ex#L2)

Service for PhoneNumber API operations.

Operations: `fetch`

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Numbers.V1.Porting.Portability.PhoneNumber.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Check if a single phone number can be ported to Twilio

Operation: `FetchPortingPortability` | Tags: NumbersV1PortingPortability

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `TargetAccountSid` | string | Account Sid to which the number will be ported. This can be used to determine if a sub account already has the number in its inventory or a different sub account. If this is not provided, the authenticated account will be assumed to be the target account. |
| `AddressSid` | string | Address Sid of customer to which the number will be ported. |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
