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

# Get team invite preview

> Retrieves public information about a team using an invite token.



## OpenAPI

````yaml /api-reference/teams/openapi.json get /teams/invites/{token}
openapi: 3.0.0
info:
  title: Teams
  version: 1.0.0
  description: API endpoints for managing teams in the 16TMS platform
servers:
  - url: https://api.16tms.com/api/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /teams/invites/{token}:
    get:
      summary: Get team invite preview
      description: Retrieves public information about a team using an invite token.
      operationId: getTeamInvitePreview
      parameters:
        - name: token
          in: path
          description: The invite token
          required: true
          schema:
            type: string
        - name: externalId
          in: query
          description: >-
            Optional external user ID to check if user can join (checks if
            already member)
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Team preview fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTeamInvitePreviewResponse'
              example:
                success: true
                message: Team preview fetched successfully
                data:
                  teamId: e86e814e-ca93-412e-b347-fb71837c6466
                  name: boss official
                  description: string
                  logo: string
                  coverImage: string
                  teamSize: 16
                  currentMembers: 1
                  ownerName: Dhruv
                  gameId: 8a7b084c-d30a-40e7-85e0-865164a9076b
                  gameName: Counter Stirke
                  canJoin: false
                  joinError: >-
                    You are the team owner. You are already a member of this
                    team.
                meta:
                  traceId: 00-284038cb0fcea24e1b38d617a989c586-f8a343ad22441e41-00
                  elapsedMs: 35.21
                  serverTimestamp: '2026-02-11T06:05:14.3237042Z'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Team or invite not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GetTeamInvitePreviewResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            teamId:
              type: string
              format: uuid
            name:
              type: string
            description:
              type: string
              nullable: true
            logo:
              type: string
              nullable: true
            coverImage:
              type: string
              nullable: true
            teamSize:
              type: integer
            currentMembers:
              type: integer
            ownerName:
              type: string
            gameId:
              type: string
              format: uuid
            gameName:
              type: string
            canJoin:
              type: boolean
              description: >-
                Indicates if the user can join the team. Null if externalId is
                not provided.
              nullable: true
            joinError:
              type: string
              description: >-
                Reason why the user cannot join the team. Null if canJoin is
                true or externalId is not provided.
              nullable: true
        meta:
          type: object
          properties:
            traceId:
              type: string
            elapsedMs:
              type: number
            serverTimestamp:
              type: string
              format: date-time
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful
          example: false
        message:
          type: string
          description: Error message describing what went wrong
          example: Invalid API key
        errors:
          type: array
          description: Detailed error information
          items:
            type: object
            properties:
              field:
                type: string
                description: The field that caused the error
                example: name
              message:
                type: string
                description: Description of the error
                example: This field is required
        meta:
          type: object
          properties:
            traceId:
              type: string
              description: Unique trace identifier for debugging purposes
            serverTimestamp:
              type: string
              format: date-time
              description: Server timestamp when the error occurred
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        API key for authentication. You can generate this from the 16TMS
        console.

````