The Account API provides read-only access to your account details.

When you sign up with Sell we create a single master account for you where you can control settings such as contact phone, default currency and timezone. For each account, you can create as many users as you want.

JSON Format

Name Type Read-only Mandatory Description
id number true true Unique identifier of the account.
name string false false Full name of the account
currency string false false Currency of the account as the 3-character currency code in ISO4217 format.
time_format string false false Time format used for the account. Either 12-hour clock 12H or 24-hour clock 24H.
timezone string false false Timezone of the account as the offset from Coordinated Universal Time (UTC) in the format UTC(+/-)[hh]:[mm].
phone string false false Contact phone number of the account.
subdomain string false false Subdomain of the account, null for legacy accounts.
created_at string true true Date and time of the account's creation in UTC (ISO8601 format).
updated_at string true true Date and time of the last update in UTC (ISO8601 format).

Retrieve account details

GET /v2/accounts/self

Allowed For

  • Everyone

Using curl

curl -v -X GET \-H "Accept: application/json" \-H "Authorization: Bearer $ACCESS_TOKEN"

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8Content-Language: en
{  "data": {    "id": 1,    "name": "Sales Co",    "currency": "USD",    "time_format": "12H",    "timezone": "UTC-05:00",    "phone": "202-555-0141",    "subdomain": "sales-experts",    "created_at": "2014-09-28T16:32:56Z",    "updated_at": "2014-09-28T16:32:56Z"  },  "meta": {    "type": "account"  }}