Account Information

Get account details and usage statistics

Get your account information, plan details, and usage statistics.

Get Account Info

GET /v1/account/

Example

curl "https://api.missinglettr.com/v1/account/" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "id": 123,
  "name": "Acme Corporation",
  "email": "api@acme.com",
  "plan": "professional",
  "api_key_id": "ml_prod_abc123",
  "webhook_url": "https://acme.com/webhooks/missinglettr",
  "created_at": "2024-01-15T10:00:00Z",
  "plan_limits": {
    "workspaces": 10,
    "posts_per_month": 1000,
    "api_requests_per_day": 10000
  }
}

Get Usage Statistics

GET /v1/account/usage/

Example

curl "https://api.missinglettr.com/v1/account/usage/" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "current_month": {
    "posts_created": 245,
    "posts_published": 198,
    "api_requests": 8543,
    "workspaces_active": 5
  },
  "plan_limits": {
    "workspaces": 10,
    "posts_per_month": 1000,
    "api_requests_per_day": 10000
  },
  "usage_percentage": {
    "posts": 24.5,
    "api_requests": 8.5,
    "workspaces": 50.0
  }
}

Monitor Usage: Track your API usage to ensure you stay within plan limits. Usage resets monthly.

Response Fields

  • plan: Current plan (free, starter, professional, enterprise)
  • api_key_id: Your current API key (first 8 chars visible)
  • webhook_url: URL for webhook notifications (if configured)
  • plan_limits: Maximum allowed for your plan