Developers

Authentication API

get_account_ids


URL:

http://api.msgme.com/v1/authenticate/get_account_ids

METHOD:

Get

DESCRIPTION:

Gets the account IDs accessible with your token

PARAMETERS:

Parameter Description
token The security token that was returned using authentication_api method.


API REQUEST:

http://api.msgme.com/v1/subscription/get_account_ids?token=[Authenticated token]



API RESPONSE:


		<?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>


EXAMPLE USAGE:


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>