Get Account Information
This endpoint allows you to retrieve information about your account, including your email, name, API usage statistics, and quota details.
Sample Request
Section titled “Sample Request”Here’s a sample request to get your account information:
GET /v1/accountfetch('https://api.templated.io/v1/account', { method: 'GET', headers: { 'Authorization': `Bearer ${API_KEY}` }})Response
Section titled “Response”The endpoint returns a JSON object with your account details.
{ "email": "user@example.com", "name": "John Doe", "apiUsage": 5400, "apiQuota": 10000, "usagePercentage": 54, "plan": "Scale"}Response Fields
Section titled “Response Fields”email string
The email address associated with your account.
name string
Your account name.
apiUsage integer
The current number of API credits you’ve used.
apiQuota integer
Your total API credits quota (monthly if you have a paid plan).
usagePercentage integer
The percentage of your API quota that has been used.
plan string
Your current plan.