POST

/v1/accounts

Bearer*

Body

idrequired
string

This is the id of the account.

accountNamerequired
string

This is the account name of the account.

accountNotesrequired
string

This is the account notes of the account.

accountSubtyperequired
string

This is the account subtype of the account.

accountTyperequired
string

This is the account type of the account.

account_ownerrequired
string

This is the account owner of the account.

account_sourcerequired
string

This is the account source of the account.

annualRevenuerequired
string

This is the annual revenue of the account.

avatarrequired
string

This is the avatar of the account.

billingCityrequired
string

This is the billing city of the account.

billingCountryrequired
string

This is the billing country of the account.

billingLatituderequired
string

This is the billing latitude of the account.

billingLongituderequired
string

This is the billing longitude of the account.

billingStaterequired
string

This is the billing state of the account.

billingStreetrequired
string

This is the billing street of the account.

created_atrequired
string

This is the created at of the account.

descriptionrequired
string

This is the description of the account.

employeesrequired
string

This is the employees of the account.

faxrequired
string

This is the fax of the account.

industryrequired
string

This is the industry of the account.

is_activerequired
string

This is the is active of the account.

is_publicrequired
string

This is the is public of the account.

Response

idrequired
string

This is the id of the account.

accountNamerequired
string

This is the account name of the account.

accountNotesrequired
string

This is the account notes of the account.

accountSubtyperequired
string

This is the account subtype of the account.

accountTyperequired
string

This is the account type of the account.

account_ownerrequired
string

This is the account owner of the account.

account_sourcerequired
string

This is the account source of the account.

annualRevenuerequired
string

This is the annual revenue of the account.

avatarrequired
string

This is the avatar of the account.

billingCityrequired
string

This is the billing city of the account.

billingCountryrequired
string

This is the billing country of the account.

billingLatituderequired
string

This is the billing latitude of the account.

billingLongituderequired
string

This is the billing longitude of the account.

billingStaterequired
string

This is the billing state of the account.

billingStreetrequired
string

This is the billing street of the account.

created_atrequired
string

This is the created at of the account.

descriptionrequired
string

This is the description of the account.

employeesrequired
string

This is the employees of the account.

faxrequired
string

This is the fax of the account.

industryrequired
string

This is the industry of the account.

is_activerequired
string

This is the is active of the account.

is_publicrequired
string

This is the is public of the account.

last_modified_byrequired
string

This is the last modified by of the account.

numberOfEmployeesrequired
string

This is the number of employees of the account.

ownershiprequired
string

This is the ownership of the account.

phonerequired
string

This is the phone of the account.

ratingrequired
string

This is the rating of the account.

shippingCityrequired
string

This is the shipping city of the account.

shippingCountryrequired
string

This is the shipping country of the account.

shippingLatituderequired
string

This is the shipping latitude of the account.

shippingLongituderequired
string

This is the shipping longitude of the account.

shippingStaterequired
string

This is the shipping state of the account.

shippingStreetrequired
string

This is the shipping street of the account.

sicCoderequired
string

This is the sic code of the account.

tickerSymbolrequired
string

This is the ticker symbol of the account.

websiterequired
string

This is the website of the account.

yearStartedrequired
string

This is the year started of the account.

zipCoderequired
string

This is the zip code of the account.

created_byrequired
string

This is the created by of the account.

updated_byrequired
string

This is the updated by of the account.

curl --location --request POST 'https://api.stateset.com/v1/account' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "current_token": ""
}'
{
  "success": 1,
  "user_group": {
    "team_id": 3,
    "token": "<user_group_token_to_auth_dashboard>",
    "name": "Example 1",
    "provided_id": "example_1"
  }
}