---
title: "Sync Custom Table View"
method: POST
path: "/core/custom-data/tables/{name}/sync-view"
tags: ["custom_data"]
---

# Sync Custom Table View

`POST /core/custom-data/tables/{name}/sync-view`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/custom-data/tables/{name}/sync-view`
- Auth: HTTP bearer

Rebuild the sandbox view from the current declared schema.

Break-glass: the two operations that change a schema already rebuild it.
Rebuilding marks every stored query on the table stale, because the view's
OID is what they are validated against.

## Path parameters

- `name` string, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- object

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
