AI
Agents

Give people access to ask about projects (managers only)

People outside the workspace are invited as free guests. A person who can already open a project gets no grant for it (already_had_access). A grant covers a whole project (file_ids null) or only the listed files.

post/agents/access/grants

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/agents/access/grants
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Request body

emailsstring[] required
level'ask' | 'explore' required

Response

Document created, URL follows

grantsinteger[] required
invitedstring[] required
already_had_accessstring[] required

Changes

No recorded changes to this operation across all 3 revisions of this API.