Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method description

Get a fresh token using a valid JWT tokenthe token implicit on headers.

Request Data

Code Block
languagejs
{
	"email": "email@email.com",
	"token": "xxxxxxxxxxxxxxx"
}

...

Nothing

Response format and codes

...

On successful request, the service should return a response similar to this:

Code Block
languagejs
{
	    "user_token": token,
    "user_api_token"expiration_date": expiration_date
}


On a failed login attempt the response is like the following example:

Code Block
languagejs
{

   "err": "specific_errorinvalid.login.credentials"
}

Dependencies

...