Benefits & tax profiles
Generate Kota Employee Embed Session
Requests a fresh Kota embed session token and expiry for an employee's benefits widget.
POSThttps://api.toku.com/hris/generate-kota-employee-embed-session
Not available to API keys.
curl --request POST \
--url 'https://api.toku.com/hris/generate-kota-employee-embed-session' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"employeeID": 0
}'200 response
{
"token": "string",
"expiry": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
employeeIDintegerrequiredAllowed: at least 1
Response
200Successful response
tokenstringrequiredexpirystringrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits