---
title: "Voyager Auth Register"
method: POST
path: "/voyager/auth/register"
tags: ["voyager"]
---

# Voyager Auth Register

`POST /voyager/auth/register`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/voyager/auth/register`
- Auth: HTTP bearer

Register this install for the signed-in user and one workspace; returns the device secret once.

Several eligible workspaces and no ``team_id``: ``200 {needs_team, teams}`` and nothing
is written; the client asks and posts again. Any plan may register (no payment gate).
A first Voyager use gets the user's personal workspace (VOY-565), and no ``team_id`` signs in
to the default one instead of asking: Personal, unless the user holds a seat in exactly one
Team, or Personal has no plan and never will while another workspace has one they can use
(``voyager_workspaces.membership.default_workspace``).
In a Voyager-billed workspace with auto-seating on, the member is seated after the response,
never on the sign-in's critical path. An optional ``X-Voyager-Machine-Id`` header and the client
IP are recorded on the registration for the Free plan's one-per-machine rule; neither can fail it.

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body

- VoyagerRegisterRequest
  - `id_token` string, required
  - `device_id` string, uuid, required: Random UUID v4 the install generated once and keeps.
  - `device_name` string, required
  - `platform` 'darwin' | 'win32' | 'linux', required
  - `app_version` string, required
  - `team_id` string, nullable: Workspace to bind (team_ id); required when needs_team.
  - `sign_in_method` 'browser' | 'email_code': How this sign-in was made: the browser (loopback) sign-in, or the CLI's email-code sign-in (VOY-1117).

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/voyager/auth/register/post.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
