List the notes of a candidate
GET /v1/candidates/{id}/notes
Permission needed: candidates:read
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
id | path | integer | Yes | Minimum 1 |
Responses
200Notes404The candidate does not exist429Too many requests
Examples
curl 'https://api.novatalent.com/v1/candidates/123/notes' \
-H "X-Api-Key: $NOVA_API_KEY"const response = await fetch('https://api.novatalent.com/v1/candidates/123/notes', {
method: 'GET',
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/candidates/123/notes');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
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;