---
title: "Save the workspace's company"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save the workspace's company

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="put">PUT</span>
<code class="cvo-op-path-code">/v1/workspace/profile</code>
</div>
</div>

Saves the workspace's company: its name, its address, and its VAT ID, or `vatId: null` for "we have no VAT ID". Every field is trimmed; the country is the two-letter code, in capitals. A VAT ID is read and checked exactly as `PUT /v1/company/vat-id` does it, and VIES's answer is stored there; nothing is blocked by it. Each save is a new version that names the person. The answer says the workspace's state afterwards: a new workspace waits for review. Only a signed-in person can save it. An API key is refused with 401 `session_required`.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The saved version and the workspace's state. |
| `400` | The body is not a company (`invalid_workspace_profile`), or the VAT ID cannot be an EU VAT ID (`invalid_vat_id`). VIES was not asked and nothing was saved. |
| `401` | No usable credential was sent (`invalid_credentials`), or an API key was used (`session_required`). |
| `501` | This deployment has no database, so it keeps no company (`no_database`). Sending the same request again will not help. |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/save-the-workspace-s-company/index.mdx
