Overview
Quick Start
Make your first Toku API call in under 5 minutes
Prerequisites#
- A Toku account with
CLIENT_ORG_ADMINaccess - A personal API token (see Authentication)
Your First API Call#
Verify your token works by calling the hello endpoint:
Response:
Every successful response wraps the result in data, with error set to null. Failed calls return an error instead (see Errors).
List Your Grants#
Retrieve all grants in your organization:
Response:
Each grant has more fields than shown here, such as pricePerUnit, lockups and tokenSymbol.
Create a Grant#
Add a new token grant for an employee:
grantConfigurationID comes from listGrantConfigurations, and recipientID is the recipient's roleInOrgID. Every field above is required; unknown fields are rejected.
Response:
Common Workflows#
Create grants, manage vesting, handle terminations
Add wallets, verify with test transactions, configure distributions
Onboard employees, assign roles, sync from HRIS
Submit and settle contractor invoices
Next Steps#
Explore the API reference
Browse the full Grants API, Wallets API, and Employees API
Poll for changes
The API has no webhooks. Poll list endpoints such as
listGrantsto pick up changes (see Build a Dashboard)Handle errors
Review error codes and implement proper error handling