⚡ Quick answer -
Authorization: Bearer <TOKEN>; rotate keys and store them in a secrets manager.Retry-After Use it when you need a single, canonical reference for:
• enabling API access,
• understanding rate limits,
• deciding between Push and Pull, and
• handling errors or complete service outages.
• Plan with API access (not Lite)
• Role permission to view Developer/API settings
• Generated API key/token
• Outbound network allowed (if your org uses IP allow-lists or CORS)
Mode | Direction | Typical use-case | Who initiates? |
Pull API | You → MyOperator | Fetch call logs, recordings, and users | Your app (scheduled or on-demand) |
Push API | MyOperator → You | Real-time call events (webhooks) | MyOperator platform |
https://api.<region>.myoperator.exampleScope | Per minute | Per hour | Per day |
Pull API (per account) | 20 | 100 | 500 |
Notes:
• Exceeding any limit returns 429 Too Many Requests—back off and honor Retry-After.
• APIs are not available on Lite packages.
Replace placeholders like <BASE_URL>, <TOKEN>, <AGENT_ID>.
a) Ping
curl -H "Authorization: Bearer "
-H "Accept: application/json"
"<BASE_URL>/v1/ping"
b) Click-to-Call (write)
curl -X POST "<BASE_URL>/v1/click-to-call"
-H "Authorization: Bearer "
-H "Content-Type: application/json"
-d '{
"from": "<FROM_NUMBER>",
"to": "<TO_NUMBER>",
"agentId": "<AGENT_ID>",
"metadata": { "source": "CRM", "leadId": "L-93821" }
}'
c) Call Logs (read)
curl "<BASE_URL>/v1/call-logs?from=2025-08-01T00:00:00Z&to=2025-08-23T23:59:59Z&direction=inbound&limit=50"
-H "Authorization: Bearer "
d) Recording link (expires in 24 h)
curl "<BASE_URL>/v1/recordings/<CALL_ID>"
-H "Authorization: Bearer "
• Wait for first healthy 2xx read + write.
• Drain queued writes (idempotency prevents duplicates).
• Reconcile call counts, recordings, and user sync for the outage window.
• Document start/end times and codes; then close the incident.
• Keep keys in a secrets manager; never commit to source control.
• Use least-privilege scoped tokens; rotate regularly.
• Prefer webhooks over aggressive polling for near-real-time needs.
• Follow your org’s data-retention policy for recordings and phone numbers.
Status | Meaning | Quick Fix |
401 | Missing/invalid token | Send |
403 | Key lacks scope | Regenerate with the correct role |
404 | Wrong path/ID | Check base URL, version, and feature flags |
429 | Rate limit hit | Back off; honour |
5xx | Provider issue | Retry with back-off; open ticket if persistent |
TLS/DNS | Network path | Check proxy, CA store, firewalls |
Keywords: MyOperator API, pull API limits, push API, API outage handling, click-to-call, rate limit 429, idempotency key