Skip to main content

Get Credentials

Use this endpoint to get the authentication credentials.

Available Environments​

https://api.gateway.com.br/core

Endpoint​

  • Method: GET
  • Endpoint: /auth/credentials
  • Authentication: Bearer token

Request Example​

curl --request GET \
--url https://api.gateway.com.br/core/auth/credentials \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

FieldTypeDescription
client_idstring (UUID)Unique identifier
client_secretstringAuthentication secret key

Response Example​

{
"client_id": "553e8400-e29...",
"client_secret": "BvYIm4sb5CuAuq..."
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
500Internal errorContact support