Account
Get Account
GET
Get your organization info and authentication details. Works with both API keys and OAuth tokens.
Response Fields
| Field | Type | Description |
|---|---|---|
data.organization.id | number | Organization ID |
data.organization.name | string | Organization name |
data.organization.createdAt | string | ISO 8601 creation timestamp |
data.user.id | number | null | User ID (null for API key auth) |
data.user.authType | string | api_key or oauth |
data.plan.name | string | Plan name |
data.plan.enrichment_credit_cap | number | Monthly enrichment credit cap |
data.plan.is_paid | boolean | Whether the plan is paid |
data.plan.billing_cycle_start | string | ISO 8601 billing cycle start |
data.plan.billing_cycle_end | string | ISO 8601 billing cycle end |
When authenticated with an API key,
user.id is null because API keys are organization-level,
not user-level. OAuth tokens include the user ID of the person who authorized the token.