---
title: "Logs user into the system"
method: POST
path: "/v1/users/login.json"
tags: ["users"]
---

# Logs user into the system

`POST /v1/users/login.json`

## Query parameters

- `token` string, required

## Request body

- object
  - `email` string
  - `password` string

## Response `200`

successful operation

- object
  - `id` integer
  - `links` string
  - `access_token` string
  - `expires_in` integer
  - `token_type` string
  - `scope` integer
  - `refresh_token` integer
  - `users` object
    - `id` integer
    - `created` string
    - `modified` string
    - `user_id` integer
    - `username` string
    - `email` string
    - `password` string
    - `full_name` string
    - `initials` string
    - `about_me` string
    - `profile_picture_path` string
    - `notification_frequency` integer
    - `is_allow_desktop_notification` string
    - `is_active` boolean
    - `is_email_confirmed` boolean
    - `created_organization_count` integer
    - `created_board_count` integer
    - `joined_organization_count` integer
    - `list_count` integer
    - `joined_card_count` integer
    - `created_card_count` integer
    - `joined_board_count` integer
    - `checklist_count` integer
    - `checklist_item_completed_count` integer
    - `checklist_item_count` integer
    - `activity_count` integer
    - `card_voter_count` integer
    - `last_activity_id` integer
    - `last_login_date` integer
    - `last_login_ip_id` integer
    - `ip_id` integer
    - `login_type_id` integer
    - `is_productivity_beats` integer
    - `user_login_count` integer
    - `is_ldap` integer
    - `is_send_newsletter` integer
    - `last_email_notified_activity_id` integer
    - `owner_board_count` integer
    - `member_board_count` integer
    - `owner_organization_count` integer
    - `member_organization_count` integer
    - `language` integer
    - `timezone` integer
  - `boards` object
    - `id` integer
    - `created` string
    - `modified` string
    - `user_id` integer
    - `organization_id` integer
    - `board_visibility` integer
    - `background_color` integer
    - `background_picture_url` string
    - `commenting_permissions` integer
    - `voting_permissions` integer
    - `inivitation_permissions` integer
    - `is_closed` integer
    - `is_allow_organization_members_to_join` integer
    - `boards_user_count` integer
    - `list_count` integer
    - `card_count` integer
    - `boards_subscriber_count` integer
    - `background_pattern_url` string
    - `boards_star_count` integer
    - `is_show_image_front_of_card` integer
    - `background_picture_path` string
    - `music_name` string
    - `music_content` string
    - `archived_list_count` integer
    - `archived_card_count` integer
    - `organization_name` string
    - `organization_website_url` string
    - `organization_description` string
    - `organization_logo_url` string
    - `organization_visibility` string
    - `activities` object
      - `id` string
      - `created` string
      - `modified` string
      - `board_id` integer
      - `list_id` integer
      - `card_id` integer
      - `user_id` integer
      - `foreign_id` integer
      - `type` string
      - `comment` string
      - `revisions` string
      - `root` integer
      - `freshness_ts` string
      - `depth` integer
      - `path` string
      - `materialized_path` string
      - `organization_id` integer
    - `boards_subscribers` object
      - `id` integer
      - `created` string
      - `modified` string
      - `user_id` integer
      - `board_id` integer
      - `is_subscribed` integer
    - `boards_stars` object
      - `id` integer
      - `created` string
      - `modified` string
      - `user_id` integer
      - `board_id` integer
      - `is_starred` integer
    - `lists` object
      - `id` integer
      - `created` string
      - `modified` string
      - `user_id` integer
      - `board_id` integer
      - `name` string
      - `position` integer
      - `is_archived` integer
      - `card_count` integer
      - `lists_subscriber_count` integer
      - `is_deleted` integer
      - `custom_fields` string
      - `color` string
    - `boards_user` object
      - `id` integer
      - `created` string
      - `modified` string
      - `user_id` integer
      - `board_id` integer
      - `board_user_role_id` integer
    - `default_email_list_id` integer
    - `is_default_email_position_as_bottom` integer
    - `custom_fields` string

## Other responses

- `405` — Invalid input

---

[API](https://skmtc.net/restyaplatform/apis/restyaboard.md) · [All operations](https://skmtc.net/restyaplatform/apis/restyaboard/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/restyaplatform/restyaboard/versions/bfc753befdbe/schema)
