BevylDevelopers

Create a workspace

POST
/api/partner/v1/workspaces

Creates a workspace for one customer. Calling it again with the same workspaceId returns the existing workspace.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

Send as Authorization: Bearer bvl_….

Request Body

application/json
  1. body
workspaceId*string

Your ID for the customer, up to 255 characters.

Length1 <= length <= 255
name*string

The customer or brand name.

Length1 <= length <= 255

Response Body

Success.

application/json
  1. response
workspaceId*string
Length1 <= length
accountId*string
Length1 <= length
created*boolean
curl -X POST 'https://www.bevyl.ai/api/partner/v1/workspaces' \  -H 'Content-Type: application/json' \  -d '{  "workspaceId": "customer-123",  "name": "Tasty Burgers"}'
{  "workspaceId": "string",  "accountId": "string",  "created": true}