Skip to main content

Mobaro API parameter reference

Pass ID filters, paging, date filters and sorting to the Mobaro API, and see which parameters each endpoint accepts.

Written by Logan Bowlby

Overview

This article is a reference for the query parameters you'll use most with the Mobaro API: ID filters, paging, date filters and sorting. Parameters differ between endpoints, so each section says which endpoints accept what.

For the complete, always-current list, open the interactive Mobaro API documentation. It's also linked from the book icon (tooltip Open Documentation) on the API Keys panel under Configuration › API. New to the API? Start with Getting started with the Mobaro API.

At a glance

Who can do this

Anyone calling the Mobaro API with an API key

Where

Full reference: Configuration › API › API Keys › Open Documentation

Works on

Public API

Availability

Enabled per organization by Mobaro — ask your CSM


How API filters combine

Parameters go in the query string. To pass several values for the same filter, repeat the parameter:

GET /api/customers/results?Locations=locations/345678-A&Locations=locations/345679-A

Different filters combine: a record must match all of them. Several values for one filter match any of them. One exception: on Results, Locations and LocationGroups are merged into one list, so a Result matches if its Location is in either.


API ID filters

These filters take one or more full IDs, including the prefix.

⚠️ Heads-up: Mobaro IDs include the resource type as a prefix: resourceType/123456-A, for example locations/654321-A. Always include the prefix (checklists/, locations/ and so on). An ID without its prefix doesn't match anything, so a list filter returns no data.

Parameter

Accepted by

Example value

Checklists

Results

checklists/654321-A

Locations

Results, Assignments, Assets, Downtimes, Notes, Uptime periods

locations/345678-A

LocationGroups

Results, Assignments, Downtimes, Notes, Locations

locationgroups/789012-A

Assets

Results

assets/987654-A

Parents

Assets (parent asset)

assets/987650-A

Schedules

Results

schedules/101112-A

Slots

Results (schedule slot IDs)

Users

Results, Timesheets

users/123456-B

Definitions, DefinitionStates

Assignments

assignmentdefinitions/123-A

Competencies

Certifications

competencies/987-A


API paging

Parameter

Range and default

Example

Limit: how many items to return in one page

Most list endpoints: 1–128, default 128. Results (including resumable results): 1–20, default 20.

Limit=20

Offset: how many items to skip

0 or more, default 0

Offset=40

List responses are wrapped in an envelope: items (the page), amount (items in this page), offset, and total (matching items across all pages). Increase Offset by your Limit until offset + amount reaches total.

⚠️ Heads-up: A Limit above the maximum isn't trimmed down; the request fails with 400 Bad Request. On Results, Limit=100 fails. See Handling errors, rate limits, and retry logic.


API date filters

Date filters take ISO 8601 date-times. Include the time zone, for example 2025-07-01T00:00:00Z for UTC. Each …Before and …After pair can be used on its own or together to make a range. Which pairs exist depends on the endpoint:

Endpoint

Date filters

Results

Answered, Received, Updated, Approved, Disapproved (each with Before / After). Results have no Created filters.

Users, Locations, Assets, Notes, Assignments

Created, Updated

Downtimes

Created, Updated, Started

Uptime periods

Opened, Closed, Created, Updated

Timesheets

Started, Stopped, Updated

Certifications

Awarded

For example, AnsweredAfter=2025-06-01T00:00:00Z on Results, or CreatedAfter=2025-06-01T00:00:00Z on Users.


Sort API results

OrderBy takes one field name. Add a minus sign in front to sort descending: OrderBy=answered sorts oldest first, OrderBy=-answered newest first. An unsupported value returns 400 with the allowed values.

Endpoint

Allowed OrderBy values (add - for descending)

Results

received, answered, score, updated

Resumable results

received, answered, progress, updated

Assignments, Locations

name, created, updated

Users

name, email, created, updated

Assets, Notes

created, updated

Downtimes

created, resolved, closed

Uptime periods

opened, closed, created, updated

Timesheets

started, stopped, updated

Certifications

created, expiration, renewal

Assignment definitions, Calendars, Competencies, Location groups, Roles, Schedules, User groups

name


Assignment and Downtime filters

Parameter

Description

Example

Status (Assignments)

Current state: Created, Started or Finished. Repeat for several.

Status=Created&Status=Started

Definitions (Assignments)

Assignment Definition IDs

Definitions=assignmentdefinitions/123-A

DefinitionStates (Assignments)

Assignment Definition state IDs

Priority (Assignments)

true returns only Assignments marked as priority; false only those that aren't.

Priority=true

States (Downtimes)

Open, Blocking, Resolved or Closed

States=Open


Example Results query

This request returns up to 10 Results for that Checklist, Location and User, answered after 1 January 2025, newest first:

GET /api/customers/results?Checklists=checklists/123456-A&Locations=locations/654321-A&Users=users/111111-A&AnsweredAfter=2025-01-01T00:00:00Z&OrderBy=-answered&Limit=10

For a worked example of pulling Results on a schedule, see Pulling Results via the API.


Best practices

  • When you page through a large set, always set OrderBy so every page uses the same order.

  • Always use full, prefixed IDs in ID filters.


Frequently asked questions

How do I find the ID of a Location or other record?

List the resource through the API (for example GET /api/customers/locations) and read the id field. For what IDs look like, including the letter at the end, see Understanding IDs in Mobaro.

What happens if I use the wrong Mobaro ID format in an API filter?

A list filter with an ID that's missing its prefix matches nothing, so you get an empty page. Always use the full ID, like assets/123456-A.

Results show questions as elements/XXXX IDs. How do I get the question text?

Look them up in the Checklist with GET /api/customers/checklists/{checklistId}?includeContent=true&revision={checklistRevision}. See Pulling Results via the API.

Can the Assignments endpoint return deleted Assignments?

No. GET /api/customers/assignments never returns deleted Assignments, and there's no parameter to include them. To track deletions, use an Assignments webhook with the Deleted event. See Using webhooks in Mobaro.

Did this answer your question?