Programming Salto Space Mobile Credentials
Learn how to create mobile credentials in the Salto Space access system.
# Get the access system.
building_a = seam.acs.systems.get(
acs_system_id = "11111111-1111-1111-1111-111111111111"
)
# Step 1:
# Create a user identity that corresponds to your user's mobile app account.
jane_user = seam.user_identities.create(
full_name = "Jane Doe"
)
# Step 2:
# Create an access system user on the Salto Space access system.
access_system_user = seam.acs.users.create(
user_identity_id = jane_user.user_identity_id,
acs_system_id = building_a.acs_system_id,
full_name = jane_user.full_name,
phone_number = "+15555550100"
)
# Step 3:
# Add the access system user to all desired access groups.
access_group_ids = [
"44444444-4444-4444-4444-333333333333",
"44444444-4444-4444-4444-444444444444"
]
for access_group_id in seam_access_group_ids:
seam.acs.users.add_to_access_group(
acs_user_id = access_system_user.acs_user_id,
acs_access_group_id = access_group_id
)
# Step 4:
# Create a mobile key for the access system user.
mobile_key = seam.acs.credentials.create(
acs_user_id = access_system_user.acs_user_id,
is_multi_phone_sync_credential = True,
access_method = "mobile_key"
)Learn More
Last updated
Was this helpful?

