Skip to main content

Public API

Activate the Uku Public API to query data, build custom integrations, and create clients and contacts programmatically using generated API keys.

Written by Rain
Updated over a week ago

Public API

TL;DR: Uku's Public API lets you query data, build custom integrations, and create clients and contacts programmatically. Activate it from Settings and Apps, generate API keys, and start making requests using the API documentation.

Who can do this

  • Users with admin permissions in Uku

Overview

Uku's public API offers a variety of endpoints that allow you to:

  • Perform data queries -- Retrieve the necessary information for your internal reporting.

  • Build integrations -- If Uku lacks integration with a tool you need, you can create and use it yourself.

  • Create clients and contacts -- Add new clients and contacts directly into Uku.

Full reference: Uku API Documentation.

How to set up the Uku API

  1. Open Settings and Apps from the main menu.

  2. Locate Public API and click on it.

  3. Click the Activate button to enable API access.

  4. Confirm that the application status changes to Active.

Screenshot 2024-11-21 at 16 16 05

Generating API keys

  1. In the API Integration section, click on the Settings tab.

  2. Enter a name for the key (e.g., "Software Name").

  3. Click Generate New API Key.

  4. Click Save.

  5. The key name, API key, and API secret key are now displayed. Hover over each field to reveal a copy icon for copying the values.

The API key and API secret are automatically generated as random combinations of letters and numbers. They cannot be edited for security reasons.

Screenshot 2024-11-21 at 16 16 45

Deleting API keys

  1. Select the key you wish to delete.

  2. Hover over the API key row to reveal the delete icon.

  3. Click the delete icon.

  4. Confirm deletion in the confirmation dialog.

Deleting a key removes both the API key and the corresponding API secret.

API application status

  • If the API application is deactivated, all keys change from active to inactive.

  • When the application is reactivated, previous keys become active again.

Troubleshooting

  • API requests return 401 Unauthorized: Verify that the API application status is Active and that you are using the correct API key and API secret. Keys become inactive when the application is deactivated.

  • Cannot find Public API in Settings: Ensure you have admin permissions. The Public API option is only visible to admin users under Settings and Apps.

  • Accidentally deleted an API key: Deleted keys cannot be recovered. Generate a new API key and update any integrations that relied on the old key.

  • Keys showing as inactive after reactivation: Deactivating and reactivating the API app should restore previous keys. If keys remain inactive, try generating new ones and updating your integrations.

Did this answer your question?