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

# AddManagedOrganizationMemberAPI adds a human member to a managed org by email
(role member or


> admin, never owner), or leaves a pending invitation when no account exists yet. A managed org's only admin member is the manager's service principal, so this is the surface that seats people in it. Deliberately no MCP tool: granting a human durable membership in a client org stays off the model-facing tool surface for the same reason manager-key minting does (see the file header).




## OpenAPI

````yaml /api/openapi.json post /v1/managed-organizations/{orgSlug}/members
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-07-27'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/managed-organizations/{orgSlug}/members:
    post:
      summary: >
        AddManagedOrganizationMemberAPI adds a human member to a managed org by
        email

        (role member or
      description: >
        admin, never owner), or leaves a pending invitation when no account
        exists yet. A managed org's only admin member is the manager's service
        principal, so this is the surface that seats people in it. Deliberately
        no MCP tool: granting a human durable membership in a client org stays
        off the model-facing tool surface for the same reason manager-key
        minting does (see the file header).
      operationId: POST:mcp.AddManagedOrganizationMemberAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: orgSlug
          required: true
          schema:
            type: string
          style: simple
      requestBody:
        content:
          application/json:
            schema:
              properties:
                email:
                  type: string
                role:
                  type: string
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  email:
                    type: string
                  invited:
                    title: >
                      true when no account existed and a pending invitation was
                      created instead
                    type: boolean
                  org_slug:
                    type: string
                  role:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````