Account
GET
http://localhost:4000/api/v1 /me Who this key or token is: workspace, scopes, plan and timezone
Works with any valid key or token, whatever its scopes: use it to check a credential. mayPublish is false for a key without posts:publish: it can only save drafts and submit them. Times without an offset are read in timezone.
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/me" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"organizationId": "string",
"userId": "string",
"via": "api_key",
"role": "string",
"scopes": [
"string"
],
"mayPublish": true,
"plan": "string",
"limits": {},
"timezone": "string",
"clients": {}
}Schema
organizationIdstring
required
userIdstring
required
viastring
required
rolestring
scopesstring[]
required
mayPublishboolean
required
planstring
required
limitsobject
timezonestring
required
clientsstring[]
Updated