Sign in

Create deal for contact by email

documented

Creates a deal for the contact identified by email.

POST /dev/api/opportunity/email/{email}Dealsno 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/email/{{$email}}" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -u {{$email}}:{{AGILECRM_API_KEY}} \
  -d '{"name": "{{$name}}", "expected_value": "{{$expected_value}}", "probability": "{{$probability}}", "close_date": {{$close_date}}, "milestone": "{{$milestone}}", "custom_data": [ {"name": "{{$custom_name}}", "value": "{{$custom_value}}"} ] }'