---
title: "Authenticate and get a session token"
method: POST
path: "/login"
tags: ["Auth"]
---

# Authenticate and get a session token

`POST /login`

Authenticate and get a session token. This session token can be used for further authentication of all other requests.

## Request body

- Auth
  - `email` string
  - `password` string

## Response `200`

Auth response. Find the token here and use this as authentication for the other requests.

- object
  - `user` object
    - `id` string
    - `name` string
    - `email` string
    - `email_verified_at` string
    - `is_admin` string
    - `created_at` string
    - `updated_at` string
  - `token` string

## Other responses

- `401` — Invalid input

---

[API](https://skmtc.net/gitbookio/apis/mailscheduler.md) · [All operations](https://skmtc.net/gitbookio/apis/mailscheduler/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/mailscheduler/revisions/c6c3717d477d/schema)
