API Keys

API Keys is where you create keys that let another piece of software (an automation tool, your own app, a reporting or CRM system) connect to the Useroam panel securely. Keys are on the API Keys tab of My Profile.

What is it for?

With a key, software can pull almost every report you see in the panel: 5651 signed logs, hotspot usage (connected guests, unique visitors, busy hours), Bumerang campaign results, survey answers, QR menu orders, hotel requests, task/maintenance/stock reports, event attendance and retail reports.

Every key is bound to a single device. The key sees the data of the device that was selected in the panel when it was created; it cannot reach another device or another customer's data. If you have several devices, create a separate key for each.

When to use it

If you have no such need, you do not have to use this tab.

Before you start

Step by step

Step 1: Open the API Keys tab

Open My Profile with the person icon in the top bar and switch to the API Keys tab. Under the title you see "These keys can only access this device: device name"; check that you are on the right device. If there are no keys yet, "You do not have an API key yet. Use the button above to create one." appears. Click New Key on the right.

API Keys tab, empty state, New Key button highlighted

Step 2: Fill in label, IP, access and validity, then click Create

The yellow box warns that the key is shown only once. Click Create.

Step 3: Copy the key right away

A green New API Key Created box appears at the top. The key starts with usr_. Click Copy and send the key to your developer through a secure channel. When you refresh the page the box disappears and the key is never shown again.

New key box with Copy button; key list below (sample data, key masked)

Step 4: Give the documentation link to your developer

The API documentation (all endpoints) link under the title, or the button in the How to use? window, opens the documentation with every endpoint's parameters, required access type and sample responses: panel.useroam.com/api/docs. Requests can be tried there in the browser.

How to use the API window

In short:

  1. Send the header Authorization: Bearer usr_... with every request.
  2. Call GET https://panel.useroam.com/api/v1/devices.php first; the returned nasid (an encrypted text such as OT37I3...) is the nasid parameter for every other request. The device number you see in the panel does not work.
  3. List the ready reports with reports.php?nasid=... and run one with reports.php?nasid=...&key=gunluk_ziyaret_trendi&gun=30.
EndpointWhat it returnsRequired access
me.php, devices.phpKey info and its deviceAny key
reports.phpMore than 70 ready reports (each report has its own module)The report's module
logs.php5651 signed log list and download links5651 signed logs
hotspot.phpUsage summary and daily series; Excluded Users report; g=radar returns the panel live Radar screenHotspot usage
bumerang.phpCampaigns, results, deliveries; rapor= returns the 12 ready-made panel reports; g=komuta Marketing Command Center; g=misafir360 Guest 360 segmentsBumerang campaigns
anket.phpSurveys, answer distributions, NPS, raw answersSurveys
menu.php, menu-report.phpMenu analytics, orders, calls, feedback; g=rapor returns the panel Menu ReportQR Menu
otel.php, otel-report.phpHotel requests, speed package sales; g=rapor returns the panel Hotel ReportHotel
operasyon.phpTask board, restaurant requests, maintenance, stock; g=rapor returns the panel Operations reportOperations
etkinlik.phpEvents, attendance report, attendeesEvents
retail-report.php, coupon-redeem.phpRetail report (g=rapor returns the panel Retail report), coupon check and redeemRetail and coupons
guests.php, consents.php, logout-users.php, delete-users.phpGuest list, marketing consents, logout/deletion requestsGuest list and marketing consents

Important: requests must come from your whitelisted IPs; log download links are valid for 5 minutes; a request to an endpoint the key has no access to returns 403 scope_denied; all API usage is written to the audit log.

Step 5: Revoke unneeded or leaked keys

Click the red cross (Revoke) at the end of an active key's row and confirm. The row moves down with a grey Revoked badge and requests with that key are refused. Every user with full rights on the device can revoke that device's keys, whoever created them.

Key list columns

ColumnWhat it shows
LabelThe name you gave.
KeyThe first 12 characters of the key. The full key is never shown again.
IP WhitelistAllowed addresses.
AccessWhat the key can read (e.g. 5651 signed logs, QR Menu).
Created byThe user who created the key.
Created / ExpiresCreation time and last valid day.
Last usedWhen and from which IP it was last used; a dash if never.
UsageTotal number of requests.
StatusActive (green), Expired (yellow) or Revoked (grey).

The list shows all keys of the currently selected device.

Warnings and error messages

MessageWhat to do
You are not allowed to manage API keys for this device.Ask your account administrator to create the key.
Select at least one access type.Tick at least one box under "What can it access?".
IP whitelist cannot be empty.Enter at least one IP address.
Invalid IP: ...Write the address like 203.0.113.10.
Invalid or too wide IP block (at most /24): ...Write the block as 203.0.113.0/24 or narrower; wider blocks are not accepted for security.
Validity period must be between 1 and 365 days.Enter a number from 1 to 365.

FAQ

I forgot to copy the key. It cannot be shown again. Revoke the old key and create a new one.

Can one key read several of my devices? No. For security each key is bound to one device; create one key per device.

Phone numbers in reports have asterisks. The key does not have "Guest list and marketing consents". If really needed, create a new key with that access.

Can I get the same reports I see in the panel? Yes. The API uses the same calculation as the panel report, so the results are identical. Bumerang: bumerang.php?rapor=ozet (other types: kampanya, tiklayan, donus, misafir, menu, urun, anket, cagri, otel, izinli, otel_ariza). Hotel: otel.php?g=rapor&r=ozet (tip, personel, oda, sla, gelir). Operations: operasyon.php?g=rapor. QR Menu: menu.php?g=rapor. Marketing Command Center: bumerang.php?g=komuta. Guest 360: bumerang.php?g=misafir360 (segment with sf=sadik for example, page with sy=2; searching by name or phone with q= needs the guest access). Radar: hotspot.php?g=radar. Retail: retail-report.php?g=rapor. The panel filters (date, channel, staff, room and so on) work with the same names. Add &lang=en for English titles. In Bumerang reports phone numbers and names are always masked, as in the panel, even when the guest access is enabled.

Can I extend an expired key? No. Create a new key and replace it in your software.

We moved the device to another account. Keys created for that device stop working automatically; create a new key in the new account.


Revizyon #7
tugay tarafından 11 Ağustos 2026 12:13:14 oluşturuldu
tugay tarafından 8 Ekim 2026 14:53:17 güncellendi