Environment
Onomondo app: SIMs
Onomondo API: GET Filter SIMs
Question
Can I pull a report for all online SIMs?
How can I obtain a list of all of my SIMs that are currently online?
Answer
Send GET Filter SIMs query via the Onomondo API.
Open Postman or an API client of your choice.
Make sure the GET query includes:
filter=online:true
parameter,limit
parameter (max 1000),next_page
parameter* (for every new query after the first 1000 SIMs).
Send query.
Parse the returned JSON for the information you need (fx. SIM IDs, Tags, etc.).
Example:
curl --location 'https://api.onomondo.com/sims?limit=1000&filter=online%3A&next_page=MjAyMi0wMS0yOVQwMDozMDowMC4wMDBa' \ --header 'Authorization: YOUR_API_KEY'
*A unique next_page
parameter will be returned at the top of the first JSON response.
You can import Onomondo API collection directly into Postman by clicking "Run in Postman" on the API Docs page.