GET
/
v1
/
admin
/
workspaces
/
public
cURL
curl --request GET \
  --url https://api.botpress.cloud/v1/admin/workspaces/public \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <api-key>'
{
  "workspaces": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "about": "",
      "profilePicture": "",
      "contactEmail": "",
      "website": "",
      "socialAccounts": [],
      "handle": ""
    }
  ],
  "meta": {
    "nextToken": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

x-workspace-id
string
header
required

Your workspace ID.

Query Parameters

nextToken
string

Provide the meta.nextToken value provided in the last API response to retrieve the next page of results

workspaceIds
string[]

Ids of the workspaces to list

Search query

Response

200
application/json

Success

workspaces
getPublicWorkspaceResponse · object[]
required
meta
object
required