---
title: "Make a signed-in person's workspace on their first sign-in"
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.

# Make a signed-in person's workspace on their first sign-in

{/* 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="post">POST</span>
<code class="cvo-op-path-code">/v1/signup</code>
</div>
</div>

The console calls this after every sign-in, with the person's session token. A person the identity provider has verified the email of, and who has no workspace yet, gets one: a `standard` plan, one live and one sandbox company, and them as its owner (201). A person who already has one gets its id and nothing changes (200), so calling it again is safe. An email address that already belongs to somebody is refused and never linked to the new sign-in. An API key cannot call this.

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The person already has a workspace; nothing was written. `workspace` is null when they belong to none. |
| `201` | The workspace was made, with its two companies, and the person is its owner. |
| `401` | No session token, or one the identity provider did not sign (`session_required`). |
| `403` | The token carries no email, or one the identity provider has not verified (`email_not_verified`). Nothing was written. |
| `409` | The email address already belongs to a Certinvo login (`email_taken`). Nothing was written or linked. |
| `503` | This server has no sign-in configured (`sign_in_unavailable`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/make-a-signed-in-person-s-workspace-on-their-first-sign-in/index.mdx
