githubEdit

Create a Sandbox Phone

Creates a new simulated phone in a sandbox workspace. See also Creating a Simulated Phone for a User Identity.

Creates a new simulated phone in a sandbox workspace.

Code:

await seam.phones.simulate.createSandboxPhone({
  custom_sdk_installation_id: "visionline_sdk",
  user_identity_id: "799f9914-f2c2-4087-ab34-f1ffb44d6a0b",
  phone_metadata: {
    operating_system: "android",
    os_version: 10,
    device_manufacturer: "Samsung",
    device_model: "Samsung Galaxy S10",
  },
  assa_abloy_metadata: {
    ble_capability: "true,",
    hce_capability: "false,",
    nfc_capability: "false,",
    application_version: "1.0.0",
    seos_applet_version: "1.0.0",
    seos_tsm_endpoint_id: 1,
  },
});

Output:

chevron-rightAuthentication Methodshashtag
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authenticationarrow-up-right.

Request Parameters

user_identity_id String (Required)

ID of the user identity that you want to associate with the simulated phone.


assa_abloy_metadata Object

ASSA ABLOY metadata that you want to associate with the simulated phone.

chevron-rightapplication_version Stringhashtag

Application version that you want to use for the simulated phone.


chevron-rightble_capability Booleanhashtag

Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.


chevron-righthce_capability Booleanhashtag

Indicates whether the simulated phone should have host card emulation (HCE) capability.


chevron-rightnfc_capability Booleanhashtag

Indicates whether the simulated phone should have near-field communication (NFC) capability.


chevron-rightseos_applet_version Stringhashtag

SEOS applet version that you want to use for the simulated phone.


chevron-rightseos_tsm_endpoint_id Numberhashtag

ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.


custom_sdk_installation_id String

ID of the custom SDK installation that you want to use for the simulated phone.


phone_metadata Object

Metadata that you want to associate with the simulated phone.

chevron-rightdevice_manufacturer Stringhashtag

Manufacturer that you want to use for the simulated phone.


chevron-rightdevice_model Stringhashtag

Device model that you want to use for the simulated phone.


chevron-rightoperating_system Enumhashtag

Mobile operating system that you want to use for the simulated phone.

Enum values:

  • android

  • ios


chevron-rightos_version Stringhashtag

Mobile operating system version that you want to use for the simulated phone.


Response

circle-check

Last updated

Was this helpful?