Reject an application, optionally sending a rejection email from the job owner
POST /v1/applications/{id}/reject
Permission needed: candidates:write
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
id | path | integer | Yes | Minimum 1 |
data | body | Yes |
Responses
200Application rejected400Missing 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/applications/123/reject' \
-H "X-Api-Key: $NOVA_API_KEY"const response = await fetch('https://api.novatalent.com/v1/applications/123/reject', {
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/applications/123/reject');
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;