Patricia Roster Sync Policy API
The roster-sync-policy API from Patricia — 1 operation(s) for roster-sync-policy.
The roster-sync-policy API from Patricia — 1 operation(s) for roster-sync-policy.
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/patricia-app:patricia-app-roster-sync-policy-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: Patricia Roster Sync Policy API
version: 0.1.0
tags:
- name: roster-sync-policy
paths:
/v1/roster-sync-policy:
get:
tags:
- roster-sync-policy
summary: Get the roster-sync policy (who joins from Slack)
description: 'Which tiers of Slack member join Patricia when the workspace roster syncs: full workspace members and, only if enabled, guests (single and multi-channel). Guests are excluded by default. Any workspace member may read it.'
operationId: get_roster_sync_policy_v1_roster_sync_policy_get
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RosterSyncPolicyResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
put:
tags:
- roster-sync-policy
summary: Set the roster-sync policy (who joins from Slack)
description: Set which Slack member tiers join Patricia on roster sync. Turning guests off (the default) means no single- or multi-channel guest is ever added, and any guest added by an earlier sync is deactivated on the next sync. Admin only.
operationId: set_roster_sync_policy_v1_roster_sync_policy_put
security:
- HTTPBearer: []
parameters:
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RosterSyncPolicyBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RosterSyncPolicyResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ErrorResponse:
properties:
code:
type: string
title: Code
message:
type: string
title: Message
errors:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Errors
type: object
required:
- code
- message
title: ErrorResponse
description: Standard error envelope, matching exception handler output.
RosterSyncPolicyResponse:
properties:
include_full_members:
type: boolean
title: Include Full Members
include_multi_channel_guests:
type: boolean
title: Include Multi Channel Guests
include_single_channel_guests:
type: boolean
title: Include Single Channel Guests
admins_only:
type: boolean
title: Admins Only
include_guests:
type: boolean
title: Include Guests
type: object
required:
- include_full_members
- include_multi_channel_guests
- include_single_channel_guests
- admins_only
- include_guests
title: RosterSyncPolicyResponse
description: The tenant's effective roster-sync policy (admin view).
RosterSyncPolicyBody:
properties:
include_full_members:
type: boolean
title: Include Full Members
description: Include full workspace members when syncing the team list.
default: true
include_multi_channel_guests:
anyOf:
- type: boolean
- type: 'null'
title: Include Multi Channel Guests
description: Include multi-channel Slack guests. Either guest option also includes Teams guests.
include_single_channel_guests:
anyOf:
- type: boolean
- type: 'null'
title: Include Single Channel Guests
description: Include single-channel Slack guests. Either guest option also includes Teams guests.
include_guests:
anyOf:
- type: boolean
- type: 'null'
title: Include Guests
admins_only:
type: boolean
title: Admins Only
description: Sync only workspace owners and admins. Guests remain excluded.
default: false
additionalProperties: false
type: object
title: RosterSyncPolicyBody
description: Admin request body to set the roster-sync policy (who joins from Slack).
securitySchemes:
HTTPBearer:
type: http
scheme: bearer