Skip to main content

Can I pull a report for all online SIMs?

Send GET Filter SIMs query via the Onomondo API.

Jakub Kubinski avatar
Written by Jakub Kubinski
Updated this week

Environment

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.

  1. Open Postman or an API client of your choice.

  2. Make sure the GET query includes:

    1. filter=online:true parameter,

    2. limit parameter (max 1000),

    3. next_page parameter* (for every new query after the first 1000 SIMs).

  3. Send query.

  4. 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.

Did this answer your question?