iMocha APIs can be accessed in two environments: Production and Sandbox.Developers should call the API using the appropriate base URL along with the specific endpoint. Example below:Example:
The following API fetches the list of tests from the Production environment:Here, the relative endpoint /v3/tests
is combined with the Production Base URL to retrieve the list of tests.🧾 Request Headers#
All requests must use JSON format and include the following header:Content-Type: application/json