Skip to content

The workspace, the plan, this month's usage and what this credential may do

GET
/whoami
curl --request GET \
--url https://api.dropslate.top/v1/whoami \
--header 'Authorization: Bearer <token>'

The caller’s own reflection.

Media typeapplication/json
object
workspace
object
id
string
slug
string
name
string
plan

owner is internal and never sold.

string
Allowed values: free creator studio agency owner
currency
string
Allowed values: USD UAH
tz
string
user

Who calls are attributed to. email is null for an API key.

object
id
string
name
string
email
string
nullable
credential

What authenticated this call and what it may do.

object
kind
string
Allowed values: session api_key mcp
name

The key’s or MCP client’s name.

string
nullable
scopes
Array<string>
Allowed values: read write
usage
object
plan

free, creator, studio, agency, or the internal owner.

string
period
string
posts
object
used
integer
limit

null: the plan sets no limit.

integer
nullable
storage
object
usedBytes
integer
limitBytes

null: the plan sets no limit.

integer
nullable
accounts
object
used
integer
limit

null: the plan sets no limit.

integer
nullable
members
object
used
integer
limit

null: the plan sets no limit.

integer
nullable
groups
boolean
mcp
string
Allowed values: read full
api
boolean
Example
{
"workspace": {
"plan": "free",
"currency": "USD",
"tz": "Europe/Kiev"
},
"credential": {
"kind": "session",
"scopes": [
"read"
]
},
"usage": {
"period": "2026-09",
"mcp": "read"
}
}

No valid key, session or MCP token was sent (unauthenticated).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

The workspace’s plan does not include the public API (quota_exceeded, with upgradeUrl).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}