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

# Add a workspace member

> Give an existing team member immediate workspace access using their existing role. Confirm access with the user.

Administrator access with explicit administrator permission on API keys or MCP credentials, or a signed-in administrator.

Give an existing team member immediate workspace access using their existing role. Confirm access with the user.

Additional workspaces require membership. Existing team roles apply. Default is available to everyone and cannot be deleted. Only an empty additional workspace can be deleted.

MCP clients can use [`add_workspace_member`](https://www.posted.cc/mcp-reference/add_workspace_member) for this operation.

[Request conventions](https://www.posted.cc/api-reference/overview.md) · [API keys](https://www.posted.cc/api-keys.md) · [MCP connections](https://www.posted.cc/mcp-connections.md)


## OpenAPI

````yaml api-reference/openapi.json POST /api/workspaces/{workspaceId}/members
openapi: 3.1.0
info:
  title: Posted HTTP API
  version: 0.2.6
  description: >-
    All registered application, account, OAuth, MCP transport and health
    endpoints. Publishing and draft request schemas come from the shared runtime
    validators. Replace the example server with your installation. Documentation
    uses simple request examples and does not execute live publishing requests.
servers:
  - url: https://posted-api.example.com
security: []
paths:
  /api/workspaces/{workspaceId}/members:
    post:
      tags:
        - Workspaces
      summary: Add a workspace member
      description: >-
        Give an existing team member immediate workspace access using their
        existing role. Confirm access with the user.


        Additional workspaces require membership. Existing team roles apply.
        Default is available to everyone and cannot be deleted. Only an empty
        additional workspace can be deleted.


        Administrator access with explicit administrator permission on API keys
        or MCP credentials, or a signed-in administrator.
      operationId: post_api_workspaces_by_workspaceId_members
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            The workspaceId from the corresponding list, record or authorization
            response.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userId:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              required:
                - userId
              additionalProperties: false
            example:
              userId: 66666666-6666-4666-8666-666666666666
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
          content:
            application/json:
              schema:
                type: object
                properties:
                  completed:
                    type: boolean
                additionalProperties: true
              example:
                completed: true
        default:
          description: >-
            Request failure. Inspect code, message and requestId; respect
            Retry-After on HTTP 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
        - sessionCookie: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal or workspace Posted REST API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: posted_session
      description: >-
        Signed-in human browser session; mutation requests also need the exact
        UI Origin

````

## Related topics

- [add_workspace_member](https://www.posted.cc/mcp-reference/add_workspace_member.md)
- [Remove a workspace member](https://www.posted.cc/api-reference/delete_api_workspaces_by_workspaceId_members_by_userId.md)
- [List workspace members](https://www.posted.cc/api-reference/get_api_workspaces_by_workspaceId_members.md)
- [list_workspace_members](https://www.posted.cc/mcp-reference/list_workspace_members.md)
- [remove_workspace_member](https://www.posted.cc/mcp-reference/remove_workspace_member.md)


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