Yardstick Notifications API
Personal channels and organization defaults for internal messages.
Personal channels and organization defaults for internal messages.
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/yardstick-team:yardstick-team-notifications-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Yardstick Team Notifications API
version: '2026-05-02'
description: 'Operations tagged Notifications across 2 of this provider''s published API definitions: api.yardstick.team_v1_openapi.json, yardstick-team-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.yardstick.team
description: Production
security:
- bearerAuth: []
tags:
- name: Notifications
description: Personal channels and organization defaults for internal messages.
paths:
/v1/notifications:
get:
operationId: getNotifications
summary: Read your notification channels
description: 'Read your notification channels
**Required scopes:** `notifications:read`'
tags:
- Notifications
deprecated: false
security:
- bearerAuth:
- notifications:read
responses:
'200':
description: Your choices, inherited defaults and Slack availability. The token selects the organization and person.
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationSettings'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Permission denied (scope or feature flag)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (e.g. idempotency key reuse with different body)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: X-Request-Id
in: header
required: false
description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
schema:
type: string
put:
operationId: setNotification
summary: Set your notification channel
description: 'Set your notification channel
**Required scopes:** `notifications:write`'
tags:
- Notifications
deprecated: false
security:
- bearerAuth:
- notifications:write
responses:
'200':
description: Choice saved for the token creator. Requires a live token.
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationSettingSaved'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Permission denied (scope or feature flag)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (e.g. idempotency key reuse with different body)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: Idempotency-Key
in: header
required: false
description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
schema:
type: string
- name: X-Request-Id
in: header
required: false
description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
message_type:
type: string
enum:
- hiring_process_updates
- scorecard_reminders
- offer_approvals
- interviewer_coaching
- decision_briefs
channel:
type: string
enum:
- email
- slack
- both
required:
- message_type
- channel
additionalProperties: false
delete:
operationId: resetNotification
summary: Reset your notification channel
description: 'Reset your notification channel
**Required scopes:** `notifications:write`'
tags:
- Notifications
deprecated: false
security:
- bearerAuth:
- notifications:write
responses:
'200':
description: Personal choice removed; the organization default applies again. Requires a live token.
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationSettingSaved'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Permission denied (scope or feature flag)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (e.g. idempotency key reuse with different body)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: Idempotency-Key
in: header
required: false
description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
schema:
type: string
- name: X-Request-Id
in: header
required: false
description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
message_type:
type: string
enum:
- hiring_process_updates
- scorecard_reminders
- offer_approvals
- interviewer_coaching
- decision_briefs
required:
- message_type
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/notifications/org-defaults:
get:
operationId: getNotificationOrgDefaults
summary: Read organization notification defaults
description: 'Read organization notification defaults
**Required scopes:** `notifications:read`'
tags:
- Notifications
deprecated: false
security:
- bearerAuth:
- notifications:read
responses:
'200':
description: Default channels. Requires a current organization admin.
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationSettings'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Permission denied (scope or feature flag)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (e.g. idempotency key reuse with different body)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: X-Request-Id
in: header
required: false
description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
schema:
type: string
put:
operationId: setNotificationOrgDefault
summary: Set an organization notification default
description: 'Set an organization notification default
**Required scopes:** `notifications:write`'
tags:
- Notifications
deprecated: false
security:
- bearerAuth:
- notifications:write
responses:
'200':
description: Default saved. Requires a live token and a current organization admin.
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationSettingSaved'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Permission denied (scope or feature flag)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (e.g. idempotency key reuse with different body)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: Idempotency-Key
in: header
required: false
description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
schema:
type: string
- name: X-Request-Id
in: header
required: false
description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
message_type:
type: string
enum:
- hiring_process_updates
- scorecard_reminders
- offer_approvals
- interviewer_coaching
- decision_briefs
channel:
type: string
enum:
- email
- slack
- both
required:
- message_type
- channel
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
components:
schemas:
NotificationSettingSaved:
type: object
properties:
data:
type: object
properties:
saved:
type: boolean
enum:
- true
required:
- saved
additionalProperties: false
required:
- data
additionalProperties: false
Error:
type: object
properties:
error:
type: object
properties:
type:
type: string
enum:
- invalid_request_error
- authentication_error
- permission_error
- rate_limit_error
- api_error
code:
type: string
message:
type: string
param:
type: string
request_id:
type: string
details:
type: object
additionalProperties: {}
description: Machine-readable specifics for offer document refusals only, such as the missing fill-ins of required_answers_missing or the clashing fill-in of fill_in_type_clash.
required:
- type
- code
- message
- request_id
additionalProperties: false
required:
- error
additionalProperties: false
description: Canonical API error envelope. Every 404 not-found response uses a resource-specific code and includes param with the exact body field or path parameter that referenced the unavailable resource. Use code and param for programmatic handling, and request_id for support; message text is not a stable contract.
NotificationSettings:
type: object
properties:
data:
type: object
properties:
settings:
type: array
items:
type: object
properties:
message_type:
type: string
enum:
- hiring_process_updates
- scorecard_reminders
- offer_approvals
- interviewer_coaching
- decision_briefs
org_channel:
type: string
enum:
- email
- slack
- both
personal_channel:
type: string
enum:
- email
- slack
- both
nullable: true
channel:
type: string
enum:
- email
- slack
- both
required:
- message_type
- org_channel
- personal_channel
- channel
additionalProperties: false
slack:
type: object
properties:
available:
type: boolean
workspace_name:
type: string
nullable: true
reason:
type: string
nullable: true
required:
- available
- workspace_name
- reason
additionalProperties: false
required:
- settings
- slack
additionalProperties: false
required:
- data
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Yardstick API tokens. Format: `ys_(sk|pk)_(live|test)_<32+ chars>`. **Secret keys** (`ys_sk_…`) are server-only — using one from a browser origin returns `secret_key_browser_denied`. **Publishable keys** (`ys_pk_…`) are browser-safe and restricted to intake-only person creation.'
x-refined-from:
- api.yardstick.team_v1_openapi.json
- yardstick-team-openapi.json
x-provenance:
method: harvested
publisher: Yardstick
source: https://api.yardstick.team/v1/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)