Get Account
Returns details about your Alchemer account. This is the only API operation available for the Account object.
Endpoint
GET
v5/account
Requires authentication
Path Parameters
None
Query Parameters
All query parameters are optional.
api_customer_id
string
For resellers only. Pass a subaccount's customer ID to retrieve details for that account instead of the authenticated account.
Response
Returns a status flag and an account details object.
result_ok
boolean
Whether the request succeeded.
data
object
The account details object.
child attributes
id
integer
The unique ID of the account.
organization
string
The name of the organization associated with the account.
contact_phone
string
The phone number on file for the account.
reseller
boolean
Whether the account is a reseller account.
resellers_customer_id
string | null
The reseller's customer ID for this account, if applicable.
reseller_uuid
string | null
The reseller UUID, if applicable.
sso
array
Single sign-on configuration details for the account. Returns an empty array if SSO is not configured.
date_created
string
Timestamp when the account was created.
login_link
string
The URL used to log in to this account.
Examples
Note GET requests are cached for 60 seconds. Repeated identical requests within that window will return cached results.
Request (cURL)
curl -X GET "https://api.alchemer.com/v5/account?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
"result_ok": true,
"data": {
"id": 123456,
"organization": "Alchemer",
"contact_phone": "(123) 456-7891",
"reseller": false,
"resellers_customer_id": null,
"reseller_uuid": null,
"sso": [],
"date_created": "2012-10-31 00:37:29",
"login_link": "https://app.alchemer.com/login/v1"
}
}