Autentica a integração usando cabeçalhos GeniusKey e GeniusToken e retorna um JWT. O token deve ser enviado nos endpoints protegidos usando o header Authorization: Bearer {token}.
Security
BearerAuth
- Mock serverhttps://apidocs.geniusreturns.com.br/_mock/openapi/v1/pvt/seguranca/autenticar
- https://integration.geniusreturns.com.brhttps://integration.geniusreturns.com.br/v1/pvt/seguranca/autenticar
- QAhttps://integration-qa.geniusreturns.com.br/v1/pvt/seguranca/autenticar
curl --location --request POST 'https://integration.geniusreturns.com.br/v1/pvt/seguranca/autenticar' --header 'GeniusKey: denis@denis.com.br' --header 'GeniusToken: 1234'Response
{ "ticket": { "bearer": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IkRlbmlzIiwiX0NsaWVudGVJZCI6IjIiLCJuYW1laWQiOiIyIiwicm9sZSI6ImNsaWVudCIsIm5iZiI6MTc1NTUxNzMyNSwiZXhwIjoxNzU1NTE4NTI1LCJpYXQiOjE3NTU1MTczMjV9.4_95wpCNfI4SUPKeT64A761hl-9Pd0AWrrvLGh2jM4I", "data": "2025-08-18T08:42:05.6720641-03:00", "expirarEm": "2025-08-18T09:02:05.6721142-03:00" } }