Docs menuAccount

Account

GET /api/v1/me

The Postory account, its timezone, the scopes and the name of the key making the call. Every scheduled_at_local in an answer is at that timezone's offset; a time with no offset in a request is UTC.

  • Scopepostory:read
  • Limit classREAD
  • Success200

Example

Request
curl https://postory.io/api/v1/me \
  -H "Authorization: Bearer $POSTORY_API_KEY"
Response 200
{
  "user_id": "<user_id>",
  "scopes": ["postory:read", "postory:drafts", "postory:publish"],
  "key": {"name": "n8n workflow", "kind": "api_key"},
  "acting_as": {"postory": "[email protected]", "plan": "free"}
}

Other responses

401

No API key, or an invalid or revoked one

403

The key lacks the scope, or access is paused

422

A request parameter is not valid

429

Rate limit spent; see Retry-After