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

# Approve a join request

> Owner or admin only. Adds the requester to the workspace with the role you choose (guest, member or admin; not owner) and tells them they're in. Approving someone who is already a member succeeds with `alreadyMember: true`.




## OpenAPI

````yaml /openapi/workspace.yaml post /workspaces/{workspaceId}/grant-access
openapi: 3.1.0
info:
  title: Connie Workspace API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for workspace settings, members and API
    keys. They authenticate with your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Settings
    description: The workspace name, logo and memory switch. Owners and admins only.
  - name: Members
    description: People in the workspace and their roles.
  - name: Invitations
    description: Email invitations and the workspace invite link.
  - name: Join requests
    description: People who asked to join the workspace.
  - name: API keys
    description: >
      Workspace API keys for MCP clients and agents. Keys work only with the
      Connie MCP server; these web app endpoints don't accept them.
paths:
  /workspaces/{workspaceId}/grant-access:
    post:
      tags:
        - Join requests
      summary: Approve a join request
      description: >
        Owner or admin only. Adds the requester to the workspace with the role
        you choose (guest, member or admin; not owner) and tells them they're
        in. Approving someone who is already a member succeeds with
        `alreadyMember: true`.
      operationId: approveJoinRequest
      parameters:
        - $ref: '#/components/parameters/workspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - requesterId
              properties:
                requesterId:
                  type: string
                  format: uuid
                  description: The `requesterId` from List join requests.
                role:
                  type: string
                  enum:
                    - guest
                    - member
                    - admin
                  default: member
      responses:
        '200':
          description: Approved.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  alreadyMember:
                    type: boolean
        '400':
          description: '"Requesting user not found"'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AdminOnly'
components:
  parameters:
    workspaceId:
      name: workspaceId
      in: path
      required: true
      description: The workspace id, as in the app URL `connie.ai/<workspaceId>/...`.
      schema:
        type: string
        format: uuid
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message.
        code:
          type: string
          description: >-
            A machine-readable code such as `VALIDATION_ERROR`, `FORBIDDEN` or
            `CONFLICT`, when the route sets one.
  responses:
    Unauthorized:
      description: No valid session, or the session has expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    AdminOnly:
      description: >-
        You are not a member of this workspace, or you are not an owner or
        admin.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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