Initialize JWT Token
Initialize a new Authentication Token
POST
/api/token
This endpoint creates a temporary JWT token to authenticate the Taiki client CDK. It expires in 1 hour for security reasons.
Your application should store the taiki_user_id
for each unique client on your end. In future years, when you Initialize the JWT token, provide the taiki_user_id
and Taiki will retrieve the prior year used platforms and documents connected to the taiki_user_id
.
Modes
The JWT token will incorporate which of the two Modes/Base Urls you are using. Just Invoke the Taiki App with the JWT token and the app will automatically use that mode.
Headers
The content type returned.
Body
api_key
string
api_secret
string
Secret key of your application. (This field can be regenerated via the dashboard).
taiki_user_id
string
Optional Taiki user ID. A new user will be created if this field is not present.
Response
string
Temporary access token
string
Taiki's internal user ID to associate the user to their credentials
Last updated