Account

Get Account Info

Changed on

Returns information about the authenticated account including plan details and credit usage. This endpoint is free: it does not consume credits and is not rate limited.

get/me

Request

  • Base URL
    https://api.poof.bg/v1
  • Auth
    API key in header x-api-key

Response

Account information

organizationIdstring required

Your organization ID

planstring required

Current plan display name (e.g. "Free", "Pro")

maxCreditsinteger required

Total credits available in billing cycle

usedCreditsinteger required

Credits used in current billing cycle

autoRechargeThresholdnumber

Fraction of the plan limit at which Auto Recharge triggers (e.g. 0.9 = 90%). Omitted when Auto Recharge is off.

Example response

{
  "plan": "Pro",
  "maxCredits": 2000,
  "usedCredits": 1234,
  "autoRechargeThreshold": 0.9
}

Changes

    • breaking

      response property details list-of-types was widened by adding types object to media type application/json of response 401

    • breaking

      the autoRechargeThreshold response's property type changed from integer to number for status

    • warning

      added the new invalid_image enum value to the code response property for the response status

    7 more changes in this revision