Create Workspace Beta
Create a workspace owned by the key's creator.
https://api.foxreach.io/ api/ v1/ workspacesRequires an API key with the Requires an API key with the writeandadminscopes. Theadminscope is opt-in: no default key carries it. The call runs in the key's own workspace andX-Workspace-Idis ignored. It is recorded as anaudit.workspace.created event in the key's workspace, visible in [List Events](/api-reference/webhooks/list-events). scope.
Returns the new workspace with a 201 status code. It starts on the free plan, with the key's creator as its owner, and counts toward the workspace limit of the creator's plan.
Request Body
name string body required Workspace name, 1 to 100 characters.
Errors
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: Requires an API key with the writeandadminscopes. Theadminscope is opt-in: no default key carries it. The call runs in the key's own workspace andX-Workspace-Idis ignored. It is recorded as anaudit.workspace.created event in the key's workspace, visible in [List Events](/api-reference/webhooks/list-events). |
403 | Key lacks write or admin, or the plan's workspace limit is reached (upgrade_required) |
422 | name is empty or longer than 100 characters |
Rate Limit
- 120 requests per minute, shared by every
writecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(write). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.