API Reference
Accounts
List workspaces
Personal account plus every organization the key’s owner belongs to.
AuthorizationBearer <token>
A hostdocs developer API key (an opaque token issued by Clerk; create one in the dashboard under API keys).
In: header
Response Body
curl -X GET "https://api.hostdocs.io/api/v1/accounts"{
"success": true,
"data": [
{}
]
}Get the current workspace
AuthorizationBearer <token>
A hostdocs developer API key (an opaque token issued by Clerk; create one in the dashboard under API keys).
In: header
Response Body
curl -X GET "https://api.hostdocs.io/api/v1/accounts/current"{
"success": true,
"data": {}
}