Create plan form
documentedCreate a new form within a plan.
POST /plans/{planId}/formsWORKFLOWS AND COMMUNICATION PLANSno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{XMATTERS_DOMAIN}}/api/xm/1/plans/{{$plan_id}}/forms" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-u "{{XMATTERS_USERNAME}}:{{XMATTERS_PASSWORD}}" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "triggerType": "{{$triggerType}}", "mobileEnabled": {{$mobileEnabled}}, "uiEnabled": {{$uiEnabled}}, "apiEnabled": {{$apiEnabled}}}'