Initialize Token
Initialize a new temporary token
POST
/initialize-token
This endpoint creates a temporary token to authenticate the Taiki client CDK.
Your application should store the CLIENT_ID for each unique client. On next sign in, Taiki can automatically retrieve user documents without sign in.
Headers
Name
Value
Description
Your application's secret key
OPTIONAL: If provided, Taiki will use stored user credentials from last sign in. If not provided, Taiki will create a new one.
Body
Name
Type
Description
webhookURL
string
URL that Taiki servers will respond with document data
Response
Name
Type
Description
int
unique ID
string
Temporary token
string
Taiki's internal user ID to associate the user to their credentials