---
title: "UpdatePhoneRequest"
url: "https://developer-staging.agentsync.io/apis/identity/versions/1ed33a2c-924a-434c-9643-fbc531dea1b8/schemas/UpdatePhoneRequest"
---

> Full API specification: https://developer-staging.agentsync.io/apis/identity/versions/1ed33a2c-924a-434c-9643-fbc531dea1b8.md

# UpdatePhoneRequest

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Identity API
  version: v1.275.8
servers:
  - url: https://api.sandbox.agentsync.io/id
    description: Sandbox server
  - url: https://api.agentsync.io/id
    description: Production server
components:
  schemas:
    PhoneType:
      title: PhoneType
      type: string
      description: The type of phone
      enum:
        - CELL
        - BUSINESS
        - RESIDENT
        - FAX
      example: CELL
    UpdatePhoneRequest:
      title: UpdatePhoneRequest
      type: object
      required:
        - type
        - number
        - preferred
      properties:
        type:
          $ref: "#/components/schemas/PhoneType"
        number:
          type: string
          description: Phone number (exactly 10 digits)
          pattern: ^[0-9]{10}$
          example: "3035551234"
        extension:
          type: string
          description: Optional phone extension (max 6 characters)
          maxLength: 6
          example: "1234"
        preferred:
          type: boolean
          description: Whether this is the preferred phone number
          example: true
```
