Create contact
documentedCreate a new contact.
POST /contactContactno 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://api.servicetrade.com/api/contact" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Cookie: PHPSESSID={{SERVICETRADE_SECRET}}" \
-d '{"firstName":"{{$firstName}}","lastName":"{{$lastName}}","email":"{{$email}}","phone":"{{$phone}}","locationIds":[{{$location_id}}],"companyIds":[{{$company_id}}],"types":["{{$type}}"]}'