Phones

The phone Object

Represents an app user's mobile phone.


Properties

created_at Datetime

Date and time at which the phone was created.


custom_metadata Record

Optional custom metadata for the phone.


device_id UUID

ID of the phone.


device_type Enum

Device type for phones.

Enum values
  • ios_phone

  • android_phone


display_name String

Display name of the phone. Defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the phone easily, especially when there are numerous phones.


errors List of Objects

Errors associated with the phone.

Child Object Properties

error_code String

message String


nickname String

Optional nickname to describe the phone, settable through Seam.


warnings List of Objects

Warnings associated with the phone.

Child Object Properties

message String

warning_code String


workspace_id UUID

ID of the workspace that contains the phone.


Events

phone.deactivated

A phone device was deactivated.

Properties

created_at Datetime

Date and time at which the event was created.

device_id UUID

ID of the affected phone device.

event_id UUID

ID of the event.

event_type Enum

Value: phone.deactivated

occurred_at Datetime

Date and time at which the event occurred.

workspace_id UUID

ID of the workspace associated with the event.


Endpoints

/phones/deactivate

Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see App User Lost Phone Process.

/phones/get

Returns a specified phone.

/phones/list

Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the owner_user_identity_id or acs_credential_id, respectively, in the request body.

Last updated

Was this helpful?