GET
/
accounts
/
{id}
curl --request GET \
  --url https://api.stateset.com/v1/accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "email": "user@example.com",
  "name": "riggsandporter.com"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

limit
number
required

The number of items to return

offset
number
required

Filter users without email

order_direction
string
required

Direction to return accounts

Response

200 - application/json
accountName
string

The name of the account.

accountNotes
string

Any notes or comments associated with the account.

accountType
string

The type of account.

annualRevenue
integer

The annual revenue of the account.

billingCity
string

The city for the account's billing address.

billingCountry
string

The country for the account's billing address.

billingLatitude
string

The latitude for the account's billing address.

billingLongitude
string

The longitude for the account's billing address.

billingState
string

The state or province for the account's billing address.

billingStreet
string

The street address for the account's billing address.

controller
string

The controller of the account.

created_at
string
default: now()

The date and time when the account was created.

id
string

The unique identifier for the account.

industry
string

The industry the account belongs to.

is_active
boolean

Whether the account is active or not.

is_public
boolean

Whether the account is public or private.

numberOfEmployees
number

The number of employees for the account.

order_id
string

The ID of the order associated with the account.

ownership
string

The ownership status of the account.

phone
string

The phone number of the account.

processor
string

The processor of the account.

rating
string

The rating of the account.

shippingCity
string

The city for the account's shipping address.

shippingCountry
string

The country for the account's shipping address.

shippingLatitude
string

The latitude for the account's shipping address.

shippingLongitude
string

The longitude for the account's shipping address.

shippingState
string

The state or province for the account's shipping address.

shippingStreet
string
user_id
string

The ID of the user who created the account.