Create appointment
documentedCreate a new appointment for a company.
POST /api/2.0/companies/{companyId}/appointmentsSchedulingno 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.0/companies/{{$companyId}}/appointments' \
-X POST \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"client": {"id": "{{$client_id}}", "firstName": "{{$client_firstName}}", "lastName": "{{$client_lastName}}", "email": "{{$client_email}}"}, "service": {"id": "{{$service_id}}"}, "resource": {"id": "{{$resource_id}}"}, "resourceCount": {{$resource_count}}, "start": {"dateTime": "{{$start_datetime}}", "timeZone": "{{$start_timezone}}"}}'