Skip to main content
PATCH
Update a phone
Minimum role required: Member

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

phone_id
string
required

device identifier

Body

application/json

The fields to change on a dedicated phone.

nickname
string
required

New display name for the phone.

Required string length: 1 - 100

Response

OK

A phone in the fleet: display identity, status, and current allocation.

created_at
string<date-time>
required

When the phone record was created.

current_session_id
string | null
required

Session currently holding the phone, if allocated.

last_heartbeat_at
string<date-time> | null
required

Time of the phone's most recent heartbeat.

last_interaction_at
string<date-time> | null
required

Time of the most recent interaction on the phone.

location
string | null
required

Physical hosting location of the phone.

model_id
string | null
required

Hardware model identifier.

model_name
string | null
required

Hardware model name.

nickname
string | null
required

User-assigned nickname.

owner_organization_id
string | null
required

Owning organization, for private phones.

ownership_type
enum<string>
required

'shared' for pool phones, 'private' for dedicated rentals.

Available options:
shared,
private
phone_id
string
required

Phone identifier used by allocate and the phone APIs.

phone_name
string | null
required

Display name of the phone.

phone_number
string | null
required

The phone's own number in E.164, for a dedicated phone your organization rents: what its SIM reports, or else the number its latest received text was sent to. Null when neither is known, and for shared phones.

phone_type
enum<string> | null
required

Platform of the phone.

Available options:
android,
iphone,
unknown
rental_expires_at
string<date-time> | null
required

When the current rental ends, for rented phones.

status
enum<string>
required

Fleet status of the phone. Only active is allocatable. inactive: unreachable, back on its next heartbeat. maintenance: planned work that releases itself. suspended: an administrative hold. recovering: being repaired automatically. out_of_service: needs a repair at the rack. Treat unknown values as unavailable.

Available options:
active,
inactive,
maintenance,
suspended,
recovering,
out_of_service
updated_at
string<date-time>
required

When the phone record was last updated.

messaging
object

Whether the phone can text, as it last reported, for a dedicated phone your organization rents: checked_at says when, and status whether it is reachable now. Absent for shared phones.