Account

Returns the current account.

Retrieves information about the current account.<br>You need to be authorized (no particular scope required)<br>For fine-grained clients, you must have this permission: 'core.current_account.read'.

get/account/v0-nsfw/accounts/current

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/account/v0-nsfw/accounts/current
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize

Response

Success.

codestring required

The code for the account that can be shown in reports and table views

namestring required

The name for the account, which usually should be the company name

descriptionstring nullable

The description for the account

defaultLanguagestring required

The default language two-letter language code (ISO Alpha-2) for the account

logoUrlstring nullable

The URL of the account logo

type'Trial' | 'Live' | 'Suspended' | 'Development' required

Type of the account

additionallySupportedCountriesstring[] nullable

The list of supported countries allowed values: AD, AE, AL, AR, AU, AW, AZ, BG, BS, BW, CA, CR, CV, CZ, EE, GR, HR, HU, ID, IE, IT, IS, JP, KP, LI, LT, LU, MA, MC, MG, MT, MX, MY, NG, NO, NZ, PF, PH, PL, PT, RE, RS, SA, SE, SI, SK, TW, US, ZA

Example response

{
  "code": "DEMO",
  "name": "Demo Account",
  "description": "This is the demo account",
  "defaultLanguage": "en",
  "logoUrl": "logo.png",
  "location": {
    "addressLine1": "My Street 1",
    "postalCode": "12345",
    "city": "MyCity",
    "countryCode": "GB"
  },
  "type": "Trial",
  "additionallySupportedCountries": [
    "ES",
    "FR"
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.