Reports & exports
Export Hris Change Requests Csv
Exports every change request matching dashboard filters (max 10k rows) as CSV and writes an audit log row.
Not available to API keys.
curl --request POST \
--url 'https://api.toku.com/hris/export-hris-change-requests-csv' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "PENDING",
"category": "NEW_HIRE",
"search": "string",
"statuses": [
"PENDING"
],
"categories": [
"NEW_HIRE"
],
"orgIDs": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"orgTypes": [
"CLIENT_ORGANIZATION"
],
"countries": [
"string"
],
"employmentTypes": [
"CONTRACTOR"
],
"requestedByRoleInOrgIDs": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"terminationBatchId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sortBy": "requestedAt",
"sortDirection": "asc",
"includeTimeOff": true
}'{}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
statusstringAvailable options: PENDING, APPROVED, REJECTED, CANCELLED, AUTO_APPROVED
categorystringAvailable options: NEW_HIRE, PERSONAL_INFO, BUSINESS_ENTITY, EMERGENCY_CONTACT, COMPENSATION, EMPLOYMENT, TAX_INFO, TERMINATION, EMPLOYMENT_TYPE, WORK_AUTH, WALLET, BENEFITS_NETWORK, ADDITIONAL_COMPENSATION, STABLECOIN_ALLOCATION, PROVIDENT_FUND
searchstringNOTE(ck): a .transform() rule is not mirrored here; TGA still enforces it
Allowed: at most 200 characters
statusesstring | any[]categoriesstring | any | any[]orgIDsstring<uuid>[]Allowed: at most 200 items
orgTypesstring[]countriesstring[]Allowed: at most 200 items
employmentTypesstring[]requestedByRoleInOrgIDsstring<uuid>[]Allowed: at most 200 items
terminationBatchIdstring<uuid>sortBystringAvailable options: requestedAt, employeeName, orgName, status, category
sortDirectionstringAvailable options: asc, desc
includeTimeOffboolean