Skip to main content
GET

Authorizations

Authorization
string
header
required

For partners. Send your partner key as a bearer token: Authorization: Bearer <your partner key>. It starts with wgt_prt_ and you make it in your partner's home workspace, under Settings → API keys; any other key is refused with 403. See API keys and Partners.

Path Parameters

partnerId
string<uuid>
required

Partner ID

Response

The partner's credit balance

success
boolean
required

Always true on a success.

Example:

true

data
object
required

The credits an account holds in one workspace. A workspace's credits are its own and can be spent in that workspace only, so the same person reads a different balance in each workspace they belong to, and a workspace nobody subscribed holds none.

Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.