POST
/
v1
/
accounts
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"
  }
}

Body

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.

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.