Skip to main content

Mobaro API parameter reference

Understand how to structure and use parameters across Mobaro’s API endpoints.

Logan Bowlby avatar
Written by Logan Bowlby
Updated over 3 weeks ago

Overview

This article provides a complete reference for the most commonly used query parameters in the Mobaro API. Each parameter includes formatting guidance and examples, helping ensure you use the correct internal ID structure for Mobaro resources.

Most Mobaro APIs use internal resource IDs that follow this structure:

📘 resourceType/123456-A


Resource parameters (string arrays)

These parameters must use the internal Mobaro format: resourceType/123456-A. You can locate these IDs from the Mobaro backend or the API directly.

Parameter

Description

Expected Format

Example

Checklists

Filter Results or Assignments by Checklist

checklists/123456-A

["checklists/654321-A"]

LocationGroups

Limit queries to specific location groups

locationgroups/123456-A

["locationgroups/789012-A"]

Locations

Limit to one or more Locations

locations/123456-A

["locations/345678-A"]

Assets

Used in asset or assignment filtering

assets/123456-A

["assets/987654-A"]

Schedules

Filter results or assignments by schedule

schedules/123456-A

["schedules/101112-A"]

Slots

Used to define or filter schedule slots

slots/123456-A

["slots/333444-A"]

Users

Filter by user (e.g. responses or assignments)

users/123456-A

["users/123456-B"]

Important: Always include the full resource path prefix (checklists/, locations/, etc.). Omitting this will return an error or no data.


Pagination and limits

These parameters control how many results you get per request and which batch of results to retrieve.

Parameter

Description

Type

Format / Range

Example

Limit

Max number of results to return

Integer

1–20 (default endpoints), up to 128 on bulk endpoints

20

Offset

How many results to skip (pagination)

Integer

0–2147483647

0, 20, 100


Date filters

Date filters use the ISO-8601 format (YYYY-MM-DDTHH:mm:ssZ), and must be UTC timestamps.

Parameter

Description

Type

Example

CreatedBefore

Items created before this time

String

2025-07-01T00:00:00Z

CreatedAfter

Items created after this time

String

2025-06-01T00:00:00Z

UpdatedBefore

Items updated before this time

String

2025-07-10T00:00:00Z

UpdatedAfter

Items updated after this time

String

2025-07-05T00:00:00Z


Sorting and ordering

Parameter

Description

Type

Example

OrderBy

Sort results by a specific field

String

createdAt, title

Tip: Add :asc or :desc to control direction. Example: OrderBy=createdAt:desc


Assignment-specific filters

These parameters are specific to the Assignments endpoint.

Parameter

Description

Type

Example

Status

Filter by current state of assignment

Array of strings

["Created", "Started"]

Definitions

Filter by Assignment Definitions

Array of strings

["assignmentdefinitions/123-A"]

DefinitionStates

Filter by states of those definitions

Array of strings

["assignmentdefinitionstates/321-A"]

Priority

Filter assignments that use priority settings

Boolean

true / false


File- and competency-related filters

Parameter

Description

Type

Example

Competencies

Filter certifications by competency

Array of strings

["competencies/987-A"]

AwardedBefore

For Certifications: filter by award date

String (ISO-8601)

2025-06-01T00:00:00Z


Example query

Here's an example request to filter Results using several parameters:

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

This returns up to 10 results completed after Jan 1st, 2025 by that user, in that location, for that checklist.


Frequently asked questions

Q: How do I find my internal Mobaro ID for a resource?
A: From the Mobaro backend, open the item and look in the URL or use the API to list resources (e.g., GET /api/customers/assets).

Q: What happens if I use the wrong ID format?
A: The API will return an error or empty result. Always use the full internal path like assets/123456-A.

Q: Can I filter by multiple parameters at once?
A: Yes! Most endpoints support combining filters like Checklists, Locations, Users, and more in a single call.

Q: Are these case-sensitive?
A: Yes. IDs and enums must match the expected case exactly (Created, not created).

Did this answer your question?