Welcome to iMocha API. If you’re looking to retrieve list of tests, invite candidate or retrieve candidate test report, you’ve come to right place.
Time Zone Id
Time Zone Description
200
(UTC-10:00) Hawaii
400
(UTC-08:00) Pacific Time (US and Canada)
300
(UTC-09:00) Alaska
400
(UTC-08:00) Pacific Time (US and Canada)
410
(UTC-08:00)Baja California
Example:
Production - Below is the final API endpoints that fetches List of Tests in Production Environment.
https://apiv3.imocha.io/v3/tests
Here the relative endpoint "/v3/tests" is combine with Base URL for Production, to retrieve list of tests.
Test API’s
There are number of API's available for you to do operation on tests in your account. Below are the ones that are available for clients and partners at the moment.
List all tests Retrieve a test Retrieve test settings Update test settings API Explorer x-api-key
Get/v3/test: List all text
Parameters
Value
Description
Parameter Type
Data type
Page No
1
2
3
To retrieve test based on page number
Query
Integer
Page No
1
2
3
To retrieve test based on page number
Query
Integer
Get/v3/test: List all text
Parameters
Value
Description
Parameter Type
Data type
Page No
1
2
3
To retrieve test based on page number
Query
Integer
Page No
1
2
3
To retrieve test based on page number
Query
Integer
Failed response
Status 400 Bad Request
If required parameters have invalid values.
Response
{
"errors": [
"Page number is not valid integer or less than 1",
"Page size is not valid integer or less than 1"
]
}