Goosy Bear Notification Preference API
The notification_preference API from Goosy Bear — 1 operation(s) for notification_preference.
The notification_preference API from Goosy Bear — 1 operation(s) for notification_preference.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/goosybear-ai:goosybear-ai-notification-preference-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Goosybear Ai Notification Preference API
version: 1.0.0-beta
description: 'Operations tagged notification_preference across 2 of this provider''s published API definitions: goosybear-ai-openapi.json, goosybear-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.goosybear.ai
description: Production
security:
- tenantApiKey: []
tags:
- name: notification_preference
paths:
/api/v1/tools/notification_preference.set:
post:
operationId: call_notification_preference_set
summary: Call notification_preference.set
description: 'Turn the member''s own recurring messages and notifications on or off: the weekly digest of their planned week (the Monday ''your week is planned'' message about the week ahead), Goosy''s check-ins, approvals, failed publishes — ''mute the digest of my planned week'', ''stop the Monday email about our week ahead'', ''stop Goosy''s progress nudges'', ''I want a text when something needs me''. Turns one of the signed-in person''s OWN notification groups on or off for one channel, for the whole account or just the current workspace; the group and its channel are in `kind_group_key`''s description, and `notification_settings.status` lists every group. It never changes what anyone else receives, and never changes the account-wide default. Whether I get the check-ins, or any other message, is `notification_preference.set`.
Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with `workspace_ambiguous` and lists the choices — offer them, never pick one.'
tags:
- notification_preference
parameters:
- name: x-request-id
in: header
required: false
description: 'Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from `A–Z a–z 0–9 . _ : -`, starting with a letter or digit; anything else is replaced by a generated id.'
schema:
type: string
maxLength: 128
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
kind_group_key:
type: string
maxLength: 120
description: 'The notification group to change: `cadence_digest` for the weekly digest of the planned week, the Monday ''your week is planned'' message (channel `digest`), `goosy_checkins` for Goosy''s own check-ins and nudges in the pane (channel `in_app`), or another key `notification_settings.status` lists. The database''s own foreign key refuses an unknown one rather than guessing.'
channel:
type: string
enum:
- in_app
- email
- digest
- sms
description: Which delivery channel this preference is about.
enabled:
type: boolean
description: true to receive this group on this channel; false to stop.
workspace_scoped:
description: true to set the preference for the CURRENT workspace only; leave it out for the whole account. The workspace itself is resolved from the session, never passed.
type: boolean
workspace:
description: Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.
type: string
minLength: 1
required:
- kind_group_key
- channel
- enabled
additionalProperties: false
responses:
'200':
description: The call was admitted and dispatched. `ok` says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
RateLimit-Limit:
description: Requests this key may make in a rolling minute.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Requests left in the current rolling minute.
schema:
type: integer
minimum: 0
RateLimit-Reset:
description: Whole seconds until the window frees more requests.
schema:
type: integer
minimum: 1
x-goosy-tool-error:
description: '`true` when a boundary step refused the call — workspace resolution failed or could not be read. A tool that ran and returned its own typed `ok: false` reports `false` here. **Branch on `ok` in the body for the outcome; this header is the transport-level hint.**'
schema:
type: string
enum:
- 'true'
- 'false'
content:
application/json:
schema:
oneOf:
- type: object
description: The tool ran and answered.
properties:
ok:
type: boolean
const: true
kind_group_key:
type: string
channel:
type: string
enabled:
type: boolean
workspace_scoped:
type: boolean
workspace:
type: string
description: The slug of the workspace this call ran in.
working_in:
type: object
properties:
label:
type: string
description: 'The chip words — e.g. "working in: Acme Main".'
note:
type: string
description: Why this workspace — e.g. "your default", "this call only".
workspace:
type: string
description: The resolved workspace's slug.
source:
type: string
enum:
- call-override
- key-pin
- stored-default
- sole-reachable
description: 'Why this workspace was chosen: the call named it (`call-override`), the key is pinned to it (`key-pin`), it is your default (`stored-default`), or it is the only one the key reaches (`sole-reachable`).'
required:
- label
- note
- workspace
- source
description: Which workspace this call ran in, and how that was decided. Present on every workspace-scoped result.
additionalProperties: false
required:
- ok
- channel
- enabled
- kind_group_key
- workspace_scoped
- working_in
- workspace
- $ref: '#/components/schemas/ToolRefusal'
'400':
description: 'The request could not be used: the body is present but not a JSON object (`tenant_api.malformed_body`); it is a top-level array carrying more messages than this endpoint accepts (`tenant_mcp.batch_too_large`); or the `Idempotency-Key` header is malformed (`tenant_api.idempotency_key_invalid`), disagrees with the body''s `idempotency_key` (`tenant_api.idempotency_key_conflict`), or was sent to an action that cannot replay a retry (`tenant_api.idempotency_unsupported`). Nothing ran.'
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
Deprecation:
description: 'RFC 9745: this refusal''s nested `error` object is deprecated, since this instant (`@<unix seconds>`).'
schema:
type: string
Sunset:
description: 'RFC 8594: the nested `error` object may be removed after this date (2026-12-31).'
schema:
type: string
Link:
description: The page that says what to read instead (`rel="deprecation"`).
schema:
type: string
RateLimit-Limit:
description: Requests this key may make in a rolling minute.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Requests left in the current rolling minute.
schema:
type: integer
minimum: 0
RateLimit-Reset:
description: Whole seconds until the window frees more requests.
schema:
type: integer
minimum: 1
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: No bearer credential, or one that did not resolve. Deliberately ONE undifferentiated answer for absent / unknown / revoked / expired, so the endpoint is never an oracle over the key space.
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
Deprecation:
description: 'RFC 9745: this refusal''s nested `error` object is deprecated, since this instant (`@<unix seconds>`).'
schema:
type: string
Sunset:
description: 'RFC 8594: the nested `error` object may be removed after this date (2026-12-31).'
schema:
type: string
Link:
description: The page that says what to read instead (`rel="deprecation"`).
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The credential is good but the surface is not open to it — the platform or account API switch is off, or the holder lacks the `api.access` capability. The `code` says which.
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
Deprecation:
description: 'RFC 9745: this refusal''s nested `error` object is deprecated, since this instant (`@<unix seconds>`).'
schema:
type: string
Sunset:
description: 'RFC 8594: the nested `error` object may be removed after this date (2026-12-31).'
schema:
type: string
Link:
description: The page that says what to read instead (`rel="deprecation"`).
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such tool. The body names no tool and is identical for every unrecognised name.
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
Deprecation:
description: 'RFC 9745: this refusal''s nested `error` object is deprecated, since this instant (`@<unix seconds>`).'
schema:
type: string
Sunset:
description: 'RFC 8594: the nested `error` object may be removed after this date (2026-12-31).'
schema:
type: string
Link:
description: The page that says what to read instead (`rel="deprecation"`).
schema:
type: string
RateLimit-Limit:
description: Requests this key may make in a rolling minute.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Requests left in the current rolling minute.
schema:
type: integer
minimum: 0
RateLimit-Reset:
description: Whole seconds until the window frees more requests.
schema:
type: integer
minimum: 1
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over this key's per-minute cap. Carries `Retry-After` and `error.retry_after_seconds`.
headers:
x-goosy-api:
description: Present while this API is in beta; the value is `beta`.
schema:
type: string
const: beta
x-request-id:
description: 'This request''s id: the `x-request-id` you sent when it was well formed, otherwise one generated for you. Quote it to support; it is recorded on every audit row the call wrote.'
schema:
type: string
Deprecation:
description: 'RFC 9745: this refusal''s nested `error` object is deprecated, since this instant (`@<unix seconds>`).'
schema:
type: string
Sunset:
description: 'RFC 8594: the nested `error` object may be removed after this date (2026-12-31).'
schema:
type: string
Link:
description: The page that says what to read instead (`rel="deprecation"`).
schema:
type: string
RateLimit-Limit:
description: Requests this key may make in a rolling minute.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Requests left in the current rolling minute.
schema:
type: integer
minimum: 0
RateLimit-Reset:
description: Whole seconds until the window frees more requests.
schema:
type: integer
minimum: 1
Retry-After:
description: Whole seconds to wait before retrying.
schema:
type: integer
minimum: 1
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://app.goosybear.ai
description: Production
components:
schemas:
Error:
type: object
properties:
ok:
type: boolean
const: false
code:
type: string
description: The typed refusal code — e.g. `tenant_mcp.rate_limited`, `tenant_api.unknown_tool`.
message:
type: string
description: A sentence a person can act on.
retry_after_seconds:
description: 'On a 429: whole seconds to wait. Mirrors `Retry-After`.'
type: number
error:
type: object
properties:
code:
type: string
message:
type: string
retry_after_seconds:
type: number
required:
- code
- message
description: 'Deprecated: the same values as the top-level fields, kept until 2026-12-31. Read `code` and `message` at the top level.'
additionalProperties: false
required:
- ok
- code
- message
- error
description: A request the boundary refused before dispatching anything. The same shape the MCP endpoint answers its own refusals with, and the same top-level fields a dispatched call's refusal carries, so one client branch covers both.
additionalProperties: false
ToolRefusal:
type: object
properties:
ok:
type: boolean
const: false
code:
type: string
description: The typed reason — e.g. `workspace_ambiguous`, `invalid_arguments`, or the tool's own failure code.
message:
type: string
description: A sentence a person can act on.
workspaces:
description: 'On a workspace refusal: the slugs this key may pass as `workspace`.'
type: array
items:
type: string
issues:
description: 'On `invalid_arguments`: which fields failed, and why.'
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
path:
description: 'On an authoring refusal: where in your call''s input it points, e.g. `steps.<key>.params.<field>`.'
type: string
fix:
description: 'On an authoring refusal: the change to your call that would pass.'
type: string
instruction:
description: 'On an authoring refusal: what to do next with it.'
type: string
required:
- ok
- code
- message
description: A call that was admitted and dispatched, and did not succeed.
additionalProperties: false
securitySchemes:
tenantApiKey:
type: http
scheme: bearer
description: 'An API key minted at Settings › API & MCP. Send it as `Authorization: Bearer <key>`. A key carries its holder''s own permissions, resolved on every call — revoking a membership closes the key''s reach immediately. Keep it in an environment variable (`GOOSY_API_KEY`), never in a committed file.'
x-refined-from:
- goosybear-ai-openapi.json
- goosybear-ai-openapi.yml