Workspace
Your workspace is the top-level container for all your agents, phone numbers, API keys, calls, and messages. The workspace API lets you read current settings, update mutable fields, and — when needed — permanently delete the workspace and all its data.
Get Workspace
Returns metadata for the workspace that owns the API key used in the request. The signing secret is never included in the response.
Response — 200 OK
Response fields
Update Workspace
PATCH /v1/workspace performs a partial update — only the fields you include in the request body are changed.
tier and signing_secret cannot be updated through this endpoint. Tier changes go through PATCH /v1/workspace/subscription. Signing secret rotation has its own dedicated flow.
Returns the full updated workspace object with the same shape as the GET response.
Updatable fields
Data Retention
retention_days sets the NDPR data-retention window for the entire workspace. After the window elapses, call recordings and transcripts are permanently deleted. The default at workspace creation is set by your plan.
Shorter windows reduce storage costs and limit personal-data exposure. 90 days is a common starting point for Nigerian fintechs operating under NDPR. See Best Practices for the compliance context.
Delete Workspace
Permanently deletes your workspace and cascades to all dependent records: agents, phone numbers, API keys, calls, messages, and billing history. There is no undo.
The request requires a ?confirm={workspace_id} query parameter that must exactly match your workspace ID. Omitting it or supplying a different value returns 400 INVALID_ARGUMENT before any deletion takes place.
Before deleting:
- Export any call recordings or transcripts you need.
- Release or port any phone numbers you want to keep.
- Revoke or note down any downstream integrations pointing at your webhook URL.
Response — 204 No Content (empty body on success)