This feature requires a CommCare Software Plan This feature is only available to CommCare users with a Standard Plan or above. For more details, please see the CommCare Pricing Overview.
Data APIs
These APIs are intended for building project specific applications and integrations, including:
Custom end-user applications that address project-specific needs
Custom integrations with external back-end systems, such as an electronic patient record systemÂ
In the following, [version] should always be replaced with one of v0.4, v0.3, etc. These documents only describe the latest version - prior versions remain available only to support backwards compatibility with deployed systems, not for general use. The latest version is v0.5.
You can browse and test the Data APIs using the CommCare API Explorer.
Implementation of URL Endpoints
All URL endpoints should be utilized as part of a cURL authentication command. For more information, please review CommCare's API Authentication Documentation.
API | Description | URL Endpoint | Permission required |
---|---|---|---|
list groups | https://www.commcarehq.org/a/[domain]/api/[version]/group/ | Edit Mobile Workers | |
list users | https://www.commcarehq.org/a/[domain]/api/[version]/user/ | Edit Mobile Workers | |
list cases | https://www.commcarehq.org/a/[domain]/api/[version]/case/ | Edit Data | |
find a single case | https://www.commcarehq.org/a/[domain]/api/[version]/case/[case_id]/ | Edit Data | |
list form submissions | https://www.commcarehq.org/a/[domain]/api/[version]/form/ | Edit Data | |
find a single form | https://www.commcarehq.org/a/[domain]/api/[version]/forms/[form_id]/ | Edit Data | |
find a single fixture | https://www.commcarehq.org/a/[domain]/api/[version]/fixture/[fixture_id]/ | Edit Apps |