Skip to main content

User

Retrieve information about the authenticated user.

Get User Info

Method: GET Endpoint: https://api.xenonflare.com/user

Authentication

Include your API key in the request headers:

  • X-API-Key: Your API key
  • OR Authorization: Bearer YOUR_API_KEY

Response Structure

{
"success": true,
"user": {
"email": "[email protected]",
"subscriptionPlan": "pro",
"subscriptionStatus": "active"
}
}

Example Request

curl -X GET https://api.xenonflare.com/user \
-H "X-API-Key: your_api_key"