Create client
documentedCreate a new client.
POST /api/2.3/clientsClientsno 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.agendize.com/api/2.3/clients" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"lastName": "{{$lastName}}", "firstName": "{{$firstName}}", "emailAddresses": [ {"email": "{{$email}}", "primary": true} ], "phoneNumbers": [ {"number": "{{$phone}}", "primary": true, "mobile": false} ], "timeZone": "{{$timeZone}}", "language": "{{$language}}", "description": "{{$description}}", "address": { "street": "{{$street}}", "city": "{{$city}}", "state": "{{$state}}", "zipCode": "{{$zip}}", "country": "{{$country}}" } }' \
# Sources: turn1view0, turn2view0