API reference
ReplaceFormTriggers
Replace a form's triggers; the old ones are not kept. Irreversible. Write access, forms toolset, MCP tool replace_form_triggers.
Access: Write
Variables
| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
input | ReplaceFormTriggersInput! | yes | Input object, below |
Input types
ReplaceFormTriggersInput
| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
formId | UUID! | yes | ||
triggers | JSON! | yes | Any JSON value. at most 6 items | The whole set, replace-style — [{ type, ...params }]. |
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"ReplaceFormTriggers","variables":{"input":{"formId":"00000000-0000-0000-0000-000000000000","triggers":[]}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"cded6158746a842327f3ee40ffa9e83597660224635d906477d52ad8761d7e0b"}}}'Document
graphql
mutation ReplaceFormTriggers($input: ReplaceFormTriggersInput!) { __typename replaceFormTriggers(input: $input) { __typename formId userErrors { __typename code field message } } }