# `Twilio.Resources.Messaging.V1.Service.PhoneNumber`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/resources/messaging/v1/service/phone_number.ex#L2)

A Messaging Service resource to add, fetch or remove phone numbers from a Messaging Service.

SID prefix: `PN`

Parent: `/Services/{Sid}`

## Properties

| Field | Description |
|-------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `account_sid` | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the PhoneNumber resource. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `capabilities` | An array of values that describe whether the number can receive calls or messages. Can be: `Voice`, `SMS`, and `MMS`. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `country_code` | The 2-character [ISO Country Code](https://www.iso.org/iso-3166-country-codes.html) of the number. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_created` | The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.. Format: date-time |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `date_updated` | The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.. Format: date-time |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `phone_number` | The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number.. Format: phone-number |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `service_sid` | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) the resource is associated with. |
| `sid` | The unique string that we created to identify the PhoneNumber resource. |
| `url` | The absolute URL of the PhoneNumber resource.. Format: uri |

# `t`

```elixir
@type t() :: %Twilio.Resources.Messaging.V1.Service.PhoneNumber{
  account_sid: String.t() | nil,
  capabilities: list() | nil,
  country_code: String.t() | nil,
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  phone_number: String.t() | nil,
  service_sid: String.t() | nil,
  sid: String.t() | nil,
  url: String.t() | nil
}
```

# `object_name`

# `sid_prefix`

---

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