Skip to main content

POST /api/login

Version: 3.0.0

Url

https://platform.globaltravelrule.com/api/login

The user logs in to obtain the JWT Token and uses it to make api calls. (The login session is Single-sign on: SSO, if you login from other session, current session will be forced logout)

Authentication

No authentication

Path Parameters

No path parameters

Query Parameters

No query parameters

Request Body (Optional)

PropertyTypeRequiredDescription
accessKey
StringYes
Access key generated through the 'generate API key' operation
expireInMinutes
IntegerNo
The login session will be revoke after the N minutes, leave blank to keep session forever
signedSecretKey
StringYes
Secret key generated through the 'generate API key' operation, must be signed with SHA512
vaspCode
StringYes
VASP CODE allocated by GTR system

Responses

Status 200

Login success, user info returned.

JSON Content

PropertyTypeDescription
data
Object
PropertyTypeDescription
jwt
String
Jwt issued by GTR API server
vaspCode
String
VASP code corresponding to the business system
msg
String
See ResponseMessageEnum
status
String
success
Boolean
Request is success or not
verifyMessage
String
verifyStatus
Integer
Copyright (C) 2025 Global Travel Rule. All Rights Reserved
General
Developer