For your IT team, developers and the AI assistants they work with
Want AI to build your integration? Here is everything it needs.
A sandbox copy of the Ring Round API, for your own technical staff, or the AI assistant they are working with, to build and test an integration before it ever touches your real account: made-up phones, staff and teams, behind your real Ring Round sign-in, holding no real data. A validator that tells you whether what your code sends and expects matches the real API. And a cookbook of integrations care providers ask for. Build and check the whole thing first, against fake records; when it works, point it at your organisation's own data.
At a glance
Built
Your real sign-in, fake data
The sandbox answers 17 of the public API's read and command calls, with the same paths after /api/sandbox and the same JSON shapes, behind the same real admin sign-in as the real API. Every record it returns is still made up.
Built
A validator for every shape
POST /api/sandbox/validate checks any request body or response against the real OpenAPI file, and names each field that is wrong and why.
By design
No real data, at any point
The sandbox cannot reach any organisation's records: they are not hidden from it, it has no way to look. Personal data only enters the picture when you switch to your own account.
The sandbox address
The sandbox runs on the same Ring Round service as your real account, at https://<ring-round-address>/api/sandbox/. That address (your organisation's own console and API address, separate from this marketing site) is not public yet, so if you do not already have it, ask us and we will send it. You will still need your own administrator token to call it, exactly as for the real API.
In plain English
How it works, from idea to live
You do not need to follow the technical detail on this page yourself. It is written so that the person or the AI coding assistant building your integration has everything they need. What matters is the shape: build with pretend data, check it, then switch it on.
Describe what you want
"When someone leaves in our HR system, mark them as having left in Ring Round." Give your developer or AI assistant that, plus a link to this page and the OpenAPI file.
Build it against the sandbox
The integration is written and run against made-up phones and staff. It can be run as often as you like, and nothing it does can touch a real phone or a real person's record.
Check it with the validator
Every message the integration will send, and every answer it expects back, is checked against the real API's description. Mistakes are found now, not in front of your own staff.
Flip the switch
Swap the sandbox address for your organisation's own. Your real admin token already works for this too; there is no separate, more narrowly scoped token today, so use an administrator whose own access is already limited to what the integration needs. The integration's code does not change. From that point it works with your real records.
Data protection
Safe by construction, not by promise
Building an integration usually means someone, or something, handling real staff records long before the integration is ready. With the sandbox, nobody does. There is no real personal data to share with a contractor or an AI tool during development, so there is nothing to put in a data-sharing agreement for that stage.
It cannot look anywhere else. The sandbox is a small, fixed set of made-up records built into the service. It is not connected to the database that holds organisations' records at all. A request can choose which made-up record to return, never where to look.
Fake on sight, three ways. Every record carries the organisation id 999999999, which no real organisation can have. Every branch and team name ends (SANDBOX). Every email address ends @sandbox.example.invalid, a domain reserved so that it can never exist.
Real data starts at the switch. Your organisation's records are only reachable with your own address and an administrator's token, under the same rules as the real API: scoped to what that administrator can see, and every change recorded in your activity record.
Checked before it goes live. The validator means the first real call is not the first test. What reaches your records has already been checked against the real API's description.
Once an integration is live, it handles your staff data in your own systems and ours. Our side of that is covered by the data processing agreement; your side, and any AI tool you use with live data, is for your own data protection arrangements.
The switch, in full
Keep the address and token as settings, not in the code. The address is the one thing that has to change between the sandbox and live. There is no separate, more narrowly scoped token today: use an administrator's token whose own access in the console is already limited to what the integration needs:
# While you build: the sandbox base URL. Your real sign-in, fake data.
RING_ROUND_BASE_URL=https://<ring-round-address>/api/sandbox
RING_ROUND_TOKEN=<an administrator's sign-in token>
# To go live: your organisation's own address. The same kind of token.
RING_ROUND_BASE_URL=https://<your-ring-round-address>/api/admin
RING_ROUND_TOKEN=<an administrator's sign-in token>
The sandbox checks the Authorization header exactly as the real API does, so get it right from the start -- the same real admin token your code uses for the real API also works here.
Each sandbox call is the real call with /api/admin swapped for /api/sandbox. Its parameters, response shape and errors are the ones in the API reference; follow the link for the detail. This table is generated from the same OpenAPI file, so the two cannot disagree.
CommandSent Checks the request and answers exactly as the real API does, but sends nothing: there is no phone on the other end, and the command is not added to the history.
The sandbox's records are fixed, so the calls that change records are not part of it. Build them as normal, check each request body with the validator, and they run for the first time when you switch to your own account. Calls that take no body need only the right ids in the path.
POST/api/admin/devices/{serial}/sms-commands: Send a command by text message (sendPhoneCommandBySms). Check its body with the validator.
POST/api/admin/staff: Add a person (createStaff). Check its body with the validator.
PUT/api/admin/staff/{id}: Update a person (updateStaff). Check its body with the validator.
A missing or invalid token answers 401, exactly as the real API does. It never answers 403 (the staff-API-enabled check for your organisation), since the sandbox never looks at your organisation's settings at all: handle 403 before going live.
The site_id filter on the staff and team lists is accepted but not applied: the whole data set is small. limit and offset work.
It allows 120 calls a minute from one address, then answers 429 with a short plain-text message. Wait a minute and carry on.
Unknown serials and ids get 404 with a short plain-text body, as in the real API. A LOCK or SYNC to a real serial number gets 404 too: there are only the six sandbox phones.
Before you go live
The validator
The validator answers one question: does this JSON match what the real API says it should be? It reads the real API's OpenAPI description, not a copy, and lists every field that is wrong, missing or the wrong type, with the reason. It never contacts an organisation's records either.
Use it in two ways.
By shape. Send resource as the name of any data shape in the reference, such as NewStaff, UpdateStaff, CommandRequest or Phone. Add [] for a list, such as Phone[].
By operation. Send operation as an operation id from the reference, direction as request or response, and for a response the status_code. Useful for calls the sandbox does not run, such as createStaff.
The answer is always 200 with valid, and errors as a list of field and message pairs, empty when valid; the order of errors is not fixed. A 400 means the question itself was malformed, for example an operation id that does not exist; its plain-text body lists the ones that do.
A good habit: in your integration's own tests, send every request body it builds and every response it parses through the validator, so a mistake fails the test rather than a live sync.
Checking a new starter before sending it
POST /api/sandbox/validate
Content-Type: application/json
{
"resource": "NewStaff",
"payload": {
"site_id": 1,
"name": "Priya Shah",
"phone_number": "call the office"
}
}
200 OK
{
"valid": false,
"resource": "NewStaff",
"errors": [
{ "field": "email", "message": "required property is missing" },
{ "field": "phone_number",
"message": "does not match required pattern ^\\+?[0-9 ()-]{7,20}$" }
]
}
Checking by operation
A request your code will send, and a response it received:
Three branches (Riverside House, Oak Lodge and Head Office, each ending (SANDBOX), ids 1 to 3), six phones, seven people and three teams. The records are fixed, and each one is there to show a situation real organisations have, not the same happy case repeated. If an integration handles all of them, it is ready for most of what it will meet.
Phones
Sandbox phones and what each one shows
Serial
Branch
What it shows
SANDBOX-0001
Riverside House
Healthy and connected, 76% battery. Held by Priya Shah. Has a mixed command history: an acknowledged LOCK, a SYNC still marked sent, and a LOCK by text message that failed.
SANDBOX-0002
Riverside House
Set up, but has never connected or reported: health and presence fields are null or left out. Nobody holds it, and it has no command history.
SANDBOX-0003
Oak Lodge
Connected, but the battery is at 11% and not charging. One SYNC is pending. Nobody holds it.
SANDBOX-0004
Oak Lodge
Part-way through set-up: status provisioning, not yet verified, no phone number, model or telemetry.
SANDBOX-0005
Riverside House
Shared: held by two people at once, Aisha Khan and Sam Wright. Charging, 54% battery.
SANDBOX-0006
Head Office
Reassigned: Jordan Lee held it until a month ago (a closed assignment, shown with include_history=true), and Morgan Patel holds it now.
Staff
Sandbox staff and what each record shows
Id
Name
What it shows
1
Priya Shah
Holds SANDBOX-0001. In the night shift team. external_ref SANDBOX-HR-0001.
2
Tom Baker
Holds no phone. Every optional field is null, including external_ref, so there is nothing to match on but name and email. In the organisation-wide team.
3
Aisha Khan
Shares SANDBOX-0005 with Sam Wright. In the night shift team.
4
Sam Wright
Shares SANDBOX-0005 with Aisha Khan. In no team.
5
Jordan Lee
Held SANDBOX-0006 until it was reassigned. Holds nothing now.
6
Morgan Patel
Holds SANDBOX-0006 now. Was in the night shift team; that membership has ended, so it no longer appears in either team list.
7
Alex Rivers
Marked as having left. Not in the staff list, but still returned when asked for by id, with deleted_at set.
Teams
Sandbox teams and what each one shows
Id
Name
What it shows
1
Night Shift -- Riverside (SANDBOX)
Belongs to Riverside House. Two current members (Priya Shah, Aisha Khan) and one ended membership.
2
Admin Floaters (SANDBOX)
Organisation-wide: site_id is null. Description is empty. One member, Tom Baker.
3
New Starters (SANDBOX)
Belongs to Oak Lodge. No members at all.
Integration cookbook
Integrations worth building
Six integrations care providers ask about, each with the calls it uses and the sandbox records to test it against. Hand any one of them to your developer or AI assistant as a starting brief. They are starting points; your own systems decide the details.
Keep the staff record in step with your HR system
What it does. Starters, changes and leavers recorded in HR appear in Ring Round without anyone typing them twice. Because each phone's contact list follows the staff record, colleagues' phones stay current too.
How. Store your HR system's own id for each person in external_ref. On a schedule, or when HR reports a change: read listStaff and match people by external_ref. Someone in HR but not in Ring Round is added with createStaff. A changed name, email, job title, phone number or branch is sent with updateStaff, which only changes the fields you send. A leaver is sent with markStaffAsLeft, which cannot be undone through the API, so only send it for a confirmed leaver.
Test it against. Tom Baker (id 2) has no external_ref: decide whether to match him on email or flag him for someone to check, never guess. Alex Rivers (id 7) has left: he is missing from listStaff but returned by getStaff, so a sync must not try to add him again. Validate every NewStaff and UpdateStaff body your code builds; the real API answers 409 when a change conflicts with an existing record, so handle that as "needs a person to look", not as a retry.
Teams that follow the rota
What it does. Your rota or scheduling system already knows who is on nights at which branch. Mirror that into Ring Round teams, and the right colleagues' numbers are on each phone's contact list without the office keeping two lists.
How. Map each rota group to a team from listTeams. Compare the rota's people with listTeamMembers, then add with addTeamMember and remove with removeTeamMember. Removing keeps the membership as history, and the person can be added again at any time. Change only the differences, rather than removing everyone and adding them back, so contact lists are not rebuilt for no reason.
Test it against. Team 1 has two current members and one ended membership (Morgan Patel), which must not be counted as current. Team 2 belongs to no branch (site_id is null). Team 3 has no members: your code should handle an empty list, not treat it as an error. listPhoneTeams on SANDBOX-0005 shows which team contact lists a shared phone receives.
Who has which phone, for payroll and asset records
What it does. A monthly list of who holds which work phone, for a phone allowance or deduction in payroll, an asset register, or the leaver checklist ("has their phone come back?").
How. For each person in listStaff, read listStaffPhones; or for each phone in listPhones, read listPhoneHolders. Add include_history=true to see past holders with assigned_at and unassigned_at, which is what you need to work out who held a phone during a given pay period.
Test it against.SANDBOX-0005 is held by two people at once: decide how a shared phone is split, or whether it is charged at all. SANDBOX-0006 changed hands a month ago, so a pay period can span two holders. Tom Baker and Jordan Lee hold nothing now, and SANDBOX-0002, 0003 and 0004 are held by nobody: phones in a drawer are worth reporting too.
Phone health on the dashboard you already use
What it does. Shows which phones are connected and which are running low, in the operations dashboard, spreadsheet or reporting tool the office already looks at each morning, so a carer is not sent out with a flat phone.
How. Read listPhoneHealth every few minutes; one call returns every phone, up to 500 a page. Join it to listPhones for the branch and phone number, and to listPhoneHolders for who has it. Flag low battery, phones not connected, and phones whose last_telemetry_at is old.
Test it against.SANDBOX-0003 is connected at 11% and not charging. SANDBOX-0002 has never connected, so every reading is null: show it as "never connected", not as 0% battery. SANDBOX-0004 is still being set up (status provisioning) and should not raise an alarm. Validate a whole response with resource PhoneHealth[].
The right number in your care management system
What it does. Your care management system holds carers' visits and contact details. Keep each carer's work phone number in it current from Ring Round, so the office and on-call staff always ring the phone the carer is actually holding.
How. Match people between the two systems with external_ref or email. For each person, read listStaffPhones and then getPhone for its device_number. Ring Round does not send notifications out yet, so run this on a schedule, and after a phone is handed over.
Test it against. Sam Wright and Aisha Khan share one phone, so the same number belongs to two carers. Morgan Patel's phone was someone else's last month: check you write the current holder only. SANDBOX-0004 has no number yet (device_number is null). Tom Baker has no work phone: leave his record alone rather than clearing it.
Ring Round does not read or store care records. This integration only sends phone numbers one way, into your system.
A leaver's phone, locked with a message
What it does. When HR confirms someone has left, their record is closed and their work phone shows a lock screen asking for it to be returned.
How. Find the person by external_ref, read listStaffPhones, then for each phone they hold alone send sendPhoneCommand with {"command_type": "LOCK", "payload": {"message": "Please return this phone to the office."}}. Unassign it with unassignPhone and close the record with markStaffAsLeft. A 201 means Ring Round sent the command; whether the phone received it shows later in listPhoneCommands as pending, sent, acked or failed.
Test it against. The sandbox answers LOCK and SYNC exactly as the real API does, with a 201 and a command_log_id, and a 400 for anything else. Do not lock SANDBOX-0005 because one of its two holders left: someone else still uses it. Read SANDBOX-0001's history for every command status, including a failed one.
The command calls work today. The phone side of lock and resync arrives with our Android Enterprise work: once that is live, a real phone will carry them out through Google's Android Management API rather than Ring Round's own channel, which is not live yet.
Before you switch to your own account
Every request body the integration builds, and every response it reads, has passed the validator.
It has been run against every sandbox record above, including the shared phone, the phone that never connected, the person with no phone and the person who has left.
It handles 401: an administrator's token lasts at most 24 hours, and stops working if they are disabled or signed out. It handles 403, which means the staff API is not switched on for your organisation.
It treats 404 as "not there, or not yours to see", and 409 as a conflict for a person to look at. Error bodies are plain text, not JSON.
The address and token are settings, not code, and the token is kept somewhere safe, not in a shared document or a chat with an AI tool.
The token belongs to an administrator who can see only what the integration needs: one branch, if that is enough. Every change it makes will be in your activity record.
Ready to connect, or want the sandbox address?
Access to the real API is arranged with us for now. Tell us what you are connecting, and we will send the sandbox address and set up access when you are ready.
Join the waiting list and we will be in touch to arrange a 30-minute call on a real, working console. Ring Round is £4.00 per person, per month. Bring your questions about inspection, contracts or the phones you already have. No obligation, and no sales sequence afterwards.
We only use what this page needs to work, by default. Choose whether to allow anything else below -- you can change your mind at any time from "Cookie preferences" in the footer. Full detail is in our cookie policy.
Strictly necessaryAlways on
Needed for the site to work and stay secure, including remembering this choice itself. These cannot be switched off, and nothing here needs your permission.
Would help us see which pages are useful and find what doesn't work well. Off unless you choose it. Not used on this website today.
Would remember optional choices that are not needed to use the site, such as a setting you picked on a previous visit. Off unless you choose it. Not used on this website today.
Would be used for advertising or to track you across other websites. Off unless you choose it. Not used on this website today.