Credits
Get credits
/v1/workspaces/{workspaceId}/creditsThe workspace's credits for metered checks (texting a code to confirm a phone number, checking an email address, checking a Telegram account, and AI autocomplete suggestions), in dollars, with each check's price. Any member or API key can read it. When too little is left for a check's price, the form skips the check. The response comes in marked not verified for a phone, or with emailCheck or telegramCheck set to "skipped", and an AI autocomplete question shows a plain text box with no suggestions. A plan without the check's feature skips it the same way, whatever the credits. Phone, email and Telegram checks need verification, and AI autocomplete needs aiFields (see Paid checks).
Path parameters
workspaceIdstringrequiredThe workspace's id. An API key can only use its own workspace.
Response
monthstringrequiredThe month, in UTC, such as "2026-10".
includedUsdnumberrequiredFree credits each month. They reset on the 1st and don't carry over.
allowanceLeftUsdnumberrequiredFree credits left this month.
balanceUsdnumberrequiredTopped-up credits. They never expire and are spent after the month's free credits. A check is charged in full even when it costs more than what's left, so this can go negative. What's owed is repaid from the next top-up or next month's free credits.
availableUsdnumberrequiredFree credits left plus the balance. It can be 0 or less.
pricesobjectrequiredShow 4 fieldsHide 4 fields
phoneVerificationobjectrequiredCharged only when the visitor's code is approved. A country not listed costs as much as the most expensive listed one.
Show 2 fieldsHide 2 fields
usUsdnumberrequiredbyCountryobjectrequiredThe price per country code, such as
{ "US": 0.2 }.
emailValidationobjectrequiredThe same in every country. Charged once for each address a visitor's session checks.
Show 1 fieldHide 1 field
eachUsdnumberrequired
telegramCheckobjectrequiredCharged once per username a visitor's session checks, when Telegram answered.
Show 1 fieldHide 1 field
eachUsdnumberrequired
aiAutocompleteobjectrequiredCharged once for each visitor session that is shown suggestions.
Show 1 fieldHide 1 field
eachUsdnumberrequired
canTopUpbooleanrequiredTrue when the caller is the owner and billing and top-ups are set up on this deployment. Always false for a free workspace.
meteredbooleanrequiredFalse when staff made the workspace free with metering off. Its checks are then never charged and never skipped, whatever the credits.
keySourcesobjectrequiredShow 3 fieldsHide 3 fields
phoneenumrequiredWhose provider keys the check runs on.
ayeformuses Ayeform's keys and is charged in credits.ownuses the workspace's own keys andhouseuses keys Ayeform set up for it, and neither is ever charged.One of
"ayeform","own","house"emailenumrequiredWhose provider keys the check runs on.
ayeformuses Ayeform's keys and is charged in credits.ownuses the workspace's own keys andhouseuses keys Ayeform set up for it, and neither is ever charged.One of
"ayeform","own","house"telegramFreebooleanrequiredTelegram checks are never charged.
keyProblemsobjectrequiredShow 2 fieldsHide 2 fields
phoneVerificationenumSet only for a check that runs on the workspace's own keys, and left out when all is well.
missingmeans no key is saved, andrejectedmeans the provider refused the saved key. In both cases the check is skipped until the owner saves a working key withPUT /v1/workspaces/{workspaceId}/provider-keys/{provider}.errormeans the provider's last answer was another error about the key's account or service, and checks are skipped while it lasts. The provider keys'failuresays what went wrong.One of
"missing","rejected","error"emailValidationenumSet only for a check that runs on the workspace's own keys, and left out when all is well.
missingmeans no key is saved, andrejectedmeans the provider refused the saved key. In both cases the check is skipped until the owner saves a working key withPUT /v1/workspaces/{workspaceId}/provider-keys/{provider}.errormeans the provider's last answer was another error about the key's account or service, and checks are skipped while it lasts. The provider keys'failuresays what went wrong.One of
"missing","rejected","error"
Errors answer with a status and the error shape.