Using Our APIs
Information Requests
Query MSISDN
5 min
purpose returns the msisdn (telephone number) assigned to a specified sim the target sim is specified using the \<iccid> element the response includes the \<msisdn> element, provided in e 164 format response element element description \<msisdn> the msisdn telephone number in e 164 format (e g 441234567890) endpoint post https //api m2miportal com content type application/xml accept application/xml request (xml) \<query msisdn version="1" api id="123456"> \<authentication> \<username>username\</username> \<password>password\</password> \</authentication> \<iccid>1234567890123456789\</iccid> \</query msisdn> response (success) \<query msisdn response api id="123456"> \<api outcome>success\</api outcome> \<msisdn>441234567890\</msisdn> \</query msisdn response> response (failure) if a request cannot be processed, the response will include api outcome indicating failure an error description explaining the reason failure responses may occur due to invalid authentication credentials invalid or unknown identifiers (for example iccid or msisdn) invalid or missing parameters values not permitted for the specified sim type or account configuration insufficient permissions integrating systems should validate input data before submission and implement appropriate error handling and logging