How to use this site
If you're new to here, learn how to navigate these DigiTax API Hub pages below
π Guides
This is the overview page of the Guides section.
Explore the guides as outlined on the left-hand menu.
Guide page features
-
Table of contents on the right-hand side (Only on Desktop)
-
Hover to view Glossary definitions (mouseover): We don't want to get lost in the jargon. Words (acronyms) listed in the Glossary appear on a page as underlined with a dotted line.
Like API, hover (or click - On Mobile) to view the definition.
π¦ Interactive API Docs
For a great developer experience, the endpoints in the DigiTax Kenya API reference are interactive.
Once you're set up in the DigiTax Dashboard, you can generate a sandbox or LIVE X-API-Key for authorization. Read more on the API prerequisites.
Explore the API endpoints here.
Code samples
You can make use of up to 19 programming language code samples for requests to get you started, regardless of the language you're using.

Pagination
We support cursor-based pagination requests for endpoints whose GET requests return a list of objects.
Parameters for paginated requests
The following are optional query parameters for paginated requests like GET sales.
Parameter | Explanation |
---|---|
before | When paginating results, a pointer to an ID before which we want results |
after | When paginating results, a pointer to an ID after which we want results |
page_size | The maximum number of items to return per page, defaults to 20 |
These are also explained on the API endpoint page(s).
Requests
After making requests via our interactive API reference, the most recent requests are saved for review under the "Recent Requests" section.

Parameters
Parameters (or Params) come in two types in the DigiTax Kenya API - Query Params and Body Params.
Below are examples:
-
Query Params
An example is seen in Get sales endpoint

-
Body Params
An example is seen in Create an item endpoint
π¬ We're here to help
If you get stuck, email us or use the DigiTax chat on the bottom right of any page.
We're excited you're here! π
Updated 17 days ago