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

# Post supportsessions

> Create a web support session from metadata passed in the request body and return the session code together with the full public web support URL that has the session code attached (`sid`). Requires no authentication; the game is identified by its game environment `token`.



## OpenAPI

````yaml https://api.theymes.com/openapi post /support/sessions
openapi: 3.1.0
info:
  title: Theymes API
  version: 1.0.0
  description: >-
    Theymes API allows you to interact with the Theymes platform.



    Most endpoints require an API key for authentication. You can generate an
    API key in the Theymes dashboard.



    The API key should be included in the Authorization header
    (```Authorization: Bearer <YOUR_KEY>```).



    The public support link endpoints do not require authentication and are
    grouped separately below.
servers: []
security: []
tags:
  - name: Authenticated endpoints (API key)
    description: Endpoints that require an API key in the Authorization header.
  - name: Public support links (no authentication)
    description: >-
      Endpoints for creating web support sessions and links. These require no
      authentication and are identified by a game environment token.
paths:
  /support/sessions:
    post:
      tags:
        - Public support links (no authentication)
      description: >-
        Create a web support session from metadata passed in the request body
        and return the session code together with the full public web support
        URL that has the session code attached (`sid`). Requires no
        authentication; the game is identified by its game environment `token`.
      operationId: createSupportSession
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  format: uuid
                language:
                  type: string
                resource:
                  type: string
                  description: >-
                    When provided, the user is taken directly to that resource
                    instead of the support home page. Must match a resource key
                    configured in the Theymes application.
                signedMetadataToken:
                  type: string
                player:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    email:
                      type: string
                      format: email
                    tier:
                      anyOf:
                        - type: number
                          enum:
                            - 1
                        - type: number
                          enum:
                            - 2
                        - type: number
                          enum:
                            - 3
                tags:
                  type: array
                  items:
                    type: string
                fields:
                  type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - type: number
                      - type: array
                        items:
                          type: string
                      - type: boolean
              required:
                - token
      responses:
        '200':
          description: The created support session code and the public web support URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  sessionCode:
                    type: string
                  url:
                    type: string
                required:
                  - sessionCode
                  - url

````