IC2 API or Partner Portal API Pass S/N Get IMEI

Hello,

We do fulfillment for others at 5Gstore.

When we receive in orders, our process is to scan the master carton which contains S/Ns. A new partner lives in the IMEI world. They are asking if we can send them a list of IMEIs (not S/Ns) that we receive in.

We do not want to open the master cartons and scan IMEIs, as that will slow down our receiving.

Wondering if there is an API call somewhere where I can pass a Peplink S/N and get back the IMEI(s) of the device. This would have to work for devices not yet powered on and not part of our or any organization.

@MichaelG I like to use the lookup devices tool from the portal and export the data. It may help you here! :slight_smile:
https://portal.peplink.com/lookup-device

1 Like

Thanks for that, I was aware. I am looking for exactly that info to be exposed to an API, so I can automate the whole process.

1 Like

Found what I needed, it already exists.

For your requirement, use Lookup devices :

GET https://portal.peplink.com/api/e/v1/cp/devices/lookup?sns=YOUR-PEPLINK-SERIAL
Authorization: Bearer YOUR_PARTNER_API_KEY

It accepts up to 100 comma-separated serial numbers and returns:

[
  {
    "serialNumber": "YOUR-PEPLINK-SERIAL",
    "imeis": [
      {
        "imei": "493678715392327",
        "cellularModule": "cellular module 1"
      }
    ]
  }
]

The response also includes model, hardware revision, warranty dates, and other device information. Multiple cellular modules can produce multiple IMEIs. Device lookup API

It explicitly supports devices outside your organization. Peplink’s lookup guide says it works for any serial number—“yours or not”—and links directly to this API. Lookup scope

1 Like