Auth

login

post/v2/login

Request

  • Base URL: https://api-gpp-prod.rastreabilidadebrasil.com.br
  • URL: https://api-gpp-prod.rastreabilidadebrasil.com.br/v2/login
  • Auth: none declared

Request body

usernamestring required
passwordstring required

Example request

{
  "username": "user@name",
  "password": "123"
}

Response

Successful login response

errorsobject nullable

Example response

{
  "data": {
    "token": "b38e9fee-d31d-42e4-bb20-8183365e24d2",
    "user": {
      "Attributes": {
        "LoginCount": "0"
      },
      "CTime": 1712002410,
      "Email": "root@root",
      "Guid": "3d6d83a1-5c70-43d1-a41f-a314f0214e50",
      "MTime": 1746734830,
      "Name": "root",
      "Username": "root@root"
    }
  },
  "status": {
    "Code": 200,
    "Message": "Success!"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.