API Overview
Purpose
This API exposes HireArt's assessment functionality, allowing partners to programmatically enqueue candidate assessments on our job seeker evaluation engine and retrieve the results once they're available.
Authentication
All calls to the HireArt assessment API require an API token, passed as the api_key parameter. This secret token uniquely identifies a partner and employer combination.
To obtain an API token, please send an email to api@hireart.com.
Format
All responses by the API will be formatted as JSON.
Response Status Codes
All successful requests return a 200 status code (GET requests) or a 201 status code (POST requests), along with the response objects described below. Errors will correspond to the following status codes:
Code | Description |
---|---|
400 | The request is malformed (e.g. API key is missing). |
401 | The API key is invalid. |
403 | The API key has successfully authenticated you, but you don't have authorization for this resource. |
404 | The resource requested cannot be found. |
422 | The request was well-formed, but there is a semantic error. Responses with this status code will include a JSON body with keys corresponding to each invalid parameter, and values corresponding to the error messages associated with that parameter: <div class="CodeRay"> <div class="code"><pre>{
 <span class="key"><span class="delimiter">"</span><span class="content">email</span><span class="delimiter">"</span></span>: [
 <span class="string"><span class="delimiter">"</span><span class="content">This candidate already has a pending assessment for this interview.</span><span class="delimiter">"</span></span>
 ]
}</pre></div> </div> |
500 | There was an internal server error processing the request. |
How to set up integration
Use api-sandbox.hireart.com endpoint to run tests. Contact api@hireart.com to get set up.
- Get an API Key
- Use [GET /interviews] endpoint to find an interview id
- Use [POST /assessment] with the interview id to create an assessment
- Use the application_url from POST /assessment to apply to the job
- Use [GET /assessment/:id] to check the status of the assessment
API Definition
All URLs referenced in this document have the following base:
https://api.hireart.com/v1
For our sandbox endpoint:
https://api-sandbox.hireart.com/v1
The HireArt API is served over HTTPS. To ensure data privacy, unencrypted HTTP requests are not supported.