Skip to main content
PATCH
/
v1
/
workspace
Update workspace settings
curl --request PATCH \
  --url https://apidev.lindo.ai/v1/workspace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_name": "My Workspace",
  "workspace_language": "en",
  "webhook_url": "https://api.mybusiness.com/webhooks"
}
'
{
  "success": true,
  "result": {
    "message": "Workspace updated successfully",
    "workspace_id": "workspace_abc123",
    "workspace_name": "My Workspace",
    "workspace_language": "en",
    "webhook_url": "https://api.mybusiness.com/webhooks"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Body

application/json
workspace_name
string | null

Name of the workspace. Set to null to clear.

Example:

"My Workspace"

workspace_language
string | null

Default language for the workspace (lang_code format, e.g., 'en', 'es'). Set to null to clear.

Example:

"en"

webhook_url
string | null

Webhook URL for workspace events. Set to null to clear.

Example:

"https://api.mybusiness.com/webhooks"

Response

Workspace updated successfully

success
enum<boolean>
required

Indicates the operation was successful

Available options:
true,
false
Example:

true

result
object
required