Base URL
crosoftware.net-based URL, update it to the value above: the production API and its base domain migrated to api.crosoftware.com.
Tokens, Scopes, Users, & Passwords
An access token is used to authenticate your software to the CRO Developer API. The user and password are used to authenticate users to your software. Scopes determine what functionality your software will have access to. See the Authentication Guide for more on how to authenticate your applications.Errors
All errors are handled similarly. The HTTP response status line will describe what happened (human readable):Request Data Formats
Currently only JSON is supported.Response Data Formats
Currently only JSON is supported. Some endpoints may return reports in other formats; refer to each endpoint’s documentation for details.Roles
The access token(s) you’ll be issued grant you access to the API. The scope(s) granted to each token determine which API functions you can access. The CRO user you log in with determines which role(s) are assigned. The roles the user is assigned determine which endpoints are accessible and also what data is returned by each endpoint. Refer to each endpoint’s documentation for details on which roles have access and what data will be returned.Available Roles
ThirdPartyDispatcher and ThirdPartyDriver are a separate, parallel hierarchy from the first-party roles above, not a nested extension of them. See the FAQ for details.
Sample Script: Export Customers
In this sample we’ll export customers using the CRO Developer API. Refer to the code below. Replace ‘your-token-here’ and ‘your-tenant-id-here’ with the values issued by CRO Software. If you’re not sure what these values should be, contact us at crodev@rapidworks.com.cURL
fetch (Node.js 18+ or a browser).
Response
Note the response from/customers is a paged result set. All endpoints in the API return lists as paged responses with this format. In the next section we’ll iterate the results and print them to the console.
Paging
The fields of a paged result set have the same basic schema:cURL