Watch notifications
documentedWatch for email/SMS notifications and reminders.
POST /api/2.1/scheduling/companies/{companyId}/notifications/watchSchedulingno 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.1/scheduling/companies/{{$companyId}}/notifications/watch" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "address": "{{$watch_address}}", "name": "{{$watch_name}}", "method": "{{$watch_method}}", "status": "{{$watch_status}}", "basicAuth": { "username": "{{$watch_basic_auth_username}}", "password": "{{$watch_basic_auth_password}}" }, "httpRequestHeader": { "X-Watch-Header": "{{$watch_http_header_value}}" }, "schema": {}, "oauth2Auth": { "grantType": "{{$watch_oauth_grantType}}", "clientId": "{{$watch_oauth_clientId}}", "clientSecret": "{{$watch_oauth_clientSecret}}", "refreshToken": "{{$watch_oauth_refreshToken}}", "authUrl": "{{$watch_oauth_authUrl}}", "accessTokenUrl": "{{$watch_oauth_accessTokenUrl}}", "redirectUri": "{{$watch_oauth_redirectUri}}" }, "signature": { "enabled": {{$watch_signature_enabled}}, "cryptoKeyIds": [ "{{$watch_signature_cryptoKeyId1}}", "{{$watch_signature_cryptoKeyId2}}" ] } }'"