;

API Environment

API can be accessed with 2 environment, Production and Sandbox (Sandbox not available yet, coming soon!).

Developer should call API using below Base URL along with specific API endpoint. See the example below for more.

Environment Base URL
Production Base URL https://apiv3.interviewmocha.com
Example:

Production - Below is the final API endpoints that fetches List of Tests in Production Environment.

https://apiv3.interviewmocha.com/v3/tests

Here the relative endpoint "/v3/tests" is combine with Base URL for Production, to retrieve list of tests.

Request Header

API accepts JSON format only and every API call should include below request header for call to succeed.

Content-Type: application/json