client_id / client_secret por um access_token JWT.Authorization: Bearer <token>expires_in (em segundos) — solicite um novo após expirar.| Código | Causa |
|---|---|
invalid_request | Body malformado ou campos obrigatórios ausentes |
invalid_client | client_id inexistente ou client_secret incorreto |
server_error | Falha temporária — repita com backoff |
curl --location --request POST 'https://gtw.unnotech.com.br/public/api/v1/auth/token' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "minha-empresa-prod",
"client_secret": "S3cr3t0Ult4Secret0"
}'{
"access_token": "eyJhbGciOiJSUzI1NiIs...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "internal"
}