Patricia Onboarding API

The onboarding API from Patricia — 8 operation(s) for onboarding.

GitHub OpenAPI

Operations 8

POST /v1/onboarding-chat-platform Choose a chat platform to connect #
PUT /v1/onboarding-meetings Answer the onboarding meetings question #
GET /v1/onboarding-progress Onboarding checklist progress #
GET /v1/onboarding-readiness Onboarding background-research readiness #
POST /v1/onboarding-skips Skip an onboarding step #
POST /v1/onboarding-use-cases Create Onboarding Use Case #
PUT /v1/onboarding-use-cases/ai-tools Save Ai Tools #
PUT /v1/onboarding-use-cases/integrations Save Integrations #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/patricia-app:patricia-app-onboarding-api"
All apis
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.

Get an API 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 Specification

patricia-app-onboarding-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Onboarding API
  version: 0.1.0
tags:
- name: Onboarding
paths:
  /v1/onboarding-chat-platform:
    post:
      tags:
      - Onboarding
      summary: Choose a chat platform to connect
      description: Record which chat platform a password-signup workspace wants to connect. A pick may be overwritten by a later one; refused only once the workspace has already installed a chat platform. Requires `tenant:read`.
      operationId: choose_chat_platform_v1_onboarding_chat_platform_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/OnboardingChatPlatformRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingChatPlatformResponse'
        '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'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/onboarding-meetings:
    put:
      tags:
      - Onboarding
      summary: Answer the onboarding meetings question
      description: 'Save the person''s answer to the onboarding meetings question: whether Patricia may join the meetings on their own calendar. Requires preferences:edit.'
      operationId: answer_onboarding_meetings_v1_onboarding_meetings_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/OnboardingMeetingsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingMeetingsResponse'
        '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'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/onboarding-progress:
    get:
      tags:
      - Onboarding
      summary: Onboarding checklist progress
      description: 'Tenant-scoped per-step completion for the Home onboarding checklist: whether Slack is connected, the company profile is set up, Patricia is in a channel, the user connected a non-Slack tool, the user gave Patricia a task, and the team was grown, plus `all_done`. Each step is derived truthfully from stored data and is only `true` from a real signal. `owner_mail_provider` is a hint, not a step: the mail app the workspace owner connected, returned only when the stored company domain equals the registrable domain of the asking person''s sign-in email, and never with the domain. Requires `tenant:read`.'
      operationId: get_onboarding_progress_v1_onboarding_progress_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/OnboardingProgressResponse'
        '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/onboarding-readiness:
    get:
      tags:
      - Onboarding
      summary: Onboarding background-research readiness
      description: Tenant-scoped answer to whether the caller's own person-signals read (calendar or Gmail) is still running. Requires `tenant:read`.
      operationId: get_onboarding_readiness_v1_onboarding_readiness_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/OnboardingReadinessResponse'
        '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/onboarding-skips:
    post:
      tags:
      - Onboarding
      summary: Skip an onboarding step
      description: Record a workspace onboarding step as skipped. Requires `tenant:read`.
      operationId: create_onboarding_skip_v1_onboarding_skips_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/OnboardingSkipRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingSkipResponse'
        '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'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /v1/onboarding-use-cases:
    post:
      tags:
      - Onboarding
      summary: Create Onboarding Use Case
      operationId: create_onboarding_use_case_v1_onboarding_use_cases_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/OnboardingUseCaseRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingUseCaseResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/onboarding-use-cases/ai-tools:
    put:
      tags:
      - Onboarding
      summary: Save Ai Tools
      operationId: save_ai_tools_v1_onboarding_use_cases_ai_tools_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/OnboardingAiToolsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingAiToolsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/onboarding-use-cases/integrations:
    put:
      tags:
      - Onboarding
      summary: Save Integrations
      operationId: save_integrations_v1_onboarding_use_cases_integrations_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/OnboardingIntegrationsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingIntegrationsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    OnboardingUseCaseResponse:
      properties:
        title:
          $ref: '#/components/schemas/OnboardingUseCaseTitle'
      type: object
      required:
      - title
      title: OnboardingUseCaseResponse
    OnboardingChatPlatformResponse:
      properties:
        platform:
          type: string
          enum:
          - slack
          - microsoft_teams
          title: Platform
      type: object
      required:
      - platform
      title: OnboardingChatPlatformResponse
    OnboardingUseCaseRequest:
      properties:
        title:
          $ref: '#/components/schemas/OnboardingUseCaseTitle'
      additionalProperties: false
      type: object
      required:
      - title
      title: OnboardingUseCaseRequest
    OnboardingSkipRequest:
      properties:
        step:
          $ref: '#/components/schemas/OnboardingSkipStep'
      type: object
      required:
      - step
      title: OnboardingSkipRequest
    OwnerMailProvider:
      type: string
      enum:
      - gmail
      - outlook
      title: OwnerMailProvider
      description: The mail app the workspace owner connected, named by its app slug.
    OnboardingChatPlatformRequest:
      properties:
        platform:
          type: string
          enum:
          - slack
          - microsoft_teams
          title: Platform
      type: object
      required:
      - platform
      title: OnboardingChatPlatformRequest
      description: A password-signup workspace's pick, for ``POST /v1/onboarding-chat-platform``.
    OnboardingProgressResponse:
      properties:
        slack:
          type: boolean
          title: Slack
          description: A Slack platform installation exists (Patricia's chat bot is installed).
        microsoft_teams:
          type: boolean
          title: Microsoft Teams
          description: A Microsoft Teams platform installation exists (Patricia's chat bot is installed). Named in full so it cannot be misread as the `team` step, which reports whether other people joined the workspace.
        chat_platform:
          $ref: '#/components/schemas/ChatPlatform'
          description: 'Which chat platform this workspace has installed, or `not_yet` when it has installed neither. A claim about what is connected, so the dashboard words its copy from it. Never decide what to OFFER from this field: a workspace reporting `not_yet` is still being asked to connect one specific platform, and `chat_platform_to_connect` names it.'
        chat_platform_to_connect:
          type: string
          enum:
          - slack
          - microsoft_teams
          title: Chat Platform To Connect
          description: 'Which chat platform this workspace is being asked to connect: the one it has installed, else the one it signed up through. Always a real platform, because every connect CTA and wizard chat step has to name one even before anything is installed. Reports what to OFFER, never what is connected (`chat_platform` answers that).'
        company:
          type: boolean
          title: Company
          description: 'The company profile holds real content: the website was analyzed, or somebody filled in something anywhere in the Brand Kit (details, voice, words, colours, typography, or a logo in any slot and mode). The seeded brand-kit baseline, add-on and theme toggles, and a bare website URL on its own do not count.'
        website_blocked:
          type: boolean
          title: Website Blocked
          description: The newest website read for this workspace failed because the site refused it with HTTP 401 or 403. Always false once the `company` step is done.
        channels:
          type: boolean
          title: Channels
          description: Patricia is in at least one live Slack or Microsoft Teams channel, private ones included.
        tools:
          type: boolean
          title: Tools
          description: At least one active non-Slack integration account the user connected (Patricia-managed auto-provisioned accounts don't count).
        first_task:
          type: boolean
          title: First Task
          description: 'The user gave Patricia a task: a human-directed run (mention/dm/message/manual) or a live scheduled task the user created.'
        team:
          type: boolean
          title: Team
          description: More than one active member, or a pending invitation exists.
        calendar:
          type: boolean
          title: Calendar
          description: A live Google or Outlook calendar exists that someone connected, kept personal or shared with the team. Meeting auto-join reads a calendar for the person who connected it. A Patricia-managed account that nobody connected does not count. Reported as a step but excluded from all_done, because connecting a calendar is optional.
        chat_step:
          $ref: '#/components/schemas/OnboardingChatStep'
          description: 'The chat step this workspace is offered: `chat_platform` while it still has to pick one, else the connect screen for the platform it is being offered. Always a real step, even once a platform is connected or the step was skipped, so a caller can send someone to the chat step without walking `resume_step` past the steps before it.'
        skipped:
          items:
            $ref: '#/components/schemas/OnboardingSkipStep'
          type: array
          title: Skipped
          description: 'Onboarding steps the workspace chose to skip: company, tools, calendar, use_case, integrations, team, or chat_platform, sorted by name.'
        resume_step:
          $ref: '#/components/schemas/OnboardingResumeStep'
          description: 'The first unresolved wizard step, or `done` once every step is resolved. The steps come in a fixed order: company, tools, calendar, use_case, integrations, AI tools, then chat. A step is resolved by its answer or by a recorded skip, so a `tools` skip still leads to `calendar` unless a calendar is already connected or the `calendar` step was skipped too. The chat step is resolved by a connected chat platform or a `chat_platform` skip.'
        ai_tools:
          anyOf:
          - items:
              $ref: '#/components/schemas/OnboardingAiTool'
            type: array
          - type: 'null'
          title: Ai Tools
          description: The AI tools the workspace said it uses during onboarding, as tool keys. `null` when the question was never answered, an empty list when the answer was "none".
        all_done:
          type: boolean
          title: All Done
          description: True when every step above except calendar is complete (lets the dashboard hide the card; the optional calendar step must not pin it open).
        owner_mail_provider:
          anyOf:
          - $ref: '#/components/schemas/OwnerMailProvider'
          - type: 'null'
          description: 'The mail provider the workspace owner connected, for the asking person''s own company only: `null` unless the stored company domain equals the company (registrable) domain of the asking person''s sign-in email, and `null` when the owner has not connected one. A hint, not a step. Never carries the domain itself.'
      type: object
      required:
      - slack
      - microsoft_teams
      - chat_platform
      - chat_platform_to_connect
      - company
      - website_blocked
      - channels
      - tools
      - first_task
      - team
      - calendar
      - chat_step
      - skipped
      - resume_step
      - ai_tools
      - all_done
      - owner_mail_provider
      title: OnboardingProgressResponse
      description: 'Per-step onboarding completion for the caller''s workspace.


        Every field is a truthful, tenant-scoped signal: ``false`` whenever the

        underlying data is absent (a step is never assumed complete). ``all_done`` is

        the AND of every step except ``calendar`` (optional by design, see the module

        docstring), so the dashboard can hide the checklist once the workspace is

        fully set up rather than showing a stale 100%.'
    OnboardingIntegrationsRequest:
      properties:
        integrations:
          items:
            type: string
          type: array
          minItems: 1
          title: Integrations
      additionalProperties: false
      type: object
      required:
      - integrations
      title: OnboardingIntegrationsRequest
    OnboardingAiToolsRequest:
      properties:
        ai_tools:
          items:
            $ref: '#/components/schemas/OnboardingAiTool'
          type: array
          title: Ai Tools
      additionalProperties: false
      type: object
      required:
      - ai_tools
      title: OnboardingAiToolsRequest
    OnboardingIntegrationsResponse:
      properties:
        integrations:
          items:
            type: string
          type: array
          title: Integrations
      type: object
      required:
      - integrations
      title: OnboardingIntegrationsResponse
    OnboardingResumeStep:
      type: string
      enum:
      - company
      - tools
      - calendar
      - use_case
      - integrations
      - ai_tools
      - chat_platform
      - slack
      - microsoft_teams
      - done
      title: OnboardingResumeStep
    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.
    OnboardingReadinessResponse:
      properties:
        still_reading:
          type: boolean
          title: Still Reading
          description: True while the caller's own person-signals read (calendar or Gmail) has started and not yet finished.
      type: object
      required:
      - still_reading
      title: OnboardingReadinessResponse
      description: 'Whether the person research kicked off during setup is still running.


        Read by the wizard''s finish screen, which says so instead of silently claiming the research is done.'
    OnboardingUseCaseTitle:
      type: string
      enum:
      - Client reports, without the manual work
      - Keep every client project on track
      - Watch our ad accounts
      - Calls, proposals and the pipeline
      - Answer my team's questions about our clients
      title: OnboardingUseCaseTitle
    OnboardingMeetingsResponse:
      properties:
        autojoin_enabled:
          type: boolean
          title: Autojoin Enabled
      type: object
      required:
      - autojoin_enabled
      title: OnboardingMeetingsResponse
    OnboardingSkipResponse:
      properties:
        step:
          $ref: '#/components/schemas/OnboardingSkipStep'
      type: object
      required:
      - step
      title: OnboardingSkipResponse
    OnboardingAiTool:
      type: string
      enum:
      - chatgpt
      - claude
      - gemini
      - copilot
      - grok
      - perplexity
      title: OnboardingAiTool
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OnboardingChatStep:
      type: string
      enum:
      - chat_platform
      - slack
      - microsoft_teams
      title: OnboardingChatStep
      description: 'The one chat step this workspace is offered: the chooser, or a platform''s connect screen.


        Always a real step, whatever else is outstanding, so a caller that only wants the chat step does

        not have to walk :class:`OnboardingResumeStep` past ``company`` and ``tools`` to find it.'
    OnboardingMeetingsRequest:
      properties:
        autojoin_enabled:
          type: boolean
          title: Autojoin Enabled
          description: Whether Patricia may join the meetings on the person's own calendar.
      additionalProperties: false
      type: object
      required:
      - autojoin_enabled
      title: OnboardingMeetingsRequest
      description: The person's answer to the onboarding meetings question, for ``PUT /v1/onboarding-meetings``.
    ChatPlatform:
      type: string
      enum:
      - slack
      - microsoft_teams
      - not_yet
      title: ChatPlatform
      description: 'The chat platform a workspace has installed, or ``not_yet`` when it has installed neither.


        Spelled in full so it cannot be misread as the ``team`` step, which is about membership.'
    OnboardingSkipStep:
      type: string
      enum:
      - company
      - tools
      - calendar
      - use_case
      - integrations
      - team
      - chat_platform
      title: OnboardingSkipStep
      description: 'The wizard steps a workspace may leave unfinished.


        ``chat_platform`` skips the whole chat step: the chooser and every connect screen. A workspace that skips it

        works with Patricia in the dashboard''s web chat and can connect a chat platform later. A stored key that names

        no member here is ignored.

        The calendar, use-case and integrations steps are dismissible.

        The AI tools step has no skip: "We use none yet" answers it by storing an empty list.'
    OnboardingAiToolsResponse:
      properties:
        ai_tools:
          items:
            $ref: '#/components/schemas/OnboardingAiTool'
          type: array
          title: Ai Tools
      type: object
      required:
      - ai_tools
      title: OnboardingAiToolsResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer