Get AI playbook
curl --request GET \
--url https://openapi.enginy.ai/v1/ai-playbook \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/ai-playbook"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/ai-playbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.enginy.ai/v1/ai-playbook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.enginy.ai/v1/ai-playbook"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.enginy.ai/v1/ai-playbook")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/ai-playbook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"company": {
"name": "<string>",
"company": "<string>",
"companyIndustry": "<string>",
"companyNumberOfEmployees": "<string>",
"companyHeadquartersLocation": "<string>",
"companyFoundingYear": "<string>",
"companyWebsite": "<string>",
"companyLinkedinUrl": "<string>",
"companyOverview": "<string>",
"companyProductsServices": "<string>"
},
"allCompanyProductsServices": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"valueProposition": "<string>",
"minPrice": 123,
"maxPrice": 123,
"currency": "<string>",
"isMainProduct": true
}
],
"idealCustomerProfiles": [
{
"id": 123,
"name": "<string>",
"jobTitles": [
"<string>"
],
"locations": [
"<string>"
],
"companyIndustry": "<string>",
"companySize": "<string>",
"keyPainPoints": "<string>",
"additionalInfo": "<string>",
"revenue": [
"<string>"
],
"disqualifyingFactors": "<string>",
"linkedInFilters": "<unknown>"
}
],
"idealCompanies": [
{
"id": 123,
"name": "<string>",
"industry": "<string>",
"imageUrl": "<string>",
"description": "<string>",
"linkedInUrl": "<string>",
"companyUrn": "<string>"
}
],
"competitors": [
{
"id": 123,
"name": "<string>",
"productDifferentiator": "<string>",
"linkedInUrl": "<string>"
}
],
"testimonials": [
{
"id": 123,
"companyName": "<string>",
"promoterName": "<string>",
"jobPosition": "<string>",
"mainBenefit": "<string>"
}
],
"faqs": [
{
"id": 123,
"question": "<string>",
"answer": "<string>"
}
]
}
}AI Playbook
Get AI playbook
Retrieve the company AI playbook for the workspace, including company context, products, ICPs, competitors, testimonials, FAQs, and ideal companies.
Required scope:
WORKSPACE_READRate limit: 100 requests per minute
GET
/
v1
/
ai-playbook
Get AI playbook
curl --request GET \
--url https://openapi.enginy.ai/v1/ai-playbook \
--header 'x-api-key: <api-key>'import requests
url = "https://openapi.enginy.ai/v1/ai-playbook"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://openapi.enginy.ai/v1/ai-playbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://openapi.enginy.ai/v1/ai-playbook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.enginy.ai/v1/ai-playbook"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://openapi.enginy.ai/v1/ai-playbook")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://openapi.enginy.ai/v1/ai-playbook")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "<string>",
"data": {
"company": {
"name": "<string>",
"company": "<string>",
"companyIndustry": "<string>",
"companyNumberOfEmployees": "<string>",
"companyHeadquartersLocation": "<string>",
"companyFoundingYear": "<string>",
"companyWebsite": "<string>",
"companyLinkedinUrl": "<string>",
"companyOverview": "<string>",
"companyProductsServices": "<string>"
},
"allCompanyProductsServices": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"valueProposition": "<string>",
"minPrice": 123,
"maxPrice": 123,
"currency": "<string>",
"isMainProduct": true
}
],
"idealCustomerProfiles": [
{
"id": 123,
"name": "<string>",
"jobTitles": [
"<string>"
],
"locations": [
"<string>"
],
"companyIndustry": "<string>",
"companySize": "<string>",
"keyPainPoints": "<string>",
"additionalInfo": "<string>",
"revenue": [
"<string>"
],
"disqualifyingFactors": "<string>",
"linkedInFilters": "<unknown>"
}
],
"idealCompanies": [
{
"id": 123,
"name": "<string>",
"industry": "<string>",
"imageUrl": "<string>",
"description": "<string>",
"linkedInUrl": "<string>",
"companyUrn": "<string>"
}
],
"competitors": [
{
"id": 123,
"name": "<string>",
"productDifferentiator": "<string>",
"linkedInUrl": "<string>"
}
],
"testimonials": [
{
"id": 123,
"companyName": "<string>",
"promoterName": "<string>",
"jobPosition": "<string>",
"mainBenefit": "<string>"
}
],
"faqs": [
{
"id": 123,
"question": "<string>",
"answer": "<string>"
}
]
}
}⌘I