# `Twilio.Accounts.V1.SafeList.NumberService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/accounts/v1/safe_list/number_service.ex#L2)

Service for Number API operations.

Operations: `list`, `create`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Accounts.V1.SafeList.Number.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Add a new phone number or phone number 1k prefix to SafeList.

Operation: `CreateSafelist` | Tags: AccountsV1Safelist

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `PhoneNumber` | string | The phone number or phone number 1k prefix to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). |

# `list`

```elixir
@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Check if a phone number or phone number 1k prefix exists in SafeList.

Operation: `FetchSafelist` | Tags: AccountsV1Safelist

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `PhoneNumber` | string | The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). |

# `stream`

```elixir
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
```

Stream: Check if a phone number or phone number 1k prefix exists in SafeList. (lazy auto-pagination).

---

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