Set the walls between the project's matters
People only, with a fresh second factor.
Not available yet Pod's API does not answer this call yet.
People only, with a fresh second factor. Replaces the project's matters with the ones the firm's document system exports: each matter's id there, an inclusive wall (only the people and groups listed work on it) or an exclusive one (everyone but those screened), and what belongs to it (folders, hosts, address ranges, connected tools, message topics). A matter left out is marked removed, never deleted, and its sandboxes allow nothing. Refused (invalid, every problem named) when a folder, tool or topic is in two matters, or two matters' hosts or ranges overlap: no table could keep them apart. Every policy and every sandbox with a table of its own is compiled again before the answer; a policy that would no longer pass refuses the change, and a sandbox that would not is given a table that allows nothing. base_version is 0 to make the walls.
For people only: a signed-in person with a fresh second factor makes this call, from the dashboard. Any API key is refused with person_required.
Request
curl -X PUT "https://api.pod.mapier.ai/v1/matters?project=example" \
-H "Authorization: Bearer $POD_PERSON_TOKEN" \
-H "Content-Type: application/json" \
-d '{"source":"example","base_version":0,"matters":[{"external_id":"example","wall":"inclusive"}]}'Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
source | string | Yes | The firm's document system (imanage, netdocuments,...). |
base_version | integer | Yes | At least 0. |
firm_tools | string[] | No | |
matters | MatterDefinition[] | Yes |
Answer
200. The walls as set, and what compiling the project again did.
{
"walls": {
"source": "example",
"firm_tools": ["example"],
"matters": 0,
"version": 1,
"updated_at": "2026-11-23T12:00:00.000Z",
"updated_by": "example"
},
"added": 0,
"changed": 0,
"removed": 0,
"sandboxes": 0,
"tables": 0,
"closed": 0
}| Field | Type | Always | What it is |
|---|---|---|---|
walls | MatterWalls | Yes | |
added | integer | Yes | At least 0. |
changed | integer | Yes | Matters changed, or listed again after being removed. At least 0. |
removed | integer | Yes | At least 0. |
sandboxes | integer | Yes | Sandboxes with a table of their own compiled again. At least 0. |
tables | integer | Yes | New tables queued for the publisher. At least 0. |
closed | integer | Yes | Sandboxes that could not be compiled and now allow nothing. At least 0. |
Errors
The refusals this call is known for: invalid, unauthorized, person_required, forbidden, conflict. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.