---
title: "Autenticação V2"
method: POST
path: "/v2/oauth2/token"
tags: ["AuthAPI"]
---

# Autenticação V2

`POST /v2/oauth2/token`

Solicitação de token para as APIs da Loggi.

## Request body

- ServiceAccountTokenRequest
  - `client_id` string, required
  - `client_secret` string, required

## Response `200`

Return the JWT Token for the service account

- ServiceAccountTokenResponse
  - `idToken` string, required
  - `expiresIn` string, required

## Other responses

- `400` — Validation Error

---

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