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​

NameTypeDefaultDescription
apikeyRequired
stringAPI public key
signatureRequired
stringSignature of the request. See how to sign your requests
expires
timestampUNIX timestamp for request expiration (GMT)
output
stringFormat of the response. Either XML (default), JSON or PHP

Response​

This method returns an Account.

NameTypeDefaultDescription
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": ""
}
}
}