Get a Phone
Returns a specified phone.
Returns a specified phone.
Code:
await seam.phones.get({ device_id: "2c39adb7-ba99-4b60-927d-9b796952c8e8" });Output:
{
"created_at": "2025-06-14T16:54:17.946540Z",
"custom_metadata": { "id": "internalId1" },
"device_id": "2c39adb7-ba99-4b60-927d-9b796952c8e8",
"device_type": "ios_phone",
"display_name": "My Phone",
"errors": [],
"nickname": "My Phone",
"properties": {
"assa_abloy_credential_service_metadata": {
"endpoints": [
{
"endpoint_id": "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active": true
}
],
"has_active_endpoint": true
}
},
"warnings": [],
"workspace_id": "da8639a4-28a2-4884-a4f9-b7691f4cf336"
}Returns a specified phone.
Code:
curl --include --request POST "https://connect.getseam.com/phones/get" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "2c39adb7-ba99-4b60-927d-9b796952c8e8"
}
EOFOutput:
{
"phone": {
"created_at": "2025-06-14T16:54:17.946540Z",
"custom_metadata": { "id": "internalId1" },
"device_id": "2c39adb7-ba99-4b60-927d-9b796952c8e8",
"device_type": "ios_phone",
"display_name": "My Phone",
"errors": [],
"nickname": "My Phone",
"properties": {
"assa_abloy_credential_service_metadata": {
"endpoints": [
{
"endpoint_id": "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active": true
}
],
"has_active_endpoint": true
}
},
"warnings": [],
"workspace_id": "da8639a4-28a2-4884-a4f9-b7691f4cf336"
}
}Returns a specified phone.
Code:
seam.phones.get(device_id="2c39adb7-ba99-4b60-927d-9b796952c8e8")Output:
Phone(
created_at="2025-06-14T16:54:17.946540Z",
custom_metadata={"id": "internalId1"},
device_id="2c39adb7-ba99-4b60-927d-9b796952c8e8",
device_type="ios_phone",
display_name="My Phone",
errors=[],
nickname="My Phone",
properties={
"assa_abloy_credential_service_metadata": {
"endpoints": [
{
"endpoint_id": "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active": true,
}
],
"has_active_endpoint": true,
}
},
warnings=[],
workspace_id="da8639a4-28a2-4884-a4f9-b7691f4cf336",
)Returns a specified phone.
Code:
seam.phones.get(device_id: "2c39adb7-ba99-4b60-927d-9b796952c8e8")Output:
{
"created_at" => "2025-06-14T16:54:17.946540Z",
"custom_metadata" => {
id: "internalId1",
},
"device_id" => "2c39adb7-ba99-4b60-927d-9b796952c8e8",
"device_type" => "ios_phone",
"display_name" => "My Phone",
"errors" => [],
"nickname" => "My Phone",
"properties" => {
assa_abloy_credential_service_metadata: {
endpoints: [{ endpoint_id: "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f", is_active: true }],
has_active_endpoint: true,
},
},
"warnings" => [],
"workspace_id" => "da8639a4-28a2-4884-a4f9-b7691f4cf336",
}Returns a specified phone.
Code:
$seam->phones->get(device_id: "2c39adb7-ba99-4b60-927d-9b796952c8e8");Output:
[
"created_at" => "2025-06-14T16:54:17.946540Z",
"custom_metadata" => ["id" => "internalId1"],
"device_id" => "2c39adb7-ba99-4b60-927d-9b796952c8e8",
"device_type" => "ios_phone",
"display_name" => "My Phone",
"errors" => [],
"nickname" => "My Phone",
"properties" => [
"assa_abloy_credential_service_metadata" => [
"endpoints" => [
[
"endpoint_id" => "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active" => true,
],
],
"has_active_endpoint" => true,
],
],
"warnings" => [],
"workspace_id" => "da8639a4-28a2-4884-a4f9-b7691f4cf336",
];Returns a specified phone.
Code:
seam phones get --device_id "2c39adb7-ba99-4b60-927d-9b796952c8e8"Output:
{
"created_at": "2025-06-14T16:54:17.946540Z",
"custom_metadata": { "id": "internalId1" },
"device_id": "2c39adb7-ba99-4b60-927d-9b796952c8e8",
"device_type": "ios_phone",
"display_name": "My Phone",
"errors": [],
"nickname": "My Phone",
"properties": {
"assa_abloy_credential_service_metadata": {
"endpoints": [
{
"endpoint_id": "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active": true
}
],
"has_active_endpoint": true
}
},
"warnings": [],
"workspace_id": "da8639a4-28a2-4884-a4f9-b7691f4cf336"
}Request Parameters
device_id String (Required)
Device ID of the phone that you want to get.
Response
{
"created_at": "2025-06-14T16:54:17.946540Z",
"custom_metadata": { "id": "internalId1" },
"device_id": "e452f665-a635-4c65-922b-9feab0e0f84f",
"device_type": "ios_phone",
"display_name": "My Phone",
"errors": [],
"nickname": "My Phone",
"properties": {
"assa_abloy_credential_service_metadata": {
"endpoints": [
{
"endpoint_id": "c7d8e9f0-1a2b-3c4d-5e6f-7a8b9c0d1e2f",
"is_active": true
}
],
"has_active_endpoint": true
}
},
"warnings": [],
"workspace_id": "da8639a4-28a2-4884-a4f9-b7691f4cf336"
}Last updated
Was this helpful?

