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

# Get user redirect URL

> Retrieve the appropriate redirect URL based on user authentication state



## OpenAPI

````yaml https://console.gputrader.io/assets/gputrader-api.json get /users/redirect
openapi: 3.1.1
info:
  title: GPU Trader API
  version: 0.4.16
  description: This is the Swagger/OpenAPI-compatible GPUTrader API documentation
servers:
  - url: https://api.gputrader.io/v1
security: []
tags: []
paths:
  /users/redirect:
    get:
      tags:
        - Users
      summary: Get user redirect URL
      description: Retrieve the appropriate redirect URL based on user authentication state
      responses:
        '200':
          description: Successfully retrieved redirect URL
          content:
            application/json:
              schema:
                type: string
                description: URL to redirect the user to
        '500':
          description: Internal server error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````