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

# Get invitation details

> Retrieve invitation details for a signed-in recipient.

Requires an OAuth bearer token. Use the token from the invitation link. The response includes the recipient, expiry, status, and target workspace roles. A missing invitation returns `404`. Treat the invitation token as sensitive; API keys are not accepted.


## OpenAPI

````yaml GET /api/v1/organizations/invites/{token}/details
openapi: 3.1.0
info:
  title: Bandwidth Agent Builder API
  version: v1
  description: >-
    Manage agents, place calls, and retrieve conversation results in your
    workspace.
servers:
  - url: https://agents.labs.bandwidth.com
    description: Workspace API
security: []
paths:
  /api/v1/organizations/invites/{token}/details:
    get:
      tags:
        - members
      summary: Get invitation details
      description: >-
        **Authorization:** Requires a Labs OAuth bearer token. API keys are not
        accepted. Resource ownership and operation-specific restrictions still
        apply.


        Retrieve invitation details for a signed-in recipient.
      operationId: get_invite_details_api_v1_organizations_invites__token__details_get
      parameters:
        - in: path
          name: token
          required: true
          schema:
            title: Token
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InviteDetailsResponse'
          description: Successful Response
        '401':
          description: Missing, invalid, or expired credential.
        '403':
          description: >-
            The account lacks access to the workspace, resource, or required
            role.
        '404':
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - LabsAuth: []
components:
  schemas:
    InviteDetailsResponse:
      properties:
        account_exists:
          title: Account Exists
          type: boolean
        email:
          title: Email
          type: string
        expires_at:
          format: date-time
          title: Expires At
          type: string
        inviter:
          anyOf:
            - type: string
            - type: 'null'
          title: Inviter
        status:
          title: Status
          type: string
        targets:
          items:
            $ref: '#/components/schemas/InviteTargetInfo'
          title: Targets
          type: array
      required:
        - email
        - status
        - expires_at
        - account_exists
        - targets
      title: InviteDetailsResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    InviteTargetInfo:
      properties:
        role:
          title: Role
          type: string
        tenant_name:
          title: Tenant Name
          type: string
      required:
        - tenant_name
        - role
      title: InviteTargetInfo
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    LabsAuth:
      description: >-
        Bandwidth Labs OAuth access token. Uses the user's selected workspace;
        the workspace header is not required. Do not also send an API key.
        Bearer-only operations may additionally require the Labs `super_user`
        role.
      scheme: bearer
      type: http

````

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