Skip to main content

getAccountInfos

This action allows you to recover information about your Account.

info

The API key must have access rights to commons.

Request​

NameTypeDescription
apikeyRequiredstringAPI public key
signatureRequiredstringSignature of the request.
expirestimestampUNIX timestamp for request expiration (GMT)
outputstringFormat of the response. Either XML (default), JSON or PHP

Response​

This method returns an Account.

NameTypeDescription
IDintegerAccount's ID
NamestringAccount's name
CitystringTown/city of the account
CountrystringCountry of the account, using the official two-letter code format
WebsiteNamestringName of the website
WebsiteUrlstringAddress of the website
PublicUrlstringPublic URL of the account

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "7MPmsP",
"requests": 159,
"content": {
"ID": 4516825,
"Name": "api",
"Type": "",
"City": "",
"Country": "FR",
"Description": "",
"WebsiteName": "",
"WebsiteUrl": "",
"PublicUrl": "https://www.calameo.com/accounts/4516825",
"ThumbUrl": "",
"PictureUrl": ""
}
}
}