> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List the people who can sign in to a portal

> The external people the portal's grants (or one grant) match today, by name, with the grants that match each and the accounts they will see. They sign in only while external access is on (GET /v1/portals/{portal_id}/access): this lists the matches either way. Someone a domain grant matches who has no person record yet is not listed: they can't sign in until they have one. Needs portals:write, as in the app.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/portals/{portal_id}/people
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/portals/{portal_id}/people:
    get:
      tags:
        - portals
      summary: List the people who can sign in to a portal
      description: >-
        The external people the portal's grants (or one grant) match today, by
        name, with the grants that match each and the accounts they will see.
        They sign in only while external access is on (GET
        /v1/portals/{portal_id}/access): this lists the matches either way.
        Someone a domain grant matches who has no person record yet is not
        listed: they can't sign in until they have one. Needs portals:write, as
        in the app.
      operationId: portals_list_people
      parameters:
        - description: >-
            The portal's id, as GET /v1/portals (or the portal_list MCP tool)
            returns it
          in: path
          name: portal_id
          required: true
          schema:
            format: uuid
            type: string
        - description: Only the people this one grant lets in
          in: query
          name: grant_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            default: null
        - description: Matches a name or email
          in: query
          name: search
          required: false
          schema:
            anyOf:
              - maxLength: 200
                type: string
              - type: 'null'
            default: null
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            type: integer
        - in: query
          name: offset
          required: false
          schema:
            default: 0
            minimum: 0
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortalPeopleResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    PortalPeopleResponse:
      properties:
        people:
          items:
            $ref: '#/components/schemas/PortalPerson'
          title: People
          type: array
        total:
          title: Total
          type: integer
      required:
        - people
        - total
      title: PortalPeopleResponse
      type: object
    PortalPerson:
      properties:
        accounts:
          items:
            $ref: '#/components/schemas/PortalAccountRef'
          title: Accounts
          type: array
        admitted_by:
          items:
            $ref: '#/components/schemas/AdmittedBy'
          title: Admitted By
          type: array
        email:
          title: Email
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        person_id:
          title: Person Id
          type: string
      required:
        - person_id
        - email
      title: PortalPerson
      type: object
    PortalAccountRef:
      properties:
        customer_id:
          title: Customer Id
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
      required:
        - customer_id
      title: PortalAccountRef
      type: object
    AdmittedBy:
      properties:
        access_id:
          title: Access Id
          type: string
        grantee_type:
          title: Grantee Type
          type: string
      required:
        - access_id
        - grantee_type
      title: AdmittedBy
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.