Create manager
documentedCreate a manager assignment for a widget (including working hours).
POST /api/v1/external/managers/createManagersno 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://core.callpage.io/api/v1/external/managers/create" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: {{CALLPAGE_API_KEY}}" \
-d "{\"user_id\": {{$user_id}}, \"widget_id\": {{$widget_id}}, \"enabled\": {{$enabled}}, \"business_times\": {{$business_times}} }"