Skip to Content
MosaicMosaicDocs
Tool Reference

SetFormAccess

Open, close or share a saved form immediately.

Starter documentation. Features and account details may differ from this deployment.

SetFormAccess

Open, close or share a saved form immediately. Requires Form Owner. Supply complete audience/status/deadline/tally settings and explicit channel grant deltas; empty deltas change no grants. Optional responsesVisible lets View holders read response rows; optional anonymous makes the form anonymous to everyone, its owner included (who responded is kept apart from the responses), and is refused once anyone has responded. Public allows anonymous responses and is needed only for people without a Mosaic account; members-only already admits everyone in the channels the form is shared with, people outside the team included. View allows responding without database access unless responses are shared; channel Edit grants editing of the entire backing database. Uses the existing Forms settings and sharing services without a review step. This never posts a message or sends invitations. Settings and channel grants are separate writes; inspect partial results before retrying. Returns actual access, canonical links and acceptingResponses; a URL alone does not mean the form is open.

Parameters

ParameterTypeRequiredDescription
formIdFormIdYesIdentifier of a form (the shareable entity respondents open).
draftAccessDraftYesComplete access settings. Empty grant deltas are a no-op.

On this page