Bookmark Job
curl --request POST \
--url https://api.example.com/api/v1/jobs/bookmark \
--header 'Content-Type: application/json' \
--data '
{
"jobId": "<string>",
"jobSource": {}
}
'import requests
url = "https://api.example.com/api/v1/jobs/bookmark"
payload = {
"jobId": "<string>",
"jobSource": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({jobId: '<string>', jobSource: {}})
};
fetch('https://api.example.com/api/v1/jobs/bookmark', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/jobs/bookmark",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jobId' => '<string>',
'jobSource' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/jobs/bookmark"
payload := strings.NewReader("{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/jobs/bookmark")
.header("Content-Type", "application/json")
.body("{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/jobs/bookmark")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}"
response = http.request(request)
puts response.read_body{
"data.id": "<string>"
}Jobs
Bookmark Job
Bookmark a job to save it for later
POST
/
api
/
v1
/
jobs
/
bookmark
Bookmark Job
curl --request POST \
--url https://api.example.com/api/v1/jobs/bookmark \
--header 'Content-Type: application/json' \
--data '
{
"jobId": "<string>",
"jobSource": {}
}
'import requests
url = "https://api.example.com/api/v1/jobs/bookmark"
payload = {
"jobId": "<string>",
"jobSource": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({jobId: '<string>', jobSource: {}})
};
fetch('https://api.example.com/api/v1/jobs/bookmark', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/jobs/bookmark",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jobId' => '<string>',
'jobSource' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/jobs/bookmark"
payload := strings.NewReader("{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/jobs/bookmark")
.header("Content-Type", "application/json")
.body("{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/jobs/bookmark")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jobId\": \"<string>\",\n \"jobSource\": {}\n}"
response = http.request(request)
puts response.read_body{
"data.id": "<string>"
}Endpoint
POST /api/v1/jobs/bookmark
http://localhost:3000/api/v1
This endpoint requires authentication (Job Seeker only).
Request Body
string
required
The unique identifier of the job to bookmark.
enum
required
The source type of the job. Values:
DIRECT, SCRAPED.Request Shape
{
"jobId": "1b6a74d1-d9aa-4e71-81b6-51d3187e5d93",
"jobSource": "SCRAPED"
}
Response (200 OK)
{
"success": true,
"data": {
"id": "b61168e1-abf0-4bce-ab53-41392825aaa5"
},
"message": "Job bookmarked successfully",
"meta": {
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/jobs/bookmark",
"method": "POST"
}
}
string
The bookmark ID.
Notes
- This endpoint uses upsert - if the job is already bookmarked, it returns the existing bookmark ID instead of creating a duplicate.
- The
jobSourcemust match the job type:DIRECTfor platform jobs,SCRAPEDfor external jobs.
Error Responses
400 Bad Request - Validation Error
{
"success": false,
"error": {
"message": ["jobId must be a UUID"],
"statusCode": 400,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/jobs/bookmark",
"method": "POST",
"details": "Bad Request"
}
}
401 Unauthorized
{
"success": false,
"error": {
"message": "Unauthorized",
"statusCode": 401,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/jobs/bookmark",
"method": "POST",
"details": "Unauthorized"
}
}
403 Forbidden
{
"success": false,
"error": {
"message": "Forbidden resource",
"statusCode": 403,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/jobs/bookmark",
"method": "POST",
"details": "Forbidden"
}
}
404 Not Found
{
"success": false,
"error": {
"message": "Job not found",
"statusCode": 404,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/jobs/bookmark",
"method": "POST",
"details": "Not Found"
}
}
Example
curl -X POST http://localhost:3000/api/v1/jobs/bookmark \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"jobId": "1b6a74d1-d9aa-4e71-81b6-51d3187e5d93", "jobSource": "SCRAPED"}'
⌘I
