Create a workspace
Creates a new workspace (veterinary clinic) from a name and country code, and makes the caller its superadmin. Before responding it also records the caller's acceptance of Vetnio's Terms of Service, Privacy Policy and Data Processing Agreement, creates the workspace's default note templates and a billing customer, and may link the clinic to an organization that matches the caller's email domain or lists the clinic on its roster. Failures in those follow-up steps are logged and do not fail the request. The free trial does not start here; it starts with the workspace's first consultation or first VetsGPT conversation. Not idempotent: every successful call creates another workspace. A user may normally create only one workspace (accounts enabled for multi-clinic administration can create up to 200); beyond that the request fails with a generic 500 error. Accepts a session or a personal API key.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces
- AuthHTTP bearer
Request body
Example request
{
"name": "Riverside Animal Clinic",
"countryCode": "se"
}Response
Workspace created. Use the returned id as workspaceId in subsequent workspace-scoped requests.
Example response
{
"id": "furunculotic-loud-chihuahua"
}Changes
No recorded changes to this operation across all 1 revision of this API.