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

# Post apiv1userinvite codes



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/user/invite-codes
openapi: 3.1.0
info:
  title: ekiden-gateway
  description: >-
    API Gateway and WebSocket proxy based on Axum and Utoipa, handling auth,
    rate limiting, and connection buffering.
  license:
    name: ''
  version: 0.1.1
servers:
  - url: https://api.ekiden.fi/
    description: Production
  - url: https://api.cnt.ekiden.fi/
    description: Testnet
  - url: https://api.canton.ekiden.fi/
    description: Staging
security: []
paths:
  /api/v1/user/invite-codes:
    post:
      tags:
        - User
      operationId: post_user_invite_codes
      responses:
        '200':
          description: One earned code minted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintInviteCodeResponse'
        '409':
          description: No earned code available to claim
        '429':
          description: Rate limited
      security:
        - bearer_auth: []
components:
  schemas:
    MintInviteCodeResponse:
      type: object
      required:
        - code
      properties:
        code:
          type: string
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer

````