curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <api-key>'
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"botCount": 123,
"billingVersion": "v1",
"plan": "community",
"blocked": true,
"spendingLimit": 123,
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": ""
}
Get workspace details
curl --request GET \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <api-key>'
{
"id": "<string>",
"name": "<string>",
"ownerId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"botCount": 123,
"billingVersion": "v1",
"plan": "community",
"blocked": true,
"spendingLimit": 123,
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": ""
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Your workspace ID.
Workspace ID
Success
The response is of type object
.
Was this page helpful?