API Reference
π Quick Start The Akowe Issuance API & SDK allows you to design, issue, and manage certificates with minimal setup.
β
Prerequisites
Before you start, make sure you have:
An Akowe Issuance account.
Your API key (available in the Akowe issuance profile section).
Basic knowledge of JavaScript (for SDK) or HTTP requests (for REST API).
π§© How the API is Structured
Interactive Widget (SDK) β Embed the certificate editor in your web app for drag-and-drop template design.
REST API Endpoints β Programmatically manage organizations, templates, balances, and certificate issuance.
Event Callbacks β Get real-time events like
onLoad
,onSuccess
,onClose
, andonError
.
π Authentication & Credentials
Every request requires authentication headers:
x-api-key (required) β Your unique API key.
x-subaccount-email (optional) β Identifies a specific sub-account. Useful for scoping templates or certificates to a user.
π Always include these credentials making API requests.
β‘ Example: Initializing the SDK
<script src="https://issuance.akowe.app/sdk"></script>
<script>
const certApp = new CertificateSDK({
onLoad: (res) => {
console.log("SDK Loaded:", res);
},
onCreateCompleted: (data) => {
console.log("New template created:", data);
// Send this `data` to your Template Create API
},
onEditCompleted: (data) => {
console.log("Template edited:", data);
// Send this `data` to your Template Edit API
},
onClose: () => {
console.log("Modal closed");
// Call this when after a successful request to template Create or Edit endpoint
},
onError: (err) => {
console.error("SDK error:", err);
}
});
</script>
π Getting Started Steps
Obtain API credentials from your Akowe issuance dashboard.
Embed the SDK in your frontend or call API endpoints directly.
Test integration in development before moving to production.
With clear endpoints, event callbacks, and a ready-to-use SDK, you can integrate Akowe Issuance in minutesβnot hours.
Last updated