API ReferenceREST /api/v1Sign in

Failed requests use RFC 9457 problem details (application/problem+json) from the API filter. Do not treat a 403 on another customer’s id as confirmation that the row exists — tenant misses are 404.

Typical statuses

400 validation. 401 missing session. 404 missing or out of tenant. 409 conflict (for example an email already registered on order create). 429 from the throttler.

Markdown source
---
title: Errors
nav: Errors
group: Get started
order: 30
---

# Errors

Failed requests use RFC 9457 problem details (`application/problem+json`) from the API filter. Do not treat a `403` on another customer’s id as confirmation that the row exists — tenant misses are `404`.

## Typical statuses

`400` validation. `401` missing session. `404` missing or out of tenant. `409` conflict (for example an email already registered on order create). `429` from the throttler.

```curl
curl -i {{API}}/api/v1/me
```

```node
const res = await fetch(`${api}/api/v1/me`, { credentials: "include" });
if (!res.ok) {
  const problem = await res.json().catch(() => ({}));
  throw new Error(problem.detail ?? res.statusText);
}
```

```python
# Read status, then JSON body if content-type is problem+json
```