Users
Retrieve a user
GET
/
users
/
{user_id}
curl --request GET \
--url https://api.sandbox.goteal.co/users/{user_id} \
--header 'X-API-KEY: <api-key>'
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2019-05-17T00:00:00.000Z",
"name": "John Smith",
"email": "john.smith@company.com",
"recurring_checks_enabled": true,
"recurring_check_frequency": "WEEKLY",
"recurring_check_end_date": "2019-05-17T00:00:00.000Z",
"payroll_period_months": 123
}
Authorizations
Path Parameters
ID of the user to delete.
Response
200
application/json
REturns the user details
The response is of type object
.
curl --request GET \
--url https://api.sandbox.goteal.co/users/{user_id} \
--header 'X-API-KEY: <api-key>'
{
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2019-05-17T00:00:00.000Z",
"name": "John Smith",
"email": "john.smith@company.com",
"recurring_checks_enabled": true,
"recurring_check_frequency": "WEEKLY",
"recurring_check_end_date": "2019-05-17T00:00:00.000Z",
"payroll_period_months": 123
}