Get account
GET https://datafa.st/api/v1/admin/account
Return the authenticated account profile, plan status, and billing cycle dates. Use this to verify a token works or to display account context in CLI tools and AI agents.
When authenticated with a
df_ website key, the response also includes websiteId for the scoped website.Request
This endpoint does not require any path, query, or body parameters.
Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data.Response fields
data[]._iddata[].namedata[].emaildata[].imagedata[].hasAccessdata[].planTypedata[].isFreeTrialActivedata[].freeTrialStartAtdata[].billingCycleStartAtdata[].billingCycleEndAtdata[].websiteIdAuthentication
Use a
dft_ account token with analytics:read.Errors
401 — Invalid or missing token.
403 — Account does not have API access.
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.