GET
/
v1
/
accounts
/
list
curl --location --request GET 'https://api.stateset.com/v1/accounts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "limit": 10,
    "offset": 0,
    "order_direction": "desc"
}'
{

    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": "1",
            "accountName": "Test Account",
            "accountNotes": "Test Account Notes",
            "accountSubtype": "Test Account Subtype",
            "accountType": "Test Account Type",
            "account_owner": "Test Account Owner",
            "account_source": "Test Account Source",
            "annualRevenue": "Test Annual Revenue",
            "avatar": "Test Avatar",
            "billingCity": "Test Billing City",
            "billingCountry": "Test Billing Country",
            "billingLatitude": "Test Billing Latitude",
            "billingLongitude": "Test Billing Longitude",
            "billingState": "Test Billing State",
            "billingStreet": "Test Billing Street",
            "created_at": "2021-04-27T15:00:00.000000Z",
            "description": "Test Description",
            "employees": "Test Employees",
            "fax": "Test Fax",
            "industry": "Test Industry",
            "is_active": true,
            "is_public": true,
            "last_modified_by": "Test Last Modified By",
            "numberOfEmployees": "Test Number Of Employees",
            "ownership": "Test Ownership",
            "phone": "Test Phone",
            "rating": "Test Rating",
            "shippingCity": "Test Shipping City",
            "shippingCountry": "Test Shipping Country",
            "shippingLatitude": "Test Shipping Latitude",
            "shippingLongitude": "Test Shipping Longitude",
            "shippingState": "Test Shipping State",
            "shippingStreet": "Test Shipping Street",
            "sicCode": "Test Sic Code",
            "tickerSymbol": "Test Ticker Symbol",
            "website": "Test Website",
            "yearStarted": "Test Year Started",
            "zipCode": "Test Zip Code",
            "created_by": "Test Created By",
            "updated_by": "Test Updated By"
        }
    ]

}

Body

limit
string
required

This is the limit of the accounts.

offset
string
required

This is the offset of the accounts.

order_direction
string
required

This is the order direction of the accounts.

Response

id
string
required

This is the id of the account.

accountName
string
required

This is the account name of the account.

accountNotes
string
required

This is the account notes of the account.

accountSubtype
string
required

This is the account subtype of the account.

accountType
string
required

This is the account type of the account.

account_owner
string
required

This is the account owner of the account.

account_source
string
required

This is the account source of the account.

annualRevenue
string
required

This is the annual revenue of the account.

avatar
string
required

This is the avatar of the account.

billingCity
string
required

This is the billing city of the account.

billingCountry
string
required

This is the billing country of the account.

billingLatitude
string
required

This is the billing latitude of the account.

billingLongitude
string
required

This is the billing longitude of the account.

billingState
string
required

This is the billing state of the account.

billingStreet
string
required

This is the billing street of the account.

created_at
string
required

This is the created at of the account.

description
string
required

This is the description of the account.

employees
string
required

This is the employees of the account.

fax
string
required

This is the fax of the account.

industry
string
required

This is the industry of the account.

is_active
string
required

This is the is active of the account.

is_public
string
required

This is the is public of the account.

last_modified_by
string
required

This is the last modified by of the account.

numberOfEmployees
string
required

This is the number of employees of the account.

ownership
string
required

This is the ownership of the account.

phone
string
required

This is the phone of the account.

rating
string
required

This is the rating of the account.

shippingCity
string
required

This is the shipping city of the account.

shippingCountry
string
required

This is the shipping country of the account.

shippingLatitude
string
required

This is the shipping latitude of the account.

shippingLongitude
string
required

This is the shipping longitude of the account.

shippingState
string
required

This is the shipping state of the account.

shippingStreet
string
required

This is the shipping street of the account.

sicCode
string
required

This is the sic code of the account.

tickerSymbol
string
required

This is the ticker symbol of the account.

website
string
required

This is the website of the account.

yearStarted
string
required

This is the year started of the account.

zipCode
string
required

This is the zip code of the account.

created_by
string
required

This is the created by of the account.

updated_by
string
required

This is the updated by of the account.

Accounts

Accounts describes the general data about the accounts in Stateset.

The account object

Attributes

NameTypeDescription
idTextUnique identifier for the account
accountNameTextName of the account
accountNotesTextNotes or additional information about the account
accountSubtypeTextSubtype or specific category of the account
accountTypeTextType or general category of the account
account_ownerTextOwner or responsible person for the account
account_sourceTextSource or origin of the account
annualRevenueTextAnnual revenue associated with the account
avatarTextURL or path to the account’s avatar image
billingCityTextCity of the billing address
billingCountryTextCountry of the billing address
billingLatitudeTextLatitude coordinate of the billing address
billingLongitudeTextLongitude coordinate of the billing address
billingStateTextState or province of the billing address
billingStreetTextStreet address of the billing address
created_atDate/TimeDate and time when the account was created
descriptionTextDescription or additional details about the account
employeesTextNumber or range of employees associated with the account
faxTextFax number of the account
industryTextIndustry or sector of the account
is_activeBooleanIndicates whether the account is currently active
is_publicBooleanIndicates whether the account is public or private
last_modified_byTextLast person who modified the account
numberOfEmployeesTextNumber of employees associated with the account
ownershipTextOwnership type or structure of the account
parentAccountTextParent account associated with the account
phoneTextPhone number of the account
ratingTextRating or evaluation of the account
shippingCityTextCity of the shipping address
shippingCountryTextCountry of the shipping address
shippingLatitudeTextLatitude coordinate of the shipping address
shippingLongitudeTextLongitude coordinate of the shipping address
shippingStateTextState or province of the shipping address
shippingStreetTextStreet address of the shipping address
stockTickerTextStock ticker symbol associated with the account
websiteTextWebsite URL of the account
yearStartedTextYear the account was started or established