# `Twilio.Verify.V2.SafeList.NumberService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/verify/v2/safe_list/number_service.ex#L2)

Service for Number API operations.

Operations: `create`, `fetch`, `delete`

# `create`

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

Add a new phone number to SafeList.

Operation: `CreateSafelist` | Tags: VerifyV2Safelist

## Required Parameters

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

# `delete`

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

Remove a phone number from SafeList.

Operation: `DeleteSafelist` | Tags: VerifyV2Safelist

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Verify.V2.SafeList.Number.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Check if a phone number exists in SafeList.

Operation: `FetchSafelist` | Tags: VerifyV2Safelist

---

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