---
title: "Token de Acesso"
method: POST
path: "/v1/auth/oauth2"
tags: ["Geracao Token de Acesso Paycore"]
---

# Token de Acesso

`POST /v1/auth/oauth2`

## Request

- The document declares no server URL.
- Auth: none declared

Utilize esse endpoint para autenticação no sistema paycore.:

## Request body

- object
  - `username` string, required
  - `password` string, required
  - `access_type_id` integer

## Response `200`

Success

- object
  - `html` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/bs2/apis/bs2-core2-contacorrente-extrato-app-hosts-http-forintegratio.md) - [All operations](https://skmtc.dev/bs2/apis/bs2-core2-contacorrente-extrato-app-hosts-http-forintegratio/llms.txt) - [OpenAPI document](https://skmtc.dev/bs2/apis/bs2-core2-contacorrente-extrato-app-hosts-http-forintegratio/revisions/54e32cbf71ab?raw)
