Phones
Operations for managing phone numbers
Retrieve a phone
Returns a single phone by its identifier.
A 404 is returned when the phone does not exist or is not visible to the authenticated customer — the two cases are intentionally indistinguishable so that resource existence is never leaked across customers. A 403 is returned only when the access token is missing the required scope.
Path Parameters
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Response
application/json
Response
The requested phone.
PhoneV2
A phone record returned by V2 phone endpoints.
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
The type of phone
Allowed values:CELLBUSINESSRESIDENTFAX
Example:CELL
10-digit phone number.
Example:3035551234
Optional phone extension.
Example:1234
Whether this is the preferred phone number.
Example:true
RFC3339 UTC timestamp when the phone was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the phone was last updated.
Example:2024-01-15T14:45:00Z
Authentication
Path Parameters
Update a phone
Updates a single phone by its identifier, scoped to the authenticated customer. Setting preferred: true unprefers all other phones for the owning person.
A 404 is returned when the phone does not exist or is not visible to the authenticated customer — the two cases are intentionally indistinguishable so that resource existence is never leaked across customers. A 403 is returned only when the access token is missing the required scope.
Path Parameters
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Body
application/json
Body
UpdatePhoneRequest
The type of phone
Allowed values:CELLBUSINESSRESIDENTFAX
Example:CELL
Phone number (exactly 10 digits)
Match pattern:^[0-9]{10}$
Example:3035551234
Optional phone extension (max 6 characters)
<= 6 characters
Example:1234
Whether this is the preferred phone number
Example:true
Response
application/json
Response
The updated phone.
PhoneV2
A phone record returned by V2 phone endpoints.
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
The type of phone
Allowed values:CELLBUSINESSRESIDENTFAX
Example:CELL
10-digit phone number.
Example:3035551234
Optional phone extension.
Example:1234
Whether this is the preferred phone number.
Example:true
RFC3339 UTC timestamp when the phone was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the phone was last updated.
Example:2024-01-15T14:45:00Z
Authentication
Path Parameters
Body
Delete phone
Permanently deletes a phone by ID, scoped to the authenticated customer. Returns 404 (never 403) when the phone does not exist or belongs to a different customer. The two cases are intentionally indistinguishable — the endpoint does not return an idempotent 204 for unknown IDs — so that resource existence is not leaked across customers.
Path Parameters
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Response
Response
Phone deleted successfully.
Authentication
Path Parameters
Create a phone for a person
Creates a new phone and associates it with the specified person. The first phone added is automatically marked preferred. Sending preferred: true on a subsequent phone unprefers all existing phones for that person. A person may have at most 5 phones.
Path Parameters
ID of the person
Headers
Client-generated UUID that deduplicates retries: a success is replayed for 24 hours, a person-create server error for 5 minutes.
Body
application/json
Body
CreatePhoneRequest
The type of phone
Allowed values:CELLBUSINESSRESIDENTFAX
Example:CELL
Phone number (exactly 10 digits)
Match pattern:^[0-9]{10}$
Example:3035551234
Optional phone extension (max 6 characters)
<= 6 characters
Example:1234
Whether this is the preferred phone number
Example:true
Response
application/json
Response
An identical member already existed and is returned
PhoneV2
A phone record returned by V2 phone endpoints.
Phone identifier.
Example:550e8400-e29b-41d4-a716-446655440000
The type of phone
Allowed values:CELLBUSINESSRESIDENTFAX
Example:CELL
10-digit phone number.
Example:3035551234
Optional phone extension.
Example:1234
Whether this is the preferred phone number.
Example:true
RFC3339 UTC timestamp when the phone was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the phone was last updated.
Example:2024-01-15T14:45:00Z