Skip to main content
New to Corsair? See API access, authentication, and error handling.

Cases

bulkFetch

cases.bulkFetch Fetch many cases by ID in one call, optionally limited to specific fields and properties Risk: read
Input Output

get

cases.get Read one case with its properties and indices Risk: read
Input Output

getByExternalId

cases.getByExternalId Look up a case by the external id the application assigned it Risk: read
Input Output

list

cases.list List cases (Case Data API v2) with cursor paging and filters for case type, owner, name, closed state and indices Risk: read
Input Output

Det Exports

list

detExports.list List the Data Export Tool export instances in the project Risk: read
Input Output

Fixtures

getItem

fixtures.getItem Read one fixture item by id Risk: read
Input Output

list

fixtures.list List lookup-table fixture items, optionally filtered by fixture type Risk: read
Input Output

Forms

bulkAction

forms.bulkAction Archive, unarchive, or permanently delete up to 5000 forms in one background job (delete needs the forms archived first); follow with forms.bulkActionStatus until status is complete or failed Risk: destructive · Irreversible
Input Output

bulkActionStatus

forms.bulkActionStatus Where a bulk form action stands: pending, complete, or failed, with processed and succeeded counts Risk: read
Input Output

get

forms.get Read one submitted form, including its XForm content and metadata Risk: read
Input Output

list

forms.list List submitted forms with paging and time-window or xmlns filters Risk: read
Input Output

Groups

create

groups.create Create a group, optionally with an initial member list Risk: write
Input Output

get

groups.get Read one group: name, reporting flag and member user ids Risk: read
Input Output

list

groups.list List the reporting and case-sharing groups in the project with their members Risk: read
Input Output

update

groups.update Rename a group, toggle reporting, or replace its member list Risk: write
Input Output

Locations

get

locations.get Read one location with its type and parent Risk: read
Input Output

list

locations.list List project locations with site code, name and location type filters Risk: read
Input Output

Location Types

get

locationTypes.get Read one location type by id Risk: read
Input Output

list

locationTypes.list List the location types defined in the project Risk: read
Input Output

Lookup Tables

get

lookupTables.get Read one lookup table with its field definitions Risk: read
Input Output

list

lookupTables.list List the lookup tables defined in the project Risk: read
Input Output

Ota

restore

ota.restore Pull the OTA restore XML (user registration plus case blocks) for the API key owner in the domain; large payloads. HQ accepts the ApiKey header here and restores the account that owns the key. The password hash in the registration block is replaced with [removed] Risk: read
Input Output

Reports

getData

reports.getData Run a configurable report and read its rows, with offset, limit (max 50) and the report filter parameters Risk: read
Input Output

list

reports.list List the configurable reports defined in the project, with their ids Risk: read
Input Output

Submissions

submit

submissions.submit Submit a complete XForm XML document to the OpenRosa receiver. Fails when HQ received the form but did not process it (nature submit_error or processing_failure); otherwise answers the message and its nature Risk: write
Input Output

Users

create

users.create Create a mobile worker account with an initial password Risk: write
Input Output

delete

users.delete Permanently delete a mobile worker account Risk: destructive · Irreversible
Input Output: empty object

get

users.get Read one mobile worker: username, names, email, phones and user data Risk: read
Input Output

list

users.list List the mobile workers in the project with paging Risk: read
Input Output

sendPasswordReset

users.sendPasswordReset Email a password reset link to the mobile worker Risk: write
Input Output: empty object

update

users.update Change a mobile worker: names, email, phone number or custom user data Risk: write
Input Output

Web Users

list

webUsers.list List the web users (dashboard accounts) in the project with their roles Risk: read
Input Output