Add a candidate to a job, in a phase of it or in the Applied column
POST /v1/jobs/{id}/applications
Permission needed: candidates:write
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
id | path | integer | Yes | Minimum 1 |
data | body | Yes |
Responses
201Application created400Missing or invalid field404The application, job or candidate does not exist409The change is not allowed in the current state429Too many requests
Examples
curl -X POST 'https://api.novatalent.com/v1/jobs/123/applications' \
-H "X-Api-Key: $NOVA_API_KEY"const response = await fetch('https://api.novatalent.com/v1/jobs/123/applications', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NOVA_API_KEY },
});
console.log(response.status, await response.json());<?php
$curl = curl_init('https://api.novatalent.com/v1/jobs/123/applications');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-Api-Key: ' . getenv('NOVA_API_KEY')],
]);
$response = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);
echo $status . " " . $response;