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

# Accept Invite

> Accept an org invite using the token from the invite email.

This is intentionally identity-only: an app-only or waitlisted user must be
able to accept the invite that grants control-plane access. API-key owners
are still capability-gated during credential authentication and require a
write-scoped key for this mutation.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json post /v1/invites/{token}/accept
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/invites/{token}/accept:
    post:
      tags:
        - invites
      summary: Accept Invite
      description: >-
        Accept an org invite using the token from the invite email.


        This is intentionally identity-only: an app-only or waitlisted user must
        be

        able to accept the invite that grants control-plane access. API-key
        owners

        are still capability-gated during credential authentication and require
        a

        write-scoped key for this mutation.
      operationId: invites_accept_invite
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
            title: Token
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptInviteResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    AcceptInviteResponse:
      properties:
        org_id:
          type: string
          format: uuid
          title: Org Id
        org_name:
          type: string
          title: Org Name
        org_slug:
          type: string
          title: Org Slug
        role:
          $ref: '#/components/schemas/OrgRole'
      type: object
      required:
        - org_id
        - org_name
        - org_slug
        - role
      title: AcceptInviteResponse
      description: Response after accepting an invite.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    OrgRole:
      type: string
      enum:
        - admin
        - member
        - viewer
      title: OrgRole
      description: Role of a user within an organization.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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