Account

The current account, plan and usage

get/api/me

Request

  • Base URL: https://snaplab.dev
  • URL: https://snaplab.dev/api/me
  • Auth: HTTP bearer

Response

Account, plan and month-to-date usage.

idstring
emailstring email
namestring
imagestring nullable
createdAtstring date-time
authMethod'session' | 'apikey' | 'signature'
plan'free' | 'starter' | 'pro' | 'business'
planStatusstring
billingConfiguredboolean

False when Stripe isn't configured on this deployment.

webhookUrlstring uri nullable

Account-default capture callback, used when a request names none.

webhookSecretstring nullable

Masked to the last four characters (****1234). The real secret is never returned.

Example response

{
  "planStatus": "active"
}

Changes

No recorded changes to this operation across all 1 revision of this API.