Skip to content

Show who this key is and what it can do

On this page
GET/v1/whoamiget_current_access
Riskread
AuthenticationAPI key or OAuth access token
Scopesnone (any valid credential)
Idempotencynatural: repeating the call gives the same result
Dry runnot applicable
Success status200
Response typeapplication/json

What it does#

  • Use when: You start a session, check a pasted key, or need your scopes, plan limits, sending status or the operations you may call.
  • Do not use when: you need usage counts (call get_usage_and_limits).
  • Side effects: None.
  • Reversible: Not applicable, nothing changes.
  • Required scope: none (any valid credential).
  • Idempotency: safe to repeat.
  • Typical next step: call get_usage_and_limits, or list_lists to find a list id.

Request#

Path parameters#

None.

Query parameters#

None.

Every read also accepts fields=a,b,c to return only those top-level fields.

Response#

FieldTypeRequiredDescription
workspaceobjectyes
workspace.idstringyes
workspace.namestringyesThe workspace name. The name readers see on mailings (the default from_name and usual author name) is sender_name in get_workspace.
credentialobjectyes
credential.idstringyeskey_... for an API key, ogr_... for an OAuth grant.
credential.typeone of "api_key", "oauth_grant"yes
credential.namestring or nullyesThe name the owner gave the key.
credential.modeone of "live", "test"yes
credential.key_kindone of "user", "agent", "vendor" or nullyes
credential.scopesarray of stringyesEvery scope this credential holds.
credential.last_fourstring or nullyes
credential.created_atstring or nullyes
credential.expires_atstring or nullyesRFC 3339 UTC, or null for an approved vendor key.
credential.last_used_atstring or nullyes
planobjectyes
plan.tierstringyes
plan.namestringyes
entitlementsobjectyes
entitlements.api_accessbooleanyes
entitlements.api_sendbooleanyesA key with mailings:send may send without dashboard approval.
entitlements.api_events_feedbooleanyes
entitlements.api_webhook_endpointsinteger, min -9007199254740991, max 9007199254740991yesWebhook endpoints this workspace may hold.
entitlements.api_requests_per_minuteinteger, min -9007199254740991, max 9007199254740991yes
entitlements.api_write_requests_per_minuteinteger, min -9007199254740991, max 9007199254740991yes
entitlements.mailing_audience_limitinteger, min -9007199254740991, max 9007199254740991yesMost active subscribers a mailing may reach.
entitlements.daily_email_capinteger, min -9007199254740991, max 9007199254740991 or nullyes
sendingobjectyes
sending.statusone of "active", "warning", "paused"yes
sending.reason_codestring or nullyes
sending.sentencestring or nullyesWhat the author sees in the dashboard, when sending is paused or at risk.
sending.next_stepstring or nullyes
callable_operationsarray of stringyesOperation ids this credential may call right now, given its scopes and plan.
docsobjectyes
docs.openapistringyes
docs.llms_txtstringyes
docs.agent_guidestringyes

Examples#

integration key#

Request:

curl 'https://api.seemly.com/v1/whoami' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"

Response: 200:

JSON
{
  "workspace": {
    "id": "ws_9f3k2m8a1b",
    "name": "Hollow Oak Books"
  },
  "credential": {
    "id": "key_4d8x2p0q7r",
    "type": "api_key",
    "name": "Store checkout",
    "mode": "live",
    "key_kind": "user",
    "scopes": [
      "account:read",
      "lists:read",
      "subscribers:write"
    ],
    "last_four": "k3m9",
    "created_at": "2026-12-01T12:00:00Z",
    "expires_at": "2027-12-01T12:00:00Z",
    "last_used_at": "2026-12-02T09:30:00Z"
  },
  "plan": {
    "tier": "magnets",
    "name": "Magnets & Promos"
  },
  "entitlements": {
    "api_access": true,
    "api_send": true,
    "api_events_feed": true,
    "api_webhook_endpoints": 3,
    "api_requests_per_minute": 120,
    "api_write_requests_per_minute": 60,
    "mailing_audience_limit": 500,
    "daily_email_cap": 500
  },
  "sending": {
    "status": "active",
    "reason_code": null,
    "sentence": null,
    "next_step": null
  },
  "callable_operations": [
    "get_current_access",
    "list_lists",
    "upsert_subscriber"
  ],
  "docs": {
    "openapi": "https://api.seemly.com/v1/openapi.json",
    "llms_txt": "https://api.seemly.com/llms.txt",
    "agent_guide": "https://api.seemly.com/docs/api/agents.md"
  }
}

Errors#

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.