Admin APIs/SIM Card Management
Create Device + SIM Together
POST
/admin/deviceandsimBearer token required
ADMINContent-Type:
application/jsonRequest Example
JSON
{
"imei": "123456789012345",
"deviceTypeId": 1,
"simNumber": "8991234567890123456",
"imsi": "404110123456789",
"providerId": "1",
"iccid": "8991234567890123456F"
}Code Examples
curl -X POST 'https://<your-domain>:3001/admin/deviceandsim' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"imei": "123456789012345",
"deviceTypeId": 1,
"simNumber": "8991234567890123456",
"imsi": "404110123456789",
"providerId": "1",
"iccid": "8991234567890123456F"
}'