SMS Partner account

Recovery of by accounts

To retrieve the information from sub accounts, there are two methods:

  •  For the platform:
    By visiting your dashboard dashboard or you will have access to all sub accounts associated with your account.
  •  For the API:
    By performing a query on the url below.

URLs

GET https://api.smspartner.fr/v1/subaccount/list

Settings

Each API request supports the following parameters :

apiKey ApiKey from your account. You get it in your SMS Partner account
page The page number of the page, there are 20 results per page.
If omitted, page 1 will be returned.
Optional settings
_format Response format. You can choose between JSON ou XML. By default, the response format is JSON.

Request

Sample query :

Replies

Errors

Error message Example :

Control code

Reply
1 The API Key is required
10 Invalid API key
200 Everything went well !