GetToken
API
Property | Value |
---|---|
API | /v2/token |
Title | GetToken |
Description | Sign in Tako |
Method |
|
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
message | string | YES | Format:
NOTE: The message structure above must be included, additional content can be added at the beginning and end of the message. For example:
What looks like on the user’s wallet signing page, such as Metamask:
|
signature | string | YES | Elliptic curve signing of the message. |
Parameter Content Type
application/json
Request and Response Example
Request
cURL Code
Request URL
https://api.tako.so/v2/token
Response
NOTE: The token is the only credential to access APIs, so you must save it securely. Its validity period is
3600
seconds. You can use the refresh_token to refresh the token. Its validity period is86400
seconds.
Last updated