Get the workspace
GET
/me
const url = 'https://postflow.biz.id/api/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://postflow.biz.id/api/v1/me \ --header 'Authorization: Bearer <token>'The workspace, subscription and limits, the member requests act as, and the key’s access.
MCP tool: get_workspace.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
workspace
required
object
id
required
string
name
required
string
timezone
required
IANA time zone, e.g. Asia/Jakarta. Calendar days and queue slots use it.
string
approvalRequired
required
Editors’ posts need the owner’s approval.
boolean
subscription
required
limits
required
member
required
object
id
required
string
name
required
string
role
required
Requests act as this member.
string
credential
required
object
type
required
string
name
required
Key name, or the connected app’s name.
string
scope
required
string
Example
{ "subscription": { "status": "upcoming" }, "member": { "role": "owner" }, "credential": { "type": "api_key", "scope": "read" }}Missing, invalid, expired or deleted key or token.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
A sentence you can show to a person.
string
details
Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.
Example
{ "error": { "code": "UNAUTHENTICATED" }}More than 120 requests in a minute with this key.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
A sentence you can show to a person.
string
details
Field errors ({ field: [messages] }), or preflight: per-account rule violations with an issue code.
Example
{ "error": { "code": "UNAUTHENTICATED" }}