Set ad note
Replaces the workspace's note on a saved ad, or with board the note on that board's copy. An empty note clears it. The ad must be saved (or on the board) first, else 404.
/api/v1/saved-ads/{id}/noteAuthentication
API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read and mcp:write. See authentication.
Path parameters
idstring (uuid)requiredThe ad id, as in /ads/{id}.
Query parameters
workspacestringA workspace id or exact name from List workspaces, case-insensitive. Defaults to the current workspace. Only your own organization's workspaces resolve. 1 to 120 characters.
Body · application/json
notestringrequiredboardstringOptional: the board's id or exact name, from List boards.
Response fields
adobjectWith
id.boardobjectWith
id,name.notestring or nullworkspaceobjectThe workspace a call read or changed: the one
workspacenamed, else the current one.
Responses
- 200
The note as stored. Body:
AdNote. - 400
The body, an id or
workspaceis not valid. Body:Problem. - 401
No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body:
Problem. - 403
forbidden: the token lacks mcp:write, or a session call came from another site. The WWW-Authenticate header carries aninsufficient_scopechallenge naming mcp:read and mcp:write.workspace_locked: the workspace is past the plan's workspace count. Use an open one, or ask an admin to change the plan. Body:Problem. - 404
The ad is not saved, or not on the board named (or no board has that name).
workspace_not_found: the organization has no workspace with that id or name. List workspaces lists them. Body:Problem. - 429
rate_limited: more than 60 requests, or more than 30 writes, a minute from this account. Body:Problem. - 503
The account could not be read or changed; retry shortly. Body:
Problem.