curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces \
--header 'Authorization: Bearer <token>'{
"workspaces": [
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"botCount": 123,
"billingVersion": "v1",
"plan": "community",
"blocked": true,
"spendingLimit": 123,
"activeTrialId": "<string>",
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}List workspaces the user has access to
curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces \
--header 'Authorization: Bearer <token>'{
"workspaces": [
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"botCount": 123,
"billingVersion": "v1",
"plan": "community",
"blocked": true,
"spendingLimit": 123,
"activeTrialId": "<string>",
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Workspace handle
Success
Show child attributes
v1, v2, v3 community, team, enterprise, plus Was this page helpful?