Create Workspace
Account Creation and Verification
Create Workspace
POST
Create Workspace
Use this API to programmatically create a new Velt workspace. Protected by IP-based rate limiting and disposable email domain blocking.
This is a public endpoint — no authentication headers are required.
Endpoint
POST https://api.velt.dev/v2/workspace/create
Body
Params
Example Request
Example Response
Success Response
apiKeyList is a keyed object (not an array). Each key is the API key ID. To extract the first API key, use Object.keys(result.data.apiKeyList)[0] in JavaScript or iterate over the object keys.The default
apiKeyName is derived from the part of ownerEmail before the @ (capitalized), not from name. For example, owner@example.com produces "Owner Test API Key".Failure Response
If email domain is disposable
If rate limit exceeded
If the email already owns the maximum number of workspaces
An email address may own up to 5 workspaces.If creating an additional workspace without a paid plan
The first workspace for an email is always allowed. Creating an additional workspace requires the email’s root workspace to be on a paid plan.If a workspace already exists for the email
If workspace creation fails
Next Steps
After creating a workspace, use the response values for subsequent API calls:- Workspace-level endpoints (e.g., Get Workspace, Create API Key): pass
result.data.idas thex-velt-workspace-idheader andresult.data.authTokenas thex-velt-workspace-auth-tokenheader. - API-key-level endpoints (e.g., Add Domains, Update Email Config): extract the API key ID from
Object.keys(result.data.apiKeyList)[0], then retrieve its auth token via Get Auth Tokens. Pass these asx-velt-api-keyandx-velt-auth-token.

