Check the format of a number

This feature allows to check the size of a mobile phone number. It is free.

URLs

POST https://api.smspartner.fr/v1/lookup

Settings

Each API request supports the following parameters :

apiKey API key from your account. You get it in your SMS Partner account
phoneNumbers Mobile numbers to check.
They must be in international format (+ 336xxxxxxxx).
To send multiple checks the numbers must be separated by commas
500 numbers can be checked by request.
Optional settings
_format Response format. You can choose between JSON or XML. By default, the response format is JSON.

/div>

Request

Sample query :

Replies

Errors

Error message Example :

Control code

Reply
1 The API Key is required
2 The phone number is required
3 The numbers must be separated by commas
10 Invalid API key
200 Everything went well !