POST /phones/simulate/create_sandbox_phone ⇒ { phone }
Request
await seam.phones.simulate.createSandboxPhone({
user_identity_id: "22222222-2222-2222-2222-222222222222",
});
Response
{
"device_id": "22222222-2222-2222-2222-444444444444",
"device_type": "android_phone",
"created_at": "2025-01-01T10:40:00+00:00",
...
}
Request
seam.phones.simulate.create_sandbox_phone(
user_identity_id="22222222-2222-2222-2222-222222222222"
)
Response
Phone(
device_id='22222222-2222-2222-2222-444444444444',
device_type='android_phone',
created_at='2025-01-01T10:40:00+00:00',
...
)
Request
seam.phones.simulate.create_sandbox_phone(
user_identity_id: "22222222-2222-2222-2222-222222222222"
)
Response
{
"device_id" => "22222222-2222-2222-2222-444444444444",
"device_type" => "android_phone",
"created_at" => "2025-01-01T10:40:00+00:00",
...
}
Request
<?php
$seam->phones->simulate->create_sandbox_phone(
user_identity_id: "22222222-2222-2222-2222-222222222222"
);
Response
<?php
[
"device_id" => "22222222-2222-2222-2222-444444444444",
"device_type" => "android_phone",
"created_at" => "2025-01-01T10:40:00+00:00",
...
];
Request
seam phones simulate create-sandbox-phone --user_identity_id "22222222-2222-2222-2222-222222222222"
Response
{
"device_id": "22222222-2222-2222-2222-444444444444",
"device_type": "android_phone",
"created_at": "2025-01-01T10:40:00+00:00",
...
}
Request
package main
import api "github.com/seamapi/go"
import phones "github.com/seamapi/go/phones"
func main() {
client.Phones.Simulate.CreateSandboxPhone(
context.Background(),
phones.PhonesSimulateCreateSandboxPhoneRequest{
UserIdentityId: api.String("22222222-2222-2222-2222-222222222222"),
},
)
}
Response
api.Phone{DeviceId: "22222222-2222-2222-2222-444444444444", DeviceType: "android_phone", CreatedAt: "2025-01-01T10:40:00.000Z"}
custom_sdk_installation_id