Developing in a Sandbox Workspace
Creating a Simulated Phone for a User Identity
// Step 1: Create the user identity.
const userIdentity = await seam.userIdentities.create({
user_identity_key: "jean_doe",
full_name: "Jean Doe",
});
// Step 2: Create a simulated, sandbox phone.
await seam.phones.simulate.createSandboxPhone({
user_identity_id: userIdentity.user_identity_id,
});{
"user_identity_id": "22222222-2222-2222-2222-222222222222",
"full_name": "Jean Doe",
...
}
{
"device_id": "22222222-2222-2222-2222-444444444444",
"device_type": "android_phone",
"created_at": "2025-01-01T10:40:00+00:00",
...
}PreviousIssuing Mobile Credentials from an Access Control SystemNextIntegrating into Your Mobile Application
Last updated
Was this helpful?

