Patricia People Groups API
The people-groups API from Patricia — 6 operation(s) for people-groups.
The people-groups API from Patricia — 6 operation(s) for people-groups.
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-people-groups-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 People Groups API
version: 0.1.0
tags:
- name: people-groups
paths:
/v1/people-groups:
get:
tags:
- people-groups
summary: List Groups
operationId: list_groups_v1_people_groups_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:
type: array
items:
$ref: '#/components/schemas/GroupDetail'
title: Response List Groups V1 People Groups Get
'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'
post:
tags:
- people-groups
summary: Create Group
operationId: create_group_v1_people_groups_post
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/GroupCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GroupView'
'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'
/v1/people-groups/grant-picker:
get:
tags:
- people-groups
summary: Group Picker
operationId: group_picker_v1_people_groups_grant_picker_get
security:
- HTTPBearer: []
parameters:
- name: space_id
in: query
required: true
schema:
type: string
format: uuid
title: Space Id
- 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:
type: array
items:
$ref: '#/components/schemas/GroupPickerItem'
title: Response Group Picker V1 People Groups Grant Picker Get
'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'
/v1/people-groups/{group_id}:
get:
tags:
- people-groups
summary: Group Detail
operationId: group_detail_v1_people_groups__group_id__get
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- 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/GroupDetail'
'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'
patch:
tags:
- people-groups
summary: Rename Group
operationId: rename_group_v1_people_groups__group_id__patch
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- 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/SpaceName'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GroupView'
'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'
delete:
tags:
- people-groups
summary: Delete Group
operationId: delete_group_v1_people_groups__group_id__delete
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: Successful Response
'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'
/v1/people-groups/{group_id}/member-previews:
post:
tags:
- people-groups
summary: Member Previews
operationId: member_previews_v1_people_groups__group_id__member_previews_post
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- 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/GroupMemberPreviewBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/GroupMemberPreviewView'
title: Response Member Previews V1 People Groups Group Id Member Previews Post
'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'
/v1/people-groups/{group_id}/members:
post:
tags:
- people-groups
summary: Add Member
operationId: add_member_v1_people_groups__group_id__members_post
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- 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/MemberBody'
responses:
'204':
description: Successful Response
'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'
/v1/people-groups/{group_id}/members/{membership_id}:
delete:
tags:
- people-groups
summary: Remove Member
operationId: remove_member_v1_people_groups__group_id__members__membership_id__delete
security:
- HTTPBearer: []
parameters:
- name: group_id
in: path
required: true
schema:
type: string
format: uuid
title: Group Id
- name: membership_id
in: path
required: true
schema:
type: string
format: uuid
title: Membership Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'204':
description: Successful Response
'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'
components:
schemas:
GroupPickerItem:
properties:
id:
type: string
format: uuid
title: Id
name:
type: string
title: Name
member_count:
type: integer
title: Member Count
type: object
required:
- id
- name
- member_count
title: GroupPickerItem
GroupMemberPreviewBody:
properties:
membership_id:
type: string
format: uuid
title: Membership Id
additionalProperties: false
type: object
required:
- membership_id
title: GroupMemberPreviewBody
GroupCreate:
properties:
name:
type: string
title: Name
slug:
type: string
maxLength: 255
minLength: 1
title: Slug
additionalProperties: false
type: object
required:
- name
- slug
title: GroupCreate
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.
ChannelKey:
properties:
platform_code:
type: string
title: Platform Code
channel_scope_id:
type: string
title: Channel Scope Id
type: object
required:
- platform_code
- channel_scope_id
title: ChannelKey
AccessPreview:
properties:
digest:
type: string
title: Digest
confirmation_required:
type: boolean
title: Confirmation Required
default: true
adds_audience:
type: string
enum:
- 'false'
- 'true'
- unknown
title: Adds Audience
default: unknown
channel_to_space:
anyOf:
- $ref: '#/components/schemas/AudienceView'
- type: 'null'
space_to_channel:
anyOf:
- $ref: '#/components/schemas/AudienceView'
- type: 'null'
history_start_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: History Start At
history_end_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: History End At
history_periods:
items:
prefixItems:
- $ref: '#/components/schemas/ChannelKey'
- anyOf:
- type: string
format: date-time
- type: 'null'
- anyOf:
- type: string
format: date-time
- type: 'null'
type: array
maxItems: 3
minItems: 3
type: array
title: History Periods
default: []
history_coverage:
anyOf:
- type: string
- type: 'null'
title: History Coverage
default: Read coverage for this period is not yet recorded.
future_membership:
type: string
title: Future Membership
default: People who later join a receiving channel can gain Use. Future channel readers can see answers already posted there.
attached_accounts:
items:
additionalProperties: true
type: object
type: array
title: Attached Accounts
attached_accounts_copy:
type: string
title: Attached Accounts Copy
default: No accounts are attached to this space yet.
evidence_limits:
items:
type: string
type: array
title: Evidence Limits
default: []
authorized_labels:
items:
type: string
type: array
title: Authorized Labels
default: []
current_audience:
anyOf:
- $ref: '#/components/schemas/AudienceView'
- type: 'null'
proposed_audience:
anyOf:
- $ref: '#/components/schemas/AudienceView'
- type: 'null'
type: object
required:
- digest
title: AccessPreview
AudienceView:
properties:
membership_ids:
items:
type: string
format: uuid
type: array
title: Membership Ids
categories:
items:
type: string
type: array
title: Categories
receiving_channels:
items:
$ref: '#/components/schemas/ChannelKey'
type: array
title: Receiving Channels
private_surfaces:
items:
type: string
type: array
title: Private Surfaces
default:
- own_dm
- console
- personal_token_mcp
type: object
required:
- membership_ids
- categories
- receiving_channels
title: AudienceView
GroupMemberPreviewView:
properties:
space_id:
type: string
format: uuid
title: Space Id
space_name:
type: string
title: Space Name
preview:
$ref: '#/components/schemas/AccessPreview'
type: object
required:
- space_id
- space_name
- preview
title: GroupMemberPreviewView
GroupDetail:
properties:
name:
type: string
title: Name
id:
type: string
format: uuid
title: Id
slug:
type: string
title: Slug
membership_ids:
items:
type: string
format: uuid
type: array
title: Membership Ids
additionalProperties: false
type: object
required:
- name
- id
- slug
- membership_ids
title: GroupDetail
GroupView:
properties:
name:
type: string
title: Name
id:
type: string
format: uuid
title: Id
slug:
type: string
title: Slug
additionalProperties: false
type: object
required:
- name
- id
- slug
title: GroupView
MemberBody:
properties:
membership_id:
type: string
format: uuid
title: Membership Id
confirmations:
additionalProperties:
type: string
propertyNames:
format: uuid
type: object
title: Confirmations
additionalProperties: false
type: object
required:
- membership_id
title: MemberBody
SpaceName:
properties:
name:
type: string
title: Name
additionalProperties: false
type: object
required:
- name
title: SpaceName
securitySchemes:
HTTPBearer:
type: http
scheme: bearer