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:
- Create and manage outreach campaigns
- Add and manage prospects
- Create and use AI-powered message templates
- Manage AI agents that handle the conversations
- 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:
-
Setup your environment:
- Create products that describe your offerings
- Create prompts/templates for your messaging
- Create and configure AI agents
-
Create a campaign:
- Define campaign parameters
- Set qualification criteria
- Link to appropriate product, prompt, and agent
-
Add prospects:
- Add individual prospects or batches
- Include LinkedIn profile URLs and any additional information
-
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:
Responses are generated using AI and may contain mistakes.