TOKEN RENEWAL

Endpoints

Update API Token

POST /auth/token-renew

Description: Renews the expired API token, sending a new token for use.

POST /public/auth/token-renew?token=EXPIRED_USER_TOKEN HTTP/1.1
Host: api.solucx.com.br
Content-Type: application/json
Accept: */*

{
  "secret": "SEGREDO_DA_INSTANCIA"
}

Query Parameters

tokenrequiredstring
Expired user token.

Body

secretrequiredstring
Instance secret.

Responses:

  • 202 Created: Token successfully renewed.
  • 401 Unauthorized: Unauthorized.