Skip to main content
GET
Get account

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

accountId
integer
required

The id of the account.

Query Parameters

include
string

Comma-separated related resources to embed. Allowed: rep, creator, extended_properties.

Response

The requested account.

id
integer

The account's unique identifier.

Example:

5190

tenant_id
integer | null

The id of your organization's account.

Example:

12

rep_id
integer | null

The id of the user assigned as this account's rep. Null if unassigned.

Example:

1159

created_by
integer | null

The id of the user who created this account. Null if unknown.

Example:

1159

type
enum<integer>

The account type. 0 = person, 1 = business.

Available options:
0,
1
Example:

0

name
string | null

The account's business name. Null for person accounts without a business name on file.

address_street
string | null

The street portion of the account's address. Null if not provided.

Example:

"482 Birchwood Ave"

address_city
string | null

The city portion of the account's address. Null if not provided.

Example:

"Madison"

address_state
string | null

The two-letter state or province code for the account's address. Null if not provided.

Example:

"WI"

address_zip
string | null

The postal code for the account's address. Null if not provided.

Example:

"53703"

address_latitude
string | null

The latitude of the account's address, as a decimal string. Null if the address hasn't been geocoded.

Example:

"43.073100"

address_longitude
string | null

The longitude of the account's address, as a decimal string. Null if the address hasn't been geocoded.

Example:

"-89.401200"

shipping_address_street
string | null

The street portion of the account's shipping address. Null if not provided.

shipping_address_city
string | null

The city portion of the account's shipping address. Null if not provided.

shipping_address_state
string | null

The state or province of the account's shipping address. Null if not provided.

shipping_address_zip
string | null

The postal code of the account's shipping address. Null if not provided.

notes
string | null

Free-form notes about the account. Null if not set.

Example:

"Prefers email communication."

is_taxable
boolean

Whether projects for this account are taxable by default.

Example:

true

is_portal_enabled
boolean

Whether this account can log in to your organization's customer portal.

Example:

true

merge_status
enum<integer>

The account's merge designation, used when deduplicating accounts. 0 = no designation, 1 = marked as the account to keep in a pending merge, 2 = marked to be merged away and removed. Most integrations can ignore it.

Available options:
0,
1,
2
Example:

0

primary_prefix
enum<integer>

The primary contact's name prefix. 0 = none, 1 = Mr, 2 = Mrs, 3 = Ms, 4 = Dr. Never null — 0 represents no prefix set.

Available options:
0,
1,
2,
3,
4
Example:

3

primary_first_name
string | null

The primary contact's first name. Null if not set.

Example:

"Jane"

primary_last_name
string | null

The primary contact's last name. Null if not set.

Example:

"Smith"

primary_title_id
integer | null

The id of the title assigned to the primary contact slot on this account (for example, a relationship such as spouse). Null if not set.

primary_nick_name
string | null

The primary contact's nickname. Null if not set.

primary_phone_home
string | null

The primary contact's home phone number. Null if not provided.

primary_phone_work
string | null

The primary contact's work phone number. Null if not provided.

primary_phone_work_ext
string | null

Extension for the primary contact's work phone number. Null if not applicable.

primary_phone_cell
string | null

The primary contact's cell phone number. Null if not provided.

Example:

"(555) 201-4477"

primary_phone_fax
string | null

The primary contact's fax number. Null if not provided.

primary_email
string | null

The primary contact's email address. Null if not provided.

Example:

"jane.smith@example.com"

secondary_prefix
enum<integer>

The secondary contact's name prefix. 0 = none, 1 = Mr, 2 = Mrs, 3 = Ms, 4 = Dr. Never null — 0 represents no prefix set.

Available options:
0,
1,
2,
3,
4
secondary_first_name
string | null

The secondary contact's first name. Null if not set.

secondary_last_name
string | null

The secondary contact's last name. Null if not set.

secondary_title_id
integer | null

The id of the title assigned to the secondary contact slot on this account. Null if not set.

secondary_nick_name
string | null

The secondary contact's nickname. Null if not set.

secondary_phone_home
string | null

The secondary contact's home phone number. Null if not provided.

secondary_phone_work
string | null

The secondary contact's work phone number. Null if not provided.

secondary_phone_work_ext
string | null

Extension for the secondary contact's work phone number. Null if not applicable.

secondary_phone_cell
string | null

The secondary contact's cell phone number. Null if not provided.

secondary_phone_fax
string | null

The secondary contact's fax number. Null if not provided.

secondary_email
string | null

The secondary contact's email address. Null if not provided.

tertiary_prefix
enum<integer>

The tertiary contact's name prefix. 0 = none, 1 = Mr, 2 = Mrs, 3 = Ms, 4 = Dr. Never null — 0 represents no prefix set.

Available options:
0,
1,
2,
3,
4
tertiary_first_name
string | null

The tertiary contact's first name. Null if not set.

tertiary_last_name
string | null

The tertiary contact's last name. Null if not set.

tertiary_title_id
integer | null

The id of the title assigned to the tertiary contact slot on this account. Null if not set.

tertiary_nick_name
string | null

The tertiary contact's nickname. Null if not set.

tertiary_phone_home
string | null

The tertiary contact's home phone number. Null if not provided.

tertiary_phone_work
string | null

The tertiary contact's work phone number. Null if not provided.

tertiary_phone_work_ext
string | null

Extension for the tertiary contact's work phone number. Null if not applicable.

tertiary_phone_cell
string | null

The tertiary contact's cell phone number. Null if not provided.

tertiary_phone_fax
string | null

The tertiary contact's fax number. Null if not provided.

tertiary_email
string | null

The tertiary contact's email address. Null if not provided.

created_at
string | null

Timestamp when the account was created, formatted as YYYY-MM-DD HH:MM:SS. Can be null for accounts created before timestamps were tracked.

Example:

"2024-09-14 11:20:00"

updated_at
string | null

Timestamp when the account was last updated, formatted as YYYY-MM-DD HH:MM:SS. Can be null if the account has never been updated.

Example:

"2025-02-03 16:45:00"