cURL
curl --request GET \ --url https://api.sandbox.goteal.co/accounts \ --header 'X-API-KEY: <api-key>'
{ "pagination": { "offset": 75, "limit": 25, "count": 14, "total_count": 89 }, "accounts": [ { "account_id": "95a0e70b-fe02-4f47-aef9-2efff279df71", "payroll_provider": "quickbooks", "user_name": "[email protected]", "created_at": "2019-05-17T00:00:00.000Z", "status": "PENDING", "mfa_enabled": true, "latest_pay_date": "2019-05-17T00:00:00.000Z" } ] }
ID of the user to get accounts for
The offset to start at
x >= 1
The number of items to return
1 <= x <= 1000
Successfully retrieved accounts
Show child attributes
The offset to start at - zero based
75
1 <= x <= 100
25
x >= 0
14
89
The id of the account
"95a0e70b-fe02-4f47-aef9-2efff279df71"
The payroll provider to use
"quickbooks"
The login of the user
"[email protected]"
"2019-05-17T00:00:00.000Z"
Status of account
"PENDING"
Is mfa enabled for this account
The latest pay date of the payroll under this account