Lookup Account
Changed onResolve a user UUID to its credit wallet, creating it on first sight.
Get-or-create, so a brand-new user always has a uuid to submit with. A created account starts at zero credits — exactly the account POST /videos would have provisioned — so can_upload is false until credits are bought.
user_id is the canonical billing key. Email and org_id remain supported only as legacy lookup inputs.
Request
- Base URLhttps://developer.preciser.io
- URLhttps://developer.preciser.io/api/v1/accounts/lookup
- Authnone declared. Required headers: x-api-key, League
Headers
Required API key issued by Preciser.
Required tenant/database selector, for example pitchbio-master.
Request body
Response
Successful Response
Changes
- breaking
the
headerrequest parameterLeaguebecame required - breaking
the
headerrequest parameterx-api-keybecame required - breaking
headerrequest parameterLeaguelist-of-types was narrowed by removing typesnull - breaking
headerrequest parameterx-api-keylist-of-types was narrowed by removing typesnull - info
for the
headerrequest parameterLeague, the type was generalized from no type tostring - info
for the
headerrequest parameterx-api-key, the type was generalized from no type tostring
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info