> This page is for MVS Telecom.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mvscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mvscloud.com/_mcp/server.

# Errors & pagination

## Response envelopes

**List** endpoints return a page envelope:

```json
{ "data": [ … ], "page": 1, "pageSize": 25, "total": 42 }
```

**Single-resource** endpoints return `{ "data": { … } }`.

## Pagination

| Query param | Meaning             | Default | Bounds |
| ----------- | ------------------- | ------- | ------ |
| `page`      | 1-based page number | `1`     | ≥ 1    |
| `pageSize`  | rows per page       | `25`    | 1–100  |

`total` is the unfiltered count for the current query, so you can compute the
page count as `ceil(total / pageSize)`.

## Errors

All non-2xx responses share one shape:

```json
{ "error": { "code": "not_found", "message": "Customer not found." } }
```

| HTTP | `code`           | When                                                          |
| ---- | ---------------- | ------------------------------------------------------------- |
| 400  | `bad_request`    | Malformed JSON or failed validation.                          |
| 401  | `unauthorized`   | Missing/invalid/revoked/expired API key.                      |
| 403  | `forbidden`      | The key lacks the required scope.                             |
| 404  | `not_found`      | The resource doesn't exist **or** isn't in your organization. |
| 409  | `conflict`       | Illegal state (e.g. already assigned).                        |
| 500  | `internal_error` | Unexpected server error.                                      |

> **Cross-organization isolation:** an id that belongs to another organization
> always returns `404` — the API never reveals whether it exists.

## Idempotency & side effects

Mutations (`/assign`, `/release`) reuse the same atomic, audit-logged services
the portal and Ops Copilot use. Re-issuing an assign that already holds is safe;
releasing an already-released item is a no-op.