GET
/
v1
/
user
/
credits
Get user credit information
curl --request GET \
  --url https://api.weblinq.dev/v1/user/credits \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "balance": 123,
    "plan": "free",
    "lastRefill": "<string>"
  },
  "creditsCost": 123,
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter your API token or session token

Response

200
application/json

User credits information

The response is of type object.