---
title: "Gerar token de autenticação"
method: POST
path: "/token"
---

# Gerar token de autenticação

`POST /token`

## Request

- Base URL: `https://acquirer.sandbox.cel.cash`
- URL: `https://acquirer.sandbox.cel.cash/token`
- Auth: OAuth 2

Gerar token de autenticação JWT para consumir recursos da aplicação de Acquirer As A Service

## Request body

- object
  - `client_id` string, required: GalaxId da conta
  - `grant_type` string, required: Defaults to client_credentials
  - `client_secret` string, required: GalaxHash da conta

## Response `200`

200

- object
  - `Access token` string
  - `expires_in` integer
  - `type` string

## Other responses

- `401`: 401
- `422`: 422

---

[API](https://skmtc.dev/celcoin/apis/cel-cash-aaas-sandbox.md) - [All operations](https://skmtc.dev/celcoin/apis/cel-cash-aaas-sandbox/llms.txt) - [OpenAPI document](https://skmtc.dev/celcoin/apis/cel-cash-aaas-sandbox/revisions/b715f8fae955?raw)
