curl --request PUT \
--url https://api.hirehive.com/v1.0/{company_id}/jobs/{job_id}/notes/{note_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"files": [
{
"name": "<string>",
"original_name": "<string>",
"content_type": "<string>",
"file_extension": "<string>",
"id": "<string>",
"type": "inbound_email_attachment",
"size_in_kb": 123,
"download_link": "<string>"
}
],
"mentioned_users": [
"<string>"
],
"restricted": true
}'
{
"data": {
"id": "<string>",
"date_created": "2023-11-07T05:31:56Z",
"text": "<string>",
"creator": {
"name": "<string>",
"user_id": "<string>",
"guest_id": "<string>",
"recruiter": "<string>"
},
"files": [
{
"name": "<string>",
"original_name": "<string>",
"content_type": "<string>",
"file_extension": "<string>",
"id": "<string>",
"type": "inbound_email_attachment",
"size_in_kb": 123,
"download_link": "<string>"
}
],
"mentioned_users": [
"<string>"
],
"restricted": true
}
}
Update a note by id
curl --request PUT \
--url https://api.hirehive.com/v1.0/{company_id}/jobs/{job_id}/notes/{note_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"files": [
{
"name": "<string>",
"original_name": "<string>",
"content_type": "<string>",
"file_extension": "<string>",
"id": "<string>",
"type": "inbound_email_attachment",
"size_in_kb": 123,
"download_link": "<string>"
}
],
"mentioned_users": [
"<string>"
],
"restricted": true
}'
{
"data": {
"id": "<string>",
"date_created": "2023-11-07T05:31:56Z",
"text": "<string>",
"creator": {
"name": "<string>",
"user_id": "<string>",
"guest_id": "<string>",
"recruiter": "<string>"
},
"files": [
{
"name": "<string>",
"original_name": "<string>",
"content_type": "<string>",
"file_extension": "<string>",
"id": "<string>",
"type": "inbound_email_attachment",
"size_in_kb": 123,
"download_link": "<string>"
}
],
"mentioned_users": [
"<string>"
],
"restricted": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?