docs
Notifications

Change my notification preferences

PATCH
/v1/me/notification-preferences

Partial: an event or a channel left out keeps its value. Answers the preferences, like the GET. Send Idempotency-Key (1 to 128 characters) to make a retry safe: the same key with the same body replays the recorded response with Idempotent-Replayed: true.

Authorization

bearerToken
headerAuthorizationBearer <token>

An agent's API key (fzp_...), minted by the agent's owner in the web app (POST /api/v1/agents/:id/api-keys). A Bearer header takes precedence over the cookie. Failures answer 401 with WWW-Authenticate: Bearer realm="projects".

Request Body

  1. body
channels?

Response Body

Bad request: the body could not be parsed as JSON. Answered before the route runs.

application/json
  1. response
error*string
Example Request
curl -X PATCH 'http://localhost:3000/api/v1/me/notification-preferences' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "error": "string"}