Yardstick Slack API
Organization Slack connection status.
Organization Slack connection status.
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-slack-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 Slack API
version: '2026-05-02'
description: 'Operations tagged Slack 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: Slack
description: Organization Slack connection status.
paths:
/v1/slack/status:
post:
operationId: getSlackStatus
summary: Read Slack connection status
description: 'Read Slack connection status
**Required scopes:** `slack:read`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:read
responses:
'200':
description: Workspace name, state and connecting admin's user id. Admins only. Test tokens return saved state without contacting Slack.
content:
application/json:
schema:
$ref: '#/components/schemas/SlackConnectionStatus'
'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:
action:
type: string
enum:
- status
default: status
organization_id:
type: string
format: uuid
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/connect:
post:
operationId: connectSlack
summary: Get the Slack consent link
description: 'Get the Slack consent link
**Required scopes:** `slack:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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:
action:
type: string
enum:
- start
return_to:
type: string
maxLength: 4096
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/disconnect:
post:
operationId: disconnectSlack
summary: Disconnect Slack
description: 'Disconnect Slack
**Required scopes:** `slack:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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:
action:
type: string
enum:
- disconnect
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/members:
get:
operationId: listSlackMembers
summary: List team members and Slack matches
description: 'List team members and Slack matches
**Required scopes:** `slack:read`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:read
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/members/match:
post:
operationId: matchSlackMembers
summary: Match team members by email
description: 'Match team members by email
**Required scopes:** `slack:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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:
action:
type: string
enum:
- auto_match
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/members/{user_id}:
put:
operationId: setSlackMember
summary: Match a team member to Slack
description: 'Match a team member to Slack
**Required scopes:** `slack:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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: user_id
in: path
required: true
schema:
type: string
- 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:
action:
type: string
enum:
- manual_match
slack_user_id:
type: string
pattern: ^[UW][A-Z0-9]{1,63}$
required:
- slack_user_id
additionalProperties: false
delete:
operationId: unsetSlackMember
summary: Remove a team member's Slack match
description: 'Remove a team member''s Slack match
**Required scopes:** `slack:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- slack:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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: user_id
in: path
required: true
schema:
type: string
- 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:
action:
type: string
enum:
- unmatch
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/me:
get:
operationId: getSlackMe
summary: Read your Slack match
description: 'Read your Slack match
**Required scopes:** `notifications:read`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- notifications:read
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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
servers:
- url: https://api.yardstick.team
description: Production
/v1/slack/me/test:
post:
operationId: testSlackMe
summary: Send yourself a Slack test message
description: 'Send yourself a Slack test message
**Required scopes:** `notifications:write`'
tags:
- Slack
deprecated: false
security:
- bearerAuth:
- notifications:write
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
'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:
action:
type: string
enum:
- self_test
additionalProperties: false
servers:
- url: https://api.yardstick.team
description: Production
components:
schemas:
SlackConnectionStatus:
type: object
properties:
connection:
type: object
properties:
id:
type: string
organization_id:
type: string
user_id:
type: string
status:
type: string
provider_account_id:
type: string
provider_account_name:
type: string
nullable: true
created_at:
type: string
updated_at:
type: string
last_error_code:
type: string
nullable: true
required:
- id
- organization_id
- user_id
- status
- provider_account_id
- provider_account_name
- created_at
- updated_at
- last_error_code
additionalProperties: false
nullable: true
required:
- connection
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.
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)