| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
GET /api/me 200
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Param name | Description | 
|---|---|
| q optional | Keyword to be searched Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| 422 | Unprocessable User. | 
PUT /api/users/59c241d7a83dc1219d4f299b
{
  "user": {}
}
401
  | Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| user required | User parameter container Validations: 
 | 
| user[first_name] optional | Validations: 
 | 
| user[middle_name] optional | Validations: 
 | 
| user[last_name] optional | Validations: 
 | 
| user[languages] optional | Validations: 
 | 
| user[gender] optional | Validations: 
 | 
| user[categories] optional | Validations: 
 | 
| user[education_level] optional | Validations: 
 | 
| user[freelancer_type] optional | Validations: 
 | 
| user[birth_date] optional | Validations: 
 | 
| user[customer] optional | Validations: 
 | 
| user[is_survey_subscribe] optional | Validations: 
 | 
| user[zip_code] required | Validations: 
 | 
| user[country] optional | Validations: 
 | 
| user[has_intro_task] optional | Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User not found | 
| 422 | Unprocessable User | 
PATCH /api/users/59c241d6a83dc1219d4f2989/update_password
{
  "user": {}
}
401
  | Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| user required | User parameter container Validations: 
 | 
| user[current_password] required | User’s current password. Validations: 
 | 
| user[password] required | User’s new password Validations: 
 | 
| user[password_confirmation] required | The confirmation of new password Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User not found | 
| 422 | Unprocessable User | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User not found | 
| 422 | Unprocessable User | 
PATCH /api/users/59c241d5a83dc1219d4f294a/update_email
{
  "user": {}
}
401
  | Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| user required | User parameter container Validations: 
 | 
| user[email] required | E-mail to be changed Validations: 
 | 
| user[current_password] optional | User’s current password Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found | 
POST /api/users/59c241d6a83dc1219d4f297d/send_confirmation_instructions
{
  "user": {}
}
401
  | Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 422 | Unprocessable User | 
POST /api/users/check_email
{
  "email": "test@test.com"
}
204
  | Param name | Description | 
|---|---|
| email required | Email to be searched Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 422 | Unprocessable User | 
| Param name | Description | 
|---|---|
| username required | Username to be searched Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
POST /api/users/upload_approved_balances
{
  "file": "<FILE CONTENT 'approved_balances.tsv'>"
}
403
    | Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 422 | Invalid confirmation token | 
POST /api/users/confirm_account
{
  "confirmation_token": null,
  "user": {
    "confirmation_token": null
  }
}
204
  | Param name | Description | 
|---|---|
| confirmation_token required | Confirmation Token Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| 404 | Application Not Found | 
| Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| application_id required | Application ID Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
GET /api/users/59c24193a83dc1219d4eeafe/scores 200
| Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| language required | Date in the format of YYYY-MM-DD Validations: 
 | 
| score_date required | Date in the format of YYYY-MM-DD Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User ID Validations: 
 | 
| daily_activity_counts optional | daily_activity_counts=all if statistics needed Validations: 
 | 
| daily_activity_seconds optional | daily_activity_seconds=all if statistics needed Validations: 
 | 
| daily_hourly_rates optional | daily_hourly_rates=all if statistics needed Validations: 
 | 
| activities optional | activities=all if statistics needed Validations: 
 | 
| levels optional | levels=all if statistics needed Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Param name | Description | 
|---|---|
| first_date required | First date Validations: 
 | 
| last_date required | Second date Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Param name | Description | 
|---|---|
| first_date required | First date Validations: 
 | 
| last_date required | Last date Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Param name | Description | 
|---|---|
| first_date required | First date of query Validations: 
 | 
| last_date required | Last date of query Validations: 
 | 
| type required | Storage type Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| Param name | Description | 
|---|---|
| first_date required | First date of query Validations: 
 | 
| last_date required | Last date of query Validations: 
 | 
| language required | Ask a language to retrieve results Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| Code | Description | 
|---|---|
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | User Not Found. | 
| Param name | Description | 
|---|---|
| id required | User Id Validations: 
 | 
| to_user_id required | To User Id Validations: 
 | 
| count required | Count of reward points Validations: 
 | 
| note optional | Note Validations: 
 |