Skip to main content
GET
View user information

When to use this endpoint

You want to know which user and accounts a key belongs to, and the credit balance of each account, for example to pick the right Account ID or to show the balance in your own app.

Example request

cURL
Set FORAGER_API_KEY and FORAGER_ACCOUNT_ID as in the quickstart.

Example response

200 (illustrative values)
The accounts[].id value is the Account ID that most API paths take as {account_id}.

Credits

The credit cost of this operation is not documented yet. See API credits and pricing.

Authorizations

X-API-KEY
string
header
required

Response

Account user serializer.

id
integer
required
read-only
username
string
required

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

Maximum string length: 150
Pattern: ^[\w.@+-]+$
email
string<email>
required
Maximum string length: 254
accounts
object[]
required
read-only
first_name
string
Maximum string length: 150
last_name
string
Maximum string length: 150
Last modified on November 1, 2026