Create plan integration
documentedCreate or modify an integration for a plan.
POST /plans/{planId}/integrationsWORKFLOWS 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://{{$base_url}}/api/xm/1/plans/{{$planId}}/integrations" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"form": {"id": "{{$formId}}"}, "deployed": {{$deployed}}, "name": "{{$name}}", "integrationType": "{{$integrationType}}", "environment": "{{$environment}}", "operation": "{{$operation}}", "triggeredBy": "{{$triggeredBy}}", "endpoint": "{{$endpointId}}", "script": "{{$script}}", "createdBy": "{{$createdBy}}", "authenticationType": "{{$authenticationType}}" }'