Sign in

Create deal

documented

Creates a new deal.

POST /dev/api/opportunityDealsno 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://{{$domain}}.agilecrm.com/dev/api/opportunity" \
  -X POST \
  -u "{{$agilecrm_email}}:{{AGILECRM_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "{{$title}}", "expected_value": "{{$expected_value}}", "probability": "{{$probability}}", "close_date": {{$close_date_epoch}}, "milestone": "{{$milestone}}", "contact_ids": ["{{$contact_id}}"], "custom_data": [ {"name": "{{$custom_field_name}}", "value": "{{$custom_field_value}}" } ] }'
Create deal · Agile CRM · OpenIntegrations