For any MCP client
One URL per connected UniFi On Prem account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
IntegrationsSecurity · Beta
Put UniFi On Prem in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.
Built for specific customer use cases. Issues are resolved quickly.
From the team behind Truto
Control plane for MCP servers
Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.
Works in
No credit card required · 1000+ apps
01Proxy API
Truto’s Proxy API is a 1-to-1 mapping of the UniFi On Prem API. You call us, we call UniFi On Prem, and pass the response back in the same cycle. Truto handles authentication and token refresh.
On every plan, including Free.
GEThttps://api.truto.one/proxy/users?integrated_account_id=…
/proxy/visitors/proxy/schedules/proxy/doors/proxy/devicesUniFi On Prem’s own response, passed back
02MCP server
Whatever your agent runs on, it gets UniFi On Prem tools for each customer’s account: through an MCP server, or straight from the tools API.
On every plan, including Free.
create_a_uni_fi_on_prem_userRegister a new user in UniFi Access. Returns the created user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, and assigned access policies. Required: first_name, last_name.update_a_uni_fi_on_prem_user_by_idUpdate a user's details in UniFi Access by id. Returns the updated user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, and assigned access policies. Required: id.get_single_uni_fi_on_prem_user_by_idGet a single UniFi Access user by id. Returns the full user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, access policies, NFC cards, license plates, PIN code, and touch pass. Required: id.list_all_uni_fi_on_prem_usersList all UniFi Access users with pagination. Returns each user's id, first_name, last_name, user_email, employee_number, onboard_time, status, access policies, NFC cards, license plates, PIN code, and touch pass. Optional: expand to include access policies.uni_fi_on_prem_users_assign_access_policyAssign or replace access policies for a UniFi Access user. Pass an array of access policy IDs to set the user's assigned policies; pass an empty array to remove all policies. Returns an empty 204 response on success. Required: user_id, access_policy_ids.uni_fi_on_prem_users_assign_nfc_cardAssign an NFC card to a UniFi Access user by providing the card token. Use force_add to overwrite a card already assigned to another user. Returns a success confirmation with no data payload. Required: user_id, token.uni_fi_on_prem_users_unassign_nfc_cardUnassign an NFC card from a UniFi Access user by providing the card token. Returns a success confirmation with no data payload. Required: user_id, token.uni_fi_on_prem_users_assign_pin_codeAssign a PIN code to a UniFi Access user for unlocking doors. Returns a success confirmation with no data payload. Required: user_id, pin_code.uni_fi_on_prem_users_unassign_pin_codeUnassign the PIN code from a UniFi Access user. Returns a success confirmation with no data payload. Required: user_id.uni_fi_on_prem_users_list_access_policiesList the access policies assigned to a UniFi Access user, including policies inherited from the user's group unless filtered. Returns: id, name, resources, schedule_id. Required: user_id.delete_a_uni_fi_on_prem_user_by_idDelete a UniFi Access user by id. Returns an empty 204 response on success. Required: id.uni_fi_on_prem_users_searchSearch UniFi Access users. Returns matching user records including id, first_name, last_name, full_name, email, user_email, status, email_status, alias, avatar_relative_path, employee_number, nfc_cards, onboard_time, phone, pin_code, and username.uni_fi_on_prem_users_assign_touch_passAssign a suspended or inactive Touch Pass to a specific user in UniFi Access. Returns the Touch Pass object including id, card_id, status, user_id, user_name, and user_email. Required: user_id, touch_pass_id. Requires UniFi Access version 3.2.20 or later.uni_fi_on_prem_users_unassign_touch_passUnassign a Touch Pass from a specific user in UniFi Access. Returns the Touch Pass object with id, card_id, card_name, status, last_activity, bundles, and user fields after unassignment. Required: user_id. Requires UniFi Access version 3.2.20 or later.uni_fi_on_prem_users_batch_assign_touch_passesBatch assign unassigned Touch Passes to users in UniFi Access using their email addresses. Returns an array of Touch Pass objects with id, card_id, card_name, status, last_activity, bundles, and user assignment details. Required: ids. Requires UniFi Access version 3.2.20 or later.uni_fi_on_prem_users_assign_license_plateAssign one or more license plate numbers to a specific user in UniFi Access. Returns an empty response on success. Required: user_id. UniFi Access version 3.3.10 or later is required.uni_fi_on_prem_users_unassign_license_plateUnassign a specific license plate number from a user in UniFi Access. Returns an empty response on success. Required: user_id, license_plate_id. UniFi Access version 3.3.10 or later is required.uni_fi_on_prem_users_upload_profile_pictureUpload a profile picture for a user in UniFi Access. Returns: avatar_url. Required: user_id. Only supported for local users; UI Account users must update their picture through the UI Account interface. UniFi Access version 3.3.10 or later is required.create_a_uni_fi_on_prem_user_groupCreate a new user group in UniFi Access. Returns: id. Required: name.list_all_uni_fi_on_prem_user_groupsList all user groups in UniFi Access. Returns: id, name, full_name, up_id, up_ids.get_single_uni_fi_on_prem_user_group_by_idGet a single user group by id in UniFi Access. Returns: id, name, full_name, up_id, up_ids. Required: id.update_a_uni_fi_on_prem_user_group_by_idUpdate a user group by id in UniFi Access. Returns: id, name, full_name, up_id, up_ids. Required: id, name.delete_a_uni_fi_on_prem_user_group_by_idDelete a user group by id in UniFi Access. Returns an empty 204 response on success. Required: id.uni_fi_on_prem_user_groups_assign_userAssign users to a user group in UniFi Access by supplying an array of user identity IDs in the request body. Returns a success confirmation with no data payload. Required: user_group_id.uni_fi_on_prem_user_groups_unassign_userRemove users from a user group in UniFi Access by supplying an array of user identity IDs in the request body. Returns a success confirmation with no data payload. Required: user_group_id.uni_fi_on_prem_user_groups_list_all_usersList all users across UniFi on-premises user groups, including users in subgroups. Returns: id, first_name, last_name, full_name, email, user_email, status, email_status, employee_number, phone, username, alias, avatar_relative_path, onboard_time.uni_fi_on_prem_user_groups_assign_access_policyAssign access policies to a UniFi on-premises user group by providing the access policy IDs. Returns an empty 204 response on success. Required: user_group_id, access_policy_ids.uni_fi_on_prem_user_groups_list_access_policiesList the access policies assigned to a user group in UniFi Access. Returns each policy's id, name, resources (door groups and doors), and schedule_id. Required: user_group_id.create_a_uni_fi_on_prem_visitorCreate a new visitor in UniFi Access with personal details, visit schedule, and door access resources. Returns: id, first_name, last_name, status, schedule_id, resources, nfc_cards, license_plates, pin_code, schedule. Required: first_name, last_name.get_single_uni_fi_on_prem_visitor_by_idGet a single UniFi Access visitor by id. Returns: id, first_name, last_name, status, schedule_id, resources, nfc_cards, license_plates, pin_code, schedule. Required: id.list_all_uni_fi_on_prem_visitorsList all visitors in UniFi Access. Returns: id, first_name, last_name, status, schedule_id, resources, nfc_cards, license_plates, pin_code, schedule. Supports optional status filtering, keyword prefix search on visitor names, and expandable related objects.update_a_uni_fi_on_prem_visitor_by_idUpdate a visitor in UniFi Access by id. Returns: first_name, id, last_name, nfc_cards, license_plates, pin_code, resources, schedule, schedule_id, status. Required: id. Status change is not supported.delete_a_uni_fi_on_prem_visitor_by_idDelete a visitor in UniFi Access by id. If the is_force query parameter is set, physically deletes the visitor; otherwise updates the visitor to canceled status. Returns an empty 204 response on success. Required: id.uni_fi_on_prem_visitors_assign_nfc_cardAssign an NFC card to a visitor in UniFi Access by providing the card token. Returns a success response with no data payload. Required: visitor_id, token.uni_fi_on_prem_visitors_unassign_nfc_cardUnassign an NFC card from a visitor in UniFi Access by providing the card token. Returns a success response with no data payload. Required: visitor_id, token.uni_fi_on_prem_visitors_assign_pin_codeAssign a PIN code to a UniFi Identity visitor so the visitor can unlock doors. The PIN code must first be generated via the /api/v1/developer/pin_codes endpoint. Returns a success response with no data payload. Required: visitor_id, pin_code.uni_fi_on_prem_visitors_unassign_pin_codeUnassign the PIN code from a visitor in UniFi Access. Returns an empty 204 response on success. Required: visitor_id.uni_fi_on_prem_visitors_assign_qr_codeAssign a QR code to a visitor in UniFi Access. Returns an empty 204 response on success. Required: visitor_id. UniFi Access version 3.3.10 or later required.uni_fi_on_prem_visitors_unassign_qr_codeUnassign (remove) a QR code from a visitor in UniFi Access. Returns an empty 204 response on success. Required: visitor_id. UniFi Access version 3.3.10 or later required.uni_fi_on_prem_visitors_assign_license_plateAssign one or more license plate numbers to a visitor in UniFi Access. Returns an empty 204 response on success. Required: visitor_id and a request body containing a list of license plate numbers. UniFi Access version 3.3.10 or later required.uni_fi_on_prem_visitors_unassign_license_plateUnassign a license plate number from a visitor in UniFi Access. Returns an empty 204 response on success. Required: visitor_id, license_plate_id. UniFi Access version 3.3.10 or later required.create_a_uni_fi_on_prem_access_policyCreate a new access policy in UniFi Access. Returns: id. Required: name, schedule_id.update_a_uni_fi_on_prem_access_policy_by_idUpdate a UniFi access policy by id, modifying only the fields supplied in the request body. Returns the string 'success' confirming the update. Required: id. All body fields (name, resource, schedule_id) are optional — omit any that do not need to change.delete_a_uni_fi_on_prem_access_policy_by_idDelete a UniFi access policy by id. Returns an empty 204 response on success. Required: id.get_single_uni_fi_on_prem_access_policy_by_idGet a single UniFi Access access policy by id. Returns: id, name, resources, schedule_id. Required: id.list_all_uni_fi_on_prem_access_policiesList all UniFi Access access policies. Returns each policy with id, name, resources (doors and door groups), and schedule_id.create_a_uni_fi_on_prem_holiday_groupCreate a new holiday group in UniFi Access with a name and an optional list of holidays. Returns the created holiday group including its id, name, description, is_default, template_name, and holidays array. Required: name.update_a_uni_fi_on_prem_holiday_group_by_idUpdate a holiday group in UniFi Access by id, including its name, description, and holidays. Returns the updated holiday group including its id, name, description, is_default, template_name, and holidays array. Required: id, name.delete_a_uni_fi_on_prem_holiday_group_by_idDelete a holiday group in UniFi Access by id. Returns a success confirmation string. Required: id.get_single_uni_fi_on_prem_holiday_group_by_idGet a UniFi Access holiday group by id. Returns: id, name, is_default, description, holidays, template_name. Required: id.list_all_uni_fi_on_prem_holiday_groupsList all holiday groups in UniFi Access. Returns: id, name, description, count.create_a_uni_fi_on_prem_scheduleCreate a door access schedule in UniFi Access. Returns the created schedule including its id, name, type, is_default, weekly schedule, holiday_group_id, holiday_group, and holiday_schedule. Required: name, week_schedule.update_a_uni_fi_on_prem_schedule_by_idUpdate a door access schedule in UniFi Access by id. Returns the updated schedule including its id, name, type, is_default, weekly schedule, holiday_group_id, holiday_group, and holiday_schedule. Required: id.get_single_uni_fi_on_prem_schedule_by_idFetch a door access schedule in UniFi Access by id. Returns the schedule including its id, name, type, is_default, weekly schedule, holiday_group_id, holiday_group, and holiday_schedule. Required: id.list_all_uni_fi_on_prem_schedulesList all door access schedules in UniFi Access on-premises. Returns each schedule with id, name, type, is_default, status, holiday_group_id, weekly time slots, holiday_group, and holiday_schedule.delete_a_uni_fi_on_prem_schedule_by_idDelete a door access schedule in UniFi Access on-premises by id. Returns an empty 204 response on success. Required: id.uni_fi_on_prem_credentials_generate_pin_codeGenerate a new PIN code in UniFi Access for unlocking doors. Returns the generated PIN code as a string, which can then be assigned to a user or visitor via the pin_codes assignment endpoints. The PIN code length must meet the system's preset requirements.uni_fi_on_prem_credentials_enroll_nfc_cardCreate an NFC card enrollment session by waking up a UA reader in UniFi Access. Returns: session_id. Required: device_id.uni_fi_on_prem_credentials_get_nfc_enrollment_statusPoll a UniFi Access UA reader to fetch the NFC card enrollment status and generated card tokens for a given session. Returns: card_id, token. Required: session_id. This is a polling endpoint — until enrollment completes the response data may be a simple status string rather than the card_id/token object.uni_fi_on_prem_credentials_delete_nfc_enrollment_sessionDelete an NFC card enrollment session in UniFi Access. Returns an empty 204 response on success. Required: session_id.uni_fi_on_prem_credentials_download_qr_code_imageDownload a QR code image for a credential in UniFi Access. Returns: card_id, token. Required: qr_code_id.get_single_uni_fi_on_prem_nfc_card_by_idGet a single NFC card in UniFi Access by its token. Returns: token, display_id, status, alias, card_type, note, user_id, user_type, user. Required: id.list_all_uni_fi_on_prem_nfc_cardsList all NFC cards in UniFi Access, optionally filtered by alias. Returns: token, display_id, status, alias, card_type, note, user_id, user_type, user. Optional: alias.delete_a_uni_fi_on_prem_nfc_card_by_idDelete an NFC card in UniFi Access by its token. Returns a success confirmation. Required: id.update_a_uni_fi_on_prem_nfc_card_by_idUpdate an NFC card in UniFi Access. Returns the updated card object including token, display_id, status, alias, card_type, note, user_id, user_type, and user. Required: id. Requires UniFi Access version 3.1.30 or later.uni_fi_on_prem_nfc_cards_import_third_partyImport third-party NFC card IDs into UniFi Access by uploading a CSV file. Returns an array of imported card records, each containing alias, nfc_id, and token. An empty token indicates the import failed for that record. Required: file (CSV with NFC IDs in uppercase hexadecimal and optional unique aliases). Duplicate aliases cause the import to fail. Requires UniFi Access v3.3.10 or later.list_all_uni_fi_on_prem_touch_passesList all Touch Passes in UniFi Access, optionally filtered by status. Returns: id, card_id, card_name, status, last_activity, activated_at, expired_at, user_id, user_name, user_email, user_status, user_avatar, bundles.uni_fi_on_prem_touch_passes_searchSearch Touch Passes in UniFi Access by a condition such as card ID or user name. Returns: id, card_id, card_name, status, last_activity, activated_at, expired_at, user_id, user_name, user_email, user_status, user_avatar, bundles. Required: condition. Requires UniFi Access version 3.2.20 or later.uni_fi_on_prem_touch_passes_list_assignableList all suspended or inactive Touch Passes available for reassignment in UniFi Access. Returns: id, card_id, card_name, status, last_activity, activated_at, expired_at, user_id, user_name, user_email, user_status, user_avatar, bundles. Requires UniFi Access version 3.2.20 or later.update_a_uni_fi_on_prem_touch_pass_by_idUpdate a Touch Pass in UniFi Access by modifying its card name, changing its status (ACTIVE or SUSPENDED), or unbundling devices. Returns: id, card_id, card_name, status, activated_at, expired_at, last_activity, user_id, user_name, user_email, user_avatar, user_status, bundles. Required: id.get_single_uni_fi_on_prem_touch_pass_by_idGet detailed information about a specific Touch Pass in UniFi Access by id. Returns: id, card_id, card_name, status, activated_at, expired_at, last_activity, user_id, user_name, user_email, user_avatar, user_status, bundles. Required: id.uni_fi_on_prem_touch_passes_purchasePurchase new Touch Passes in UniFi Access. Returns the purchased pass object including id, card_id, card_name, status (INACTIVE), last_activity, bundles, and unassigned user fields (user_id, user_name, user_email, user_avatar, user_status). Required: count. A valid payment method must be configured in the Access web application before using this API.uni_fi_on_prem_spaces_get_door_group_topologyFetch the door group topology in UniFi Access, showing the hierarchical arrangement of door groups including the building (all doors) and custom access groups. Returns: id, name, type, resources.create_a_uni_fi_on_prem_door_groupCreate a new door group in UniFi Access. Returns: id, type. Required: group_name, resources. The group name must be globally unique.get_single_uni_fi_on_prem_door_group_by_idGet a single UniFi Access door group by id. Returns: id, name, type, resources. Required: id.update_a_uni_fi_on_prem_door_group_by_idUpdate a UniFi Access door group by id. Returns: id, name, type, resources. Required: id.list_all_uni_fi_on_prem_door_groupsList all door groups in UniFi Access. Returns each group's id, name, type, and resources. The list does not include groups of type building.delete_a_uni_fi_on_prem_door_group_by_idDelete a UniFi Access door group by id. Returns: success. Required: id.get_single_uni_fi_on_prem_door_by_idGet a single UniFi Access door by id. Returns: id, name, full_name, type, door_lock_relay_status, door_position_status, floor_id, is_bind_hub. Required: id.list_all_uni_fi_on_prem_doorsList all UniFi Access doors. Returns: id, name, full_name, type, door_lock_relay_status, door_position_status, floor_id, is_bind_hub.uni_fi_on_prem_doors_remote_unlockRemotely unlock a UniFi Access door by door_id. Returns a success acknowledgment string confirming the door unlock. Required: door_id. If either actor_id or actor_name is provided, both must be included.uni_fi_on_prem_doors_set_temporary_locking_ruleSet a temporary locking rule for a UniFi Access door by door_id. Returns: type, ended_time. Required: door_id, type. UniFi Access 1.24.6 or later required.uni_fi_on_prem_doors_get_locking_ruleFetch the current locking rule for a UniFi Access door by door_id. Returns: type, ended_time. Required: door_id. UniFi Access 1.24.6 or later required.uni_fi_on_prem_doors_set_emergency_statusSet the emergency status (lockdown and/or evacuation) for a specific door in UniFi Access. Returns a success acknowledgment string. Required: door_id.uni_fi_on_prem_doors_get_emergency_statusFetch the current emergency status for a specific door in UniFi Access. Returns: lockdown, evacuation. Required: door_id.list_all_uni_fi_on_prem_devicesList UniFi Access devices. Returns: id, name, type, alias. Pass refresh=true to bypass the device cache and fetch real-time info (may be slower).uni_fi_on_prem_devices_get_access_method_settingsFetch the current access method settings of a UniFi Access device. Returns: access_methods, device_id. Required: device_id. UniFi Access version 3.3.10 or later.uni_fi_on_prem_devices_trigger_doorbellsTrigger doorbells on UniFi Access intercom devices. Optionally specify an intercom directory name via room_name to target a specific intercom, or set cancel to true to stop a previously triggered doorbell that is still ringing. Returns a success acknowledgment (the string "success" or null) indicating the doorbell trigger request was accepted.uni_fi_on_prem_devices_bulk_updateUpdate the access method settings of a UniFi Access device, including NFC, Bluetooth tap/unlock/shake, PIN code, Face Unlock, QR code, and Touch Pass. Returns: access_methods, device_id. Required: device_id. Requires UniFi Access Version 3.3.10 or later.list_all_uni_fi_on_prem_system_logsList UniFi Access system logs filtered by topic, with optional time-range and actor filters. Returns each log entry including actor, authentication, event, target, and tag. Required: topic.uni_fi_on_prem_system_logs_exportExport UniFi Access system logs to a CSV file filtered by topic and time range. Returns a success confirmation string. Required: topic, since, until, timezone. The since and until period cannot exceed one month.uni_fi_on_prem_system_logs_list_resourcesList resources in UniFi On-Prem system logs, returning access-policy-style records with their associated door groups/doors and schedule assignments. Returns: id, name, resources, schedule_id.uni_fi_on_prem_system_logs_list_static_resourcesList static resource policies (door groups and doors) recorded in UniFi On-Prem system logs. Returns: id, name, resources (each with id and type), schedule_id.uni_fi_on_prem_identity_send_invitationsSend UniFi Identity invitations to invite users to join UniFi Identity in unifionprem. Returns an array of invitation results containing error_code, error_msg, user_email, and user_id for any failed invitations; an empty array indicates all invitations succeeded. Required: user_id and email for each invitation entry.uni_fi_on_prem_identity_list_available_resourcesList available UniFi Identity resources in unifionprem grouped by type. Returns: ev_station, vpn, wifi. Accepts an optional resource_type filter.uni_fi_on_prem_identity_assign_user_resourcesAssign UniFi Identity resources to a user in unifionprem by specifying a resource type and list of resource IDs. Returns an empty 204 response on success. Required: user_id, resource_type, resource_ids.uni_fi_on_prem_identity_list_user_resourcesList the UniFi Identity access policies (resources) assigned to a specific user in unifionprem. Returns: id, name, resources, schedule_id. Required: user_id. Requires UniFi Access 1.24.6 or later.uni_fi_on_prem_identity_assign_group_resourcesAssign UniFi Identity resources to a user group in unifionprem. Returns an empty response on success (data is null). Required: user_group_id, resource_type, resource_ids.uni_fi_on_prem_identity_list_group_resourcesFetch the UniFi Identity resources assigned to a user group in unifionprem. Returns: ev_station, vpn, wifi, camera. Required: user_group_id.uni_fi_on_prem_notifications_fetch_websocketFetch real-time notifications from UniFi Access via WebSocket, receiving events such as doorbell rings and doorbell status changes. Returns: channel, token, device_id, device_type, device_name, door_name, controller_id, floor_name, request_id, clear_request_id, in_or_out, create_time, reason_code, door_guard_ids, connected_uah_id, room_id, host_device_mac, remote_call_request_id. UniFi Access…uni_fi_on_prem_webhooks_list_eventsList supported webhook events in UniFi Access. Returns: event, description. Some events require UniFi Access version 3.3.10 or later.list_all_uni_fi_on_prem_webhooksList webhook endpoints configured in UniFi Access. Returns: id, endpoint, name, events, secret, headers.create_a_uni_fi_on_prem_webhookCreate a webhook endpoint in UniFi Access to receive event notifications. Returns: id, endpoint, name, events, secret, headers. Required: name, endpoint, events.update_a_uni_fi_on_prem_webhook_by_idUpdate an existing webhook endpoint in UniFi Access by id. Returns: id, endpoint, name, events, secret, headers. Required: id, name, endpoint, events.delete_a_uni_fi_on_prem_webhook_by_idDelete a webhook endpoint in UniFi Access by id. Returns an empty 204 response on success. Required: id.uni_fi_on_prem_webhooks_allow_ownerAllow a webhook endpoint owner to receive webhook events in UniFi Access. Returns a success confirmation string. Required: endpoint_id.uni_fi_on_prem_api_server_upload_certificateUpload an HTTPS certificate to the UniFi Access API server on port 12445 in unifionprem. Returns the string 'success' on completion. Required: key, cert. Restarting the Access application is necessary to apply the changes.uni_fi_on_prem_api_server_delete_certificateDelete the HTTPS certificate from the UniFi Access API server on port 12445 in unifionprem. Returns the string 'success' on completion. Restarting the Access application is necessary to apply the changes.list_all_uni_fi_on_prem_group_usersList users directly assigned to a user group in UniFi Access, excluding users in any subgroups. Returns: id, first_name, last_name, full_name, alias, email, email_status, employee_number, phone, onboard_time, status, user_email, username, avatar_relative_path. Required: user_group_id.No tool matches.
One URL per connected UniFi On Prem account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
One call returns every UniFi On Prem tool for an account, with its description and JSON schema, ready for any LLM framework.
GEThttps://api.truto.one/integrated-account/<id>/tools
Tools come as JSON schema, so they plug into any agent framework.
Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.
Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.
Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.
Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.
Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.
Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.
03Unified API
Ask for groups or users the same way for UniFi On Prem and every other User Directory app. Truto makes UniFi On Prem’s own call and returns the same data shape.
Add-on: $499 per category a month. 30-day trial on Free.
UniFi On Prem is mappedSame call, same data shapeGet a free sandbox →
No resource matches.
04Sync and webhooks
A sync job reads UniFi On Prem records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.
On every plan, including Free.
05Custom actions
Need a UniFi On Prem endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any UniFi On Prem path through the Custom API.
On every plan, including Free. Truto CLI →
For your own AI tools
Truto puts UniFi On Prem in the product you build. To use UniFi On Prem yourself, in the AI your team already has, we recommend Elaichi.
For your product
Give the AI in your product access to each customer’s own UniFi On Prem account, with one MCP server per connected account.
Rather talk it through? Book a demo

For your own team
Connect your company’s UniFi On Prem once, then ask in the AI you already use, with exactly your own access.
Works in
From the team behind Truto · 14-day free trial
Use cases
HR and IT orchestration platforms can create UniFi users, assign them to role-based user groups, upload profile photos, and send Identity app invitations the moment an employee is hired — eliminating manual badge issuance on day one.
Front-desk and visitor management SaaS can create UniFi visitors, generate time-bound PIN codes, QR codes, or license plate entries tied to a schedule, and automatically revoke access when the visit ends.
Coworking and desk-booking platforms can assign access policies, NFC cards, or Touch Passes scoped to a booking window, so members only unlock the rooms and floors they've paid for during the exact time they've booked.
Security monitoring platforms can consume UniFi webhooks and system logs to build audit trails of door access, detect anomalies, and trigger emergency lockdowns programmatically when a threat is identified.
Property management and delivery SaaS can remotely unlock doors, set temporary locking rules for events, and pre-provision license plates for expected vehicles — all without operators touching the UniFi console.
What you can build
Issue, assign, and revoke NFC cards, PIN codes, QR codes, Touch Passes, and license plates for both users and visitors from within your product's UI.
Create UniFi user groups mirroring your customer's org structure and bind them to access policies and schedules so permissions propagate automatically as membership changes.
Surface one-click remote door unlock, temporary locking rules, and facility-wide emergency status toggles inside your security or operations dashboard.
Subscribe to UniFi webhooks and websocket notifications to react to doorbell rings, badge scans, and access denials in real time within your product.
Assign physical access alongside network resources like WiFi, VPN, and EV charging to individual users or groups through a single onboarding flow.
Pull and export UniFi system logs on a schedule to power audit reports showing exactly who accessed which door, when, and with which credential.
Security
Customer records are not kept. Truto fetches them when your product asks and passes them on.
Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.
SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre →
How it works
Use Truto’s frontend SDK to connect your customer’s UniFi On Prem account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.
Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.
Truto’s Proxy API is a 1-to-1 mapping of the UniFi On Prem API. You call us, we call UniFi On Prem, and pass the response back in the same cycle.
Every response follows a single format across all integrations. We translate UniFi On Prem’s pagination into unified cursor-based pagination. Data is always in the result attribute.
FAQs
Because UniFi On Prem runs on the customer's own hardware, users authenticate the integration by providing the controller's hostname/URL and an API token generated inside their UniFi console. Truto handles credential storage, refresh, and secure request routing so your app never touches the raw secrets.
Yes. UniFi models these as separate resources — users (with groups, access policies, and NFC/PIN/Touch Pass credentials) and visitors (with time-bound PIN, QR, NFC, and license plate credentials). Truto exposes distinct endpoints for each so you can build the right workflow for each persona.
Yes. UniFi On Prem supports both webhooks and a websocket notification channel. You can list available webhook events, register endpoints, and stream real-time signals such as intercom triggers and access attempts into your product.
Yes. UniFi users and user groups are mapped into Truto's Unified User Directory API, so if your product already integrates with other HRIS or directory providers through that unified schema, UniFi On Prem plugs in without additional modeling work. You can still call UniFi-specific endpoints directly when you need granular capabilities like credential assignment.
You can remotely unlock doors, set temporary locking rules (e.g., hold-open for an event), toggle emergency lockdown status, retrieve the door group topology, and query per-door locking and emergency state — all via Truto endpoints.
UniFi uses an enrollment session pattern for NFC. Truto exposes endpoints to start an NFC enrollment, poll its status, cancel the session, and then assign the resulting card to a user or visitor. PIN codes and QR codes can be generated directly and assigned in a single call.
UniFi On Prem
Sign up free, connect a test UniFi On Prem account and make your first call today. No card and no sales call.