---
title: "/v3/auth/login"
method: POST
path: "/v3/auth/login"
---

# /v3/auth/login

`POST /v3/auth/login`

## Request

- Base URL: `https://totvssign.staging.totvs.app/identityintegration`
- URL: `https://totvssign.staging.totvs.app/identityintegration/v3/auth/login`
- Auth: none required
- TypeScript: <https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/docs/v3/auth/login/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint para obter o token JWE e refresh token.

## Request body

- object
  - `username` string: e-mail do usuário
  - `password` string: senha do usuário

## Response `200`

200

- object
  - `succeeded` boolean
  - `data` object
    - `refreshToken` string
    - `token` string
    - `tokenType` string
    - `expirationDate` string
  - `messages` object[]
    - `code` string
    - `description` string
  - `description` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o.md) - [All operations](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/llms.txt) - [OpenAPI document](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/revisions/0f43855140b5?raw)
