Set the walls between the project's matters

People only, with a fresh second factor.

PUT/v1/matters

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

NameInTypeRequiredWhat it is
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Body

FieldTypeRequiredWhat it is
sourcestringYesThe firm's document system (imanage, netdocuments,...).
base_versionintegerYesAt least 0.
firm_toolsstring[]No
mattersMatterDefinition[]Yes

Answer

200. The walls as set, and what compiling the project again did.

200
{
  "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
}
FieldTypeAlwaysWhat it is
wallsMatterWallsYes
addedintegerYesAt least 0.
changedintegerYesMatters changed, or listed again after being removed. At least 0.
removedintegerYesAt least 0.
sandboxesintegerYesSandboxes with a table of their own compiled again. At least 0.
tablesintegerYesNew tables queued for the publisher. At least 0.
closedintegerYesSandboxes 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.