Sign in

Create plan endpoint

documented

Create an endpoint for a plan.

POST /plans/{planId}/endpointsWORKFLOWS AND COMMUNICATION PLANSno implementation yet0 runs
No 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_BASE_URL}}/api/xm/1/plans/{{$planId}}/endpoints" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"name": "{{$name}}", "url": "{{$url}}", "endpointType": "EXTERNAL", "authenticationType": "OAUTH2", "authentication": {"username": "{{$auth_username}}", "oauthTokenUrl": "{{$oauth_token_url}}", "oauthClientId": "{{$oauth_client_id}}", "client_secret": "{{$oauth_client_secret}}" } }'