Sign in

Create contact

documented

Create a new contact.

POST /v2/contactsContactsno 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://api.freeagent.com/v2/contacts" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"contact": {"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "organisation_name": "{{$organisation_name}}", "email": "{{$email}}", "billing_email": "{{$billing_email}}", "phone_number": "{{$phone_number}}", "mobile": "{{$mobile}}", "address1": "{{$address1}}", "address2": "{{$address2}}", "address3": "{{$address3}}", "town": "{{$town}}", "region": "{{$region}}", "postcode": "{{$postcode}}", "country": "{{$country}}", "contact_name_on_invoices": {{$contact_name_on_invoices}}, "default_payment_terms_in_days": {{$default_payment_terms_in_days}}, "locale": "{{$locale}}"}}'"