GET
/
accounts
/
{account_id}
curl --request GET \
  --url https://api.sandbox.goteal.co/accounts/{account_id} \
  --header 'X-API-KEY: <api-key>'
{
  "account_id": "95a0e70b-fe02-4f47-aef9-2efff279df71",
  "payroll_provider": "quickbooks",
  "user_name": "john.smith@company.com",
  "status": "PENDING",
  "created_at": "2019-05-17T00:00:00.000Z",
  "mfa_enabled": true,
  "latest_pay_date": "2019-05-17T00:00:00.000Z"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

account_id
string
required

ID of the account to retrieve

Response

200
application/json
Succesfully retrieved account
account_id
string
required

The id of the account

Example:

"95a0e70b-fe02-4f47-aef9-2efff279df71"

payroll_provider
string
required

The payroll provider to use

Example:

"quickbooks"

user_name
string
required

The login of the user

Example:

"john.smith@company.com"

created_at
string
required
Example:

"2019-05-17T00:00:00.000Z"

status
string

Status of account

Example:

"PENDING"

mfa_enabled
boolean

Is mfa enabled for this account

latest_pay_date
string

The latest pay date of the payroll under this account

Example:

"2019-05-17T00:00:00.000Z"