Skip to main content
This page is for developers. It covers API setup and code examples. If you’re looking for how to use Kakiyo from the dashboard (no code), see the Dashboard Guides instead.
This guide will help you quickly get started with the Kakiyo API to automate your LinkedIn outreach campaigns.

Overview

Kakiyo’s API allows you to:
  1. Create and manage outreach campaigns
  2. Add and manage prospects
  3. Create and use AI-powered message templates
  4. Manage AI agents that handle the conversations
  5. Track performance and results

Prerequisites

Before you begin, you’ll need:
  • A Kakiyo account (sign up here)
  • An API key (generated from your dashboard)
  • Basic understanding of RESTful APIs and HTTP requests

Authentication

All API requests must include your API key in the Authorization header:
Authorization: Bearer API_KEY
Your API key is a 40-character string.
Keep your API key secure! Do not share it publicly or include it in client-side code.

Basic Example

Here’s a simple example of how to use the Kakiyo API to create a campaign:
const axios = require('axios');

const API_KEY = 'YOUR_API_KEY';
const BASE_URL = 'https://api.kakiyo.com/v1';

// Create a new campaign
async function createCampaign() {
  try {
    const response = await axios.post(
      `${BASE_URL}/campaigns`,
      {
        name: 'My First Campaign',
        productId: 'product123',
        promptId: 'prompt456',
        agentId: 'agent789',
        qualificationAutomatic: 70,
        qualificationVerification: 50,
        variables: {
          companyValue: "Our unique AI solution",
          painPoint: "time-consuming manual outreach"
        }
      },
      {
        headers: {
          'Authorization': `Bearer ${API_KEY}`,
          'Content-Type': 'application/json'
        }
      }
    );

    console.log('Campaign created:', response.data);
    return response.data;
  } catch (error) {
    console.error('Error creating campaign:', error.response ? error.response.data : error.message);
    throw error;
  }
}

// Call the function
createCampaign();

Common Workflow

A typical workflow with the Kakiyo API looks like this:
  1. Setup your environment:
    • Create products that describe your offerings
    • Create prompts/templates for your messaging
    • Create and configure AI agents
  2. Create a campaign:
    • Define campaign parameters
    • Set qualification criteria
    • Link to appropriate product, prompt, and agent
  3. Add prospects:
    • Add individual prospects or batches
    • Include LinkedIn profile URLs and any additional information
  4. Monitor and manage:
    • Track campaign performance
    • Manage conversations
    • Qualify prospects based on responses

Next Steps

Now that you’ve seen a basic example, explore the rest of our documentation to learn more:

Authentication

Learn more about authentication methods and security

API Reference

Browse the complete API documentation

Campaigns API

Learn how to create and manage campaigns

Prospects API

Learn how to add and manage prospects
Last modified on March 11, 2026