Auth
POST /api/v1/auth
Note: To use an "addressAuthToken" in exchange for a "unifiedAuthToken" valid for 7 days.
Header
Field
Type
Remarks
I-Authorization
String
Bearer ${addressAuthToken},in which the addressAuthToken is acquired with a signature authenticationprocess through JS-SDK.
Request Parameters
Field
Type
Remarks
inviteCode
String
Invite Code or the relationId of the user sending out the invitation.
Request Example
Response Parameters
Field
Type
Remarks
code
String
the Return Code
desc
String
the Return Message
data
T
the Data
The Data field consists of the following subfields:
Field
Type
Remarks
token
String
unifiedAuthToken. Other APIs' "Authorization" field = Bearer ${unifiedAuthToken}
Response Example
Return Code
code
desc
Remarks
0
success
the flag for a successful request
Last updated