Skip to main content
GET
/
user
/
info
Get User Account Information
curl --request GET \
  --url https://www.refile.co/api/v1/user/info \
  --header 'Authorization: Bearer <token>'
{
  "userId": "<string>",
  "subscription": {
    "planName": "<string>",
    "currentCredits": 123,
    "lastReset": "2023-11-07T05:31:56Z",
    "monthlyCredits": 123,
    "hasWatermark": true,
    "hasDataRetention": true,
    "dataRetentionDays": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

User information retrieved successfully

userId
string
required

Unique identifier for the user

subscription
object

Subscription details for the user, or null if no active subscription