REST v1-only operations
Get Employee Grants
Lists an employee's grants by externalEmployeeID or payrollEmployeeID (payroll ID takes precedence).
Required scope: grants:read. People First only: the TOKEN_GRANTS module must be active and the service seat must hold token_grants.view at COMPANY scope. For API v2 and MCP, use an organization API key; personal access tokens use REST v1.
curl --request POST \
--url 'https://api.toku.com/platform/get-employee-grants' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"externalEmployeeID": "string",
"payrollEmployeeID": "string"
}'[
{
"grantID": "string",
"grantName": "string",
"grantDescription": "string",
"grantStatus": "PENDING",
"grantAmount": 0,
"grantAmountInFiat": 0,
"pricePerUnit": 0,
"pricePerUnitCurrencyCode": "string",
"grantDate": "string",
"vestingStartDate": "string",
"vestingFrequencyType": "string",
"vestingCliffPercentage": 0,
"vestingCliffPeriods": 0,
"vestingPeriods": 0,
"terminationDate": "string",
"futureTerminationDate": "string",
"tags": [
"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
externalEmployeeIDstring | string[] | anyNOTE(ck): a .transform() rule is not mirrored here; TGA still enforces it NOTE(ck): a .transform() rule is not mirrored here; TGA still enforces it
payrollEmployeeIDstring | string[] | anyNOTE(ck): a .transform() rule is not mirrored here; TGA still enforces it NOTE(ck): a .transform() rule is not mirrored here; TGA still enforces it
Response
200Successful response
grantIDstringrequiredgrantNamestringrequiredgrantDescriptionstring | nullrequiredgrantStatusstringrequiredAvailable options: PENDING, REJECTED, ACCEPTED, COMPLETED, TERMINATED, PAUSED, MARKED_FOR_FUTURE_TERMINATION
grantAmountnumberrequiredgrantAmountInFiatnumber | nullrequiredpricePerUnitnumber | nullrequiredpricePerUnitCurrencyCodestring | nullrequiredgrantDatestring | nullrequiredAllowed: matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
vestingStartDatestring | nullrequiredAllowed: matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
vestingFrequencyTypestring | nullrequiredvestingCliffPercentagenumber | nullrequiredvestingCliffPeriodsinteger | nullrequiredvestingPeriodsnumber | nullrequiredterminationDatestring | nullrequiredAllowed: matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
futureTerminationDatestring | nullrequiredAllowed: matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
tagsstring[]required