DODO Docs
Search…
⌃K

Get Auth Token

Secret key

Get the secret key in the following way.

URL

https://api.dodoex.io/get-token

Request

Method

GET

Request Example

curl --location --header 'User-Agent: DODO-${your_id}' --request GET 'https://api.dodoex.io/get-token?key=${secret}'

Request Params

name
param type
type
option
default
description
User-Agent
header
string
require
define an id to identify yourself example: User-Agent: DODO-user123
key
query
string
require
the secret key that has been applied for

Response

Success

code: 200
content(of Auth Token):
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NjI3MzQ3MzAsImtleSI6ImU5ZWM2OWFjZWMxNWZlMjRhMGE4NzI4Yzc5NTE3OGMxIn0.ruRbC7bT-Vn-TGC7wxxrH8fVjmFtCz7YX5-kpPYSwXc

Fail

code: 400/404

Response Params

none