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

# Invite a member

> Invites a person to the organization by email, in the organization owner's name, exactly as the dashboard does. Someone without an Eden AI account gets one and an invitation email (201, `invited`); in an SSO organization they sign in through your identity provider. Inviting a member who has not signed in yet sends the invitation again (200, `resent`). Someone who already has an account joins once they accept (201, `pending_acceptance`, `member` null). Returns 409 when the person is already a member, belongs to another organization, or cannot be invited, and 403 when the plan's member limit is reached. Requires the `manage:write` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/members/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/members/:
    post:
      tags:
        - Members
      summary: Invite a member
      description: >-
        Invites a person to the organization by email, in the organization
        owner's name, exactly as the dashboard does. Someone without an Eden AI
        account gets one and an invitation email (201, `invited`); in an SSO
        organization they sign in through your identity provider. Inviting a
        member who has not signed in yet sends the invitation again (200,
        `resent`). Someone who already has an account joins once they accept
        (201, `pending_acceptance`, `member` null). Returns 409 when the person
        is already a member, belongs to another organization, or cannot be
        invited, and 403 when the plan's member limit is reached. Requires the
        `manage:write` scope.
      operationId: manage_members_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManageMemberInviteRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ManageMemberInviteRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ManageMemberInviteRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberInvitation'
          description: ''
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberInvitation'
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  schemas:
    ManageMemberInviteRequest:
      type: object
      description: >-
        The person to invite. `first_name` and `last_name` are used only when
        the invitation creates

        a new Eden AI account.
      properties:
        email:
          type: string
          format: email
          minLength: 1
          maxLength: 500
        first_name:
          type: string
          default: ''
          maxLength: 30
        last_name:
          type: string
          default: ''
          maxLength: 30
      required:
        - email
    MemberInvitation:
      type: object
      properties:
        email:
          type: string
          format: email
        status:
          allOf:
            - $ref: '#/components/schemas/MemberInvitationStatusEnum'
          description: >-
            `invited`: a new account was created and the invitation sent.
            `resent`: the person was already invited and had not signed in yet;
            the invitation was sent again. `pending_acceptance`: the person
            already has an Eden AI account and joins once they accept the
            invitation.


            * `invited` - invited

            * `resent` - resent

            * `pending_acceptance` - pending_acceptance
        member:
          allOf:
            - $ref: '#/components/schemas/OrganisationUsers'
          nullable: true
      required:
        - email
        - member
        - status
    MemberInvitationStatusEnum:
      enum:
        - invited
        - resent
        - pending_acceptance
      type: string
      description: |-
        * `invited` - invited
        * `resent` - resent
        * `pending_acceptance` - pending_acceptance
    OrganisationUsers:
      type: object
      description: >-
        A member of the organization: identity, role, rate limits, directory
        groups and the API keys

        attributed to them (never their secrets).
      properties:
        email:
          type: string
          format: email
          nullable: true
          maxLength: 500
        fullname:
          type: string
          pattern: ^[a-zA-Z\'\- ]+$
          maxLength: 60
        is_confirmed:
          type: boolean
        role:
          type: string
          readOnly: true
        guardrail:
          type: string
          readOnly: true
        effective_rate_limit:
          type: string
          readOnly: true
        tokens:
          type: string
          readOnly: true
        is_org_owner:
          type: boolean
          readOnly: true
        directory_groups:
          type: string
          readOnly: true
      required:
        - directory_groups
        - effective_rate_limit
        - fullname
        - guardrail
        - is_org_owner
        - role
        - tokens
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

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