• Auth
  • GET Token


This method allows to receive a token with which to login in the reference domain.


  • Production environment: https://auth.altravia.com/token/
  • Testing environment: https://test.auth.altravia.com/token/


Request examples


Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
success boolean True or false.
token string Token to use to login.
expire string Expiry time of the token.
domain string Reference domain.
message string Contains error or success messages.
error int Contains the encoding of the error or NULL if successful.