Accounts
Get an account
GET
/
accounts
/
{account_id}
Copy
curl --request GET \
--url https://api.sandbox.goteal.co/accounts/{account_id} \
--header 'X-API-KEY: <api-key>'
Copy
{
"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
Path Parameters
ID of the account to retrieve
Response
200
application/json
Succesfully retrieved account
The response is of type object
.
Copy
curl --request GET \
--url https://api.sandbox.goteal.co/accounts/{account_id} \
--header 'X-API-KEY: <api-key>'
Copy
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.