Shape your requests
Learn how arguments, pagination, filtering, field selection, responses, and errors work with the Aspire API on MindCloud.
Once your first Aspire request works, use this page to shape real production requests. MindCloud keeps the app-specific API details behind one REST format, so you can control arguments, pagination, filtering, fields, and errors without learning a separate convention for every provider. If you have not connected Aspire yet, start with Connect to Aspire.
Arguments
Arguments are the inputs an action needs. Pass them as flat fields beside the Universal API fields: query parameters for read and delete actions, JSON body fields for create and update actions. Each Aspire action page documents its exact argument keys, types, and which ones are required. Keys are case-sensitive, and requests with missing or invalid required arguments fail instead of guessing.
Request format
The REST format is intentionally plain. Choose a Aspire action, call its Universal API URL, authenticate with your MindCloud API Key, and include the connection and action fields in the correct lane for the HTTP method.
| Piece | Where it goes |
|---|---|
| Action fields | Query parameters for GET and DELETE; JSON body fields for POST, PUT, and PATCH. |
connectionId | Query string for reads and deletes; body for creates and updates. |
limit, offset, where, sort, fields | Universal API controls; always query parameters, never body fields. |
Pagination
Paginated list actions accept limit and offset as query parameters. Some providers use page numbers, some use cursors; MindCloud translates your request into whatever Aspire expects, so you page through results the same way on every app. Start at offset=0, add limit to the offset after each page, and stop when a page returns fewer rows than you asked for.
curl --request GET \
--url "https://connect.mindcloud.co/v1/universal/aspire/latest/actions/authenticate" \
--header "Authorization: Bearer $MINDCLOUD_API_KEY" \
--get \
--data-urlencode "connectionId=$CONNECTION_ID" \
--data-urlencode "limit=25" \
--data-urlencode "offset=0"These Aspire actions support pagination:
- Create Pay Rate Override Pay Codes
- List Activities
- List Activity Categories
- List Activity Comment Histories
- List Activity Contacts
- List Addresses
- List Attachment Types
- List Bank Deposits
- List Branches
- List Catalog Item Categories
- List Catalog Items
- List Certification Types
- List Certifications
- List Clock Times
- List Companies
- List Contact Custom Field Definitions
- List Contact Custom Fields
- List Contact Types
- List Contacts
- List Division Integration Codes
- List Divisions
- List Employee Incident Types
- List Employee Incidents
- List Equipment Classes
- List Equipment Disposal Reasons
- List Equipment Manufacturers
- List Equipment Model Service Schedules
- List Equipment Models
- List Equipment Reading Logs
- List Equipment Requested Services
- List Equipment Service Logs
- List Equipment Service Tags
- List Equipment Sizes
- List Equipments
- List Inventory Locations
- List Invoice Batches
- List Invoice Revenues
- List Invoice Taxes
- List Invoices
- List Item Allocations
- List Job Statuses
- List Jobs
- List Localities
- List Oportunity Service Items
- List Opportunities
- List Opportunity Lost Reasons
- List Opportunity Service Groups
- List Opportunity Service Kit Items
- List Opportunity Services
- List Opportunity Status
- List Pay Rate Override Pay Codes
- List Pay Rates
- List Pay Schedules
- List Payment Categories
- List Payment Terms
- List Payments
- List Properties
- List Property Availabilities
- List Property Contacts
- List Property Custom Field Definitions
- List Property Custom Fields
- List Property Status
- List Property Types
- List Prospect Ratings
- List Receipts
- List Regions
- List Revenue Variances
- List Roles
- List Routes
- List Sales Types
- List Service Type Integration Codes
- List Service Types
- List Services
- List Tags
- List Tax Jurisdictions
- List Unit Types
- List Users
- List Vendors
- List Work Ticket Canceled Reasons
- List Work Ticket Items
- List Work Ticket Revenues
- List Work Ticket Times
- List Work Ticket Visit Notes
- List Work Ticket Visits
- List Work Tickets
- Update Pay Rate Override Pay Codes
Filtering
Filterable list actions accept a where query parameter written as an RSQL expression. MindCloud translates it into the filtering shape Aspire supports, and the filterable fields are listed on each action page.
| Operator | Meaning | Example |
|---|---|---|
== / != | Equals / does not equal | status==active |
> >= < <= | Comparisons | createdAt>=2026-01-01 |
=like= | Contains text, with * wildcards | name=like=*dan* |
Combine conditions with ; for AND and , for OR: status==active;createdAt>=2026-01-01.
These Aspire actions support filtering:
- List Activities
- List Activity Categories
- List Activity Comment Histories
- List Activity Contacts
- List Addresses
- List Attachment Types
- List Bank Deposits
- List Branches
- List Catalog Item Categories
- List Catalog Items
- List Certification Types
- List Certifications
- List Clock Times
- List Companies
- List Contact Custom Field Definitions
- List Contact Custom Fields
- List Contact Types
- List Contacts
- List Division Integration Codes
- List Divisions
- List Employee Incident Types
- List Employee Incidents
- List Equipment Classes
- List Equipment Disposal Reasons
- List Equipment Manufacturers
- List Equipment Model Service Schedules
- List Equipment Models
- List Equipment Reading Logs
- List Equipment Requested Services
- List Equipment Service Logs
- List Equipment Service Tags
- List Equipment Sizes
- List Equipments
- List Inventory Locations
- List Invoice Batches
- List Invoice Revenues
- List Invoice Taxes
- List Invoices
- List Item Allocations
- List Job Statuses
- List Jobs
- List Localities
- List Oportunity Service Items
- List Opportunities
- List Opportunity Lost Reasons
- List Opportunity Service Groups
- List Opportunity Services
- List Opportunity Status
- List Pay Rate Override Pay Codes
- List Pay Rates
- List Pay Schedules
- List Payment Categories
- List Payment Terms
- List Payments
- List Properties
- List Property Availabilities
- List Property Contacts
- List Property Custom Field Definitions
- List Property Custom Fields
- List Property Status
- List Property Types
- List Prospect Ratings
- List Receipts
- List Regions
- List Revenue Variances
- List Roles
- List Routes
- List Sales Types
- List Service Type Integration Codes
- List Service Types
- List Services
- List Tags
- List Tax Jurisdictions
- List Unit Types
- List Users
- List Vendors
- List Work Ticket Canceled Reasons
- List Work Ticket Items
- List Work Ticket Revenues
- List Work Ticket Times
- List Work Ticket Visit Notes
- List Work Ticket Visits
- List Work Tickets
Sorting
Sortable list actions accept a sort query parameter: a comma-separated list of fields, with a - prefix for descending order, such as sort=-createdAt,name. MindCloud maps it into the sorting format Aspire supports, and the sortable fields are listed on each action page.
These Aspire actions support sorting:
- List Activities
- List Activity Categories
- List Activity Comment Histories
- List Activity Contacts
- List Addresses
- List Attachment Types
- List Bank Deposits
- List Branches
- List Catalog Item Categories
- List Catalog Items
- List Certification Types
- List Certifications
- List Clock Times
- List Companies
- List Contact Custom Field Definitions
- List Contact Custom Fields
- List Contact Types
- List Contacts
- List Division Integration Codes
- List Divisions
- List Employee Incident Types
- List Employee Incidents
- List Equipment Classes
- List Equipment Disposal Reasons
- List Equipment Manufacturers
- List Equipment Model Service Schedules
- List Equipment Models
- List Equipment Reading Logs
- List Equipment Requested Services
- List Equipment Service Logs
- List Equipment Service Tags
- List Equipment Sizes
- List Equipments
- List Inventory Locations
- List Invoice Batches
- List Invoice Revenues
- List Invoice Taxes
- List Invoices
- List Item Allocations
- List Job Statuses
- List Jobs
- List Localities
- List Oportunity Service Items
- List Opportunities
- List Opportunity Lost Reasons
- List Opportunity Service Groups
- List Opportunity Service Kit Items
- List Opportunity Services
- List Opportunity Status
- List Pay Rate Override Pay Codes
- List Pay Rates
- List Pay Schedules
- List Payment Categories
- List Payment Terms
- List Payments
- List Properties
- List Property Availabilities
- List Property Contacts
- List Property Custom Field Definitions
- List Property Custom Fields
- List Property Status
- List Property Types
- List Prospect Ratings
- List Receipts
- List Regions
- List Revenue Variances
- List Roles
- List Routes
- List Sales Types
- List Service Type Integration Codes
- List Service Types
- List Services
- List Tags
- List Tax Jurisdictions
- List Unit Types
- List Users
- List Vendors
- List Work Ticket Canceled Reasons
- List Work Ticket Items
- List Work Ticket Revenues
- List Work Ticket Times
- List Work Ticket Visit Notes
- List Work Ticket Visits
- List Work Tickets
Field selection
Use the fields query parameter to return only the response fields your code reads, with dot notation for nested objects: fields=id,name,profile.email. Selection is applied to each row in data after the response is mapped, and id is kept whenever it exists so rows stay identifiable.
Responses and errors
Every Aspire response is mapped into the same public envelope before it reaches your code: success, your rows in a data array (single-row actions return an array with one item), and optional meta. Failed requests return success: false with a stable code to branch on and a human-readable message:
{
"success": false,
"code": "CONNECTION_APP_MISMATCH",
"message": "Connection \"conn_123\" is not configured for this app."
}Check the HTTP status first: 401 or 403 for authentication and authorization, 400 for invalid request shape, and 5xx when MindCloud cannot complete the action upstream. Most failures come from a missing API Key, a missing or mismatched connection, or arguments that do not match the action page.