Skip to content

Get the workspace

GET
/me
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.

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
object
status
required
string
Allowed values: upcoming active grace expired none
plan
required
Any of:
string
endsAt
required
Any of:
string format: date-time
limits
required
Any of:
object
workspaces
required
integer
socialAccounts
required
integer
postsPerMonth
required
Any of:

Per account a post goes to. Null = unlimited.

integer
members
required
integer
storageBytes
required
integer
member
required
object
id
required
string
name
required
string
role
required

Requests act as this member.

string
Allowed values: owner editor
credential
required
object
type
required
string
Allowed values: api_key oauth
name
required

Key name, or the connected app’s name.

string
scope
required
string
Allowed values: read write

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
Allowed values: UNAUTHENTICATED FORBIDDEN NOT_FOUND VALIDATION CONFLICT SUBSCRIPTION_GRACE SUBSCRIPTION_EXPIRED PLAN_LIMIT RATE_LIMITED INTERNAL
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
Allowed values: UNAUTHENTICATED FORBIDDEN NOT_FOUND VALIDATION CONFLICT SUBSCRIPTION_GRACE SUBSCRIPTION_EXPIRED PLAN_LIMIT RATE_LIMITED INTERNAL
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"
}
}