> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dripstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Account

> Who this API key or MCP OAuth token is, plus links to credits and unlocks.

Account routes tell an agent **who it is authenticated as**, **how many
credits remain**, and **which posts it already unlocked**. They do not
return article summaries.

Requires `Authorization: Bearer pk_drip_…` or an MCP OAuth access token with
`mcp:unlock`. Session JWTs are rejected (`401`).

Create a key and add balance from the
[API Keys](https://dripstack.com/connect/api) and
[Billing](https://dripstack.com/billing).

| Need | Route | Guide |
| - | - | - |
| Who is this credential? | `GET /api/v1/me` | this page |
| Credit balance and top-up URL | `GET /api/v1/me/credits` | [Credits](/credits) |
| Credit ledger | `GET /api/v1/me/credits/activity` | [Credits](/credits#ledger) |
| Posts this account already unlocked | `GET /api/v1/me/unlocks` | [Unlocks](/unlocks) |

MCP: `get_account`, `get_credits_balance`, `get_subscription_upgrade_url`,
`list_credit_activity`, `list_unlocked_posts`. Use `unlock_post` to retrieve paid content. Its first
unlock requires `confirmSpend: true`; free re-reads do not.

## Who is this credential?

```bash theme={null}
curl -H "Authorization: Bearer pk_drip_…" "https://dripstack.com/api/v1/me"
```

```json theme={null}
{
  "authMethod": "apikey",
  "apiKey": { "name": "Default", "suffix": "abcd1234" },
  "scopes": null
}
```

OAuth tokens return `authMethod: "oauth"`, `apiKey: null`, and `scopes`
(for example `["mcp:unlock"]`). Never returns raw keys or user ids.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.