http://api.msgme.com/v1/authenticate/get_account_ids
Get
Gets the account IDs accessible with your token
| Parameter | Description |
|---|---|
| token | The security token that was returned using authentication_api method. |
http://api.msgme.com/v1/subscription/get_account_ids?token=[Authenticated token]
<?xml version="1.0" encoding="UTF-8"?> <apiResponse status="[status text]" statusCode="[status code]"> <accounts> <account accountName="[account name]" accountId="[account ID]"/> </account> ... </accounts> </apiResponse>
REQUEST:
GET http://api.msgme.com/v1/authentication/get_account_ids?token=0e9ace1582fbb754dfe7f4e11f572bf5273f3c69>
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?> <apiResponse status="OK" statusCode="200"> <accounts> <account accountName="jjohn" accountId="12312"> </account> <account accountName="smithy" accountId="1222"> </account> <account accountName="bart" accountId="10054440"> </account> </accounts> </apiResponse>