Send test link
This endpoint Sends a test link to the Candidates’s email address.
Endpoint
POST https://api.ezyhire.com/test/sendTestLink
Request
Headers
USER-Key: User/API key for authentication
Body: json
{
"EMAIL_ID": "string",
"FIRST_NAME": "string",
"HR_EVALUATION": true,
"LAST_NAME": "string",
"LINKEDIN_URL": "string",
"SOCIAL_MEDIA_EVALUATION": true,
"SUBJECT": "string",
"TEMPLATE_ID": "string",
"TEXT": "string",
"VALID_HOURS": 0
}
Response
Successful Response
Status Code: 200 OK
Content:json
{
"statusCode": 200,
"error": "string",
"message": "Success",
"data": 0(total usage of license)
}
Error Response
Status Code: 400 Bad Request
Content:json
{
"fieldName": "message"
"statusCode": 200,
"error": "string",
"message": "Success",
"data": 0(total usage of license)
}
Error Response
Status Code: 400 Bad Request
Content:json
{
"fieldName": "message"
}
Error Response
Status Code: 401 Unauthorized
Content:json
{
"status": 401,
"message": "Invalid User/API key"
"error": "Please provide a valid User/API key"
}
Error Response
Error Response
Status Code: 401 Unauthorized
Content:json
{
"status": 401,
"error": "Licence exhausted"
"message": "Please purchase a new licence"
}
Error Response
Status Code: 500 Internal Server Error
Content:json
{
"statusCode": 500,
"error": "string",
"message": "string",
"data": "string"
}