cURL
curl --request POST \ --url https://api.revenda.nexus/auth/static-token \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>" } '
{ "status": 200, "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InNldV91c3VhcmlvIiwiaWF0IjoxNjc0MzY1MTY2fQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" }
Este endpoint permite gerar um token fixo de autenticação para acessar a API da plataforma Nexus.
POST https://api.revenda.nexus/auth/static-token Headers: { "Content-Type": "application/json" } Payload: { "username": "seu_usuario", "password": "sua_senha" }