Skip to main content
PATCH
Update Notification Preference

Endpoint

Base URL: http://localhost:3000/api/v1
This endpoint requires authentication and Job Seeker role.

Authentication

Include the access token in the Authorization header:

Request Body

All fields are optional. Only provide the settings you want to change.
boolean
Enable or disable application status update notifications.
boolean
Enable or disable new job match notifications.

Request Shape

Request Examples

Disable Job Match Notifications

Disable Both Notification Types

Re-enable Application Status Notifications

Response

Success Response (200 OK)

Error Responses

400 Bad Request - Validation Error

401 Unauthorized - Not Authenticated

403 Forbidden - Insufficient Permissions

Notes

Upsert Behavior: If the preference row does not exist yet, this endpoint creates it before applying the update.
Read After Write: Call GET /job-seekers/me/notification-preference after updating if the frontend needs the latest persisted values.