Send message
documentedSend a message to a contact.
POST /messageMessageno 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/message" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Cookie: PHPSESSID={{OAUTH2_ACCESS_TOKEN}}" \
-d '{"contactIds": "{{$contact_ids}}", "contactTypes": {{$contact_types}}, "mode": "{{$mode}}", "template": "{{$template}}", "send": {{$send}}, "params": {"appointmentId": {{$appointment_id}}, "techId": {{$tech_id}}, "arrivalTime": {{$arrival_time}}}}'