GET
/
user
/
info
Get User Account Information
curl --request GET \
  --url https://www.refile.co/api/v1/user/info \
  --header 'Authorization: Bearer <token>'
{
  "userId": "user_123456789",
  "subscription": {
    "planName": "Pro",
    "currentCredits": 850,
    "lastReset": "2023-04-15T00:00:00Z",
    "monthlyCredits": 5000,
    "hasWatermark": false,
    "hasDataRetention": false,
    "dataRetentionDays": 0
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

User information retrieved successfully

The response is of type object.