Create persona binding
curl --request POST \
--url https://api.autogrowth.farm/v1/bindings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"captionPipelineId": "<string>",
"mediaPipelineIds": [
"<string>"
],
"brief": {
"postsPerDay": 50,
"postTypes": [
"<string>"
],
"postingWindows": [
"<string>"
],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
}
}
'import requests
url = "https://api.autogrowth.farm/v1/bindings"
payload = {
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"captionPipelineId": "<string>",
"mediaPipelineIds": ["<string>"],
"brief": {
"postsPerDay": 50,
"postTypes": ["<string>"],
"postingWindows": ["<string>"],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: '<string>',
hiKatiePersonaId: '<string>',
captionPipelineId: '<string>',
mediaPipelineIds: ['<string>'],
brief: {
postsPerDay: 50,
postTypes: ['<string>'],
postingWindows: ['<string>'],
timezone: '<string>',
engagementLevel: '<string>',
notes: '<string>'
}
})
};
fetch('https://api.autogrowth.farm/v1/bindings', 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://api.autogrowth.farm/v1/bindings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => '<string>',
'hiKatiePersonaId' => '<string>',
'captionPipelineId' => '<string>',
'mediaPipelineIds' => [
'<string>'
],
'brief' => [
'postsPerDay' => 50,
'postTypes' => [
'<string>'
],
'postingWindows' => [
'<string>'
],
'timezone' => '<string>',
'engagementLevel' => '<string>',
'notes' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.autogrowth.farm/v1/bindings"
payload := strings.NewReader("{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.autogrowth.farm/v1/bindings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.autogrowth.farm/v1/bindings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"binding": {
"id": "<string>",
"organizationId": "<string>",
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"mediaPipelineIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"captionPipelineId": "<string>",
"contentCollectionId": "<string>",
"brief": {
"postsPerDay": 50,
"postTypes": [
"<string>"
],
"postingWindows": [
"<string>"
],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
},
"lastSyncAt": "<string>",
"lastError": "<string>"
}
}{
"success": true,
"error": {
"name": "<string>",
"issues": [
{}
]
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Bindings
Create persona binding
Assigns a Hi Katie persona to one account. The account must be visible to the API key, and an account can hold only one binding — the uniqueness check is the insert itself, so a concurrent create loses with 409 rather than producing a duplicate.
POST
/
bindings
Create persona binding
curl --request POST \
--url https://api.autogrowth.farm/v1/bindings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"captionPipelineId": "<string>",
"mediaPipelineIds": [
"<string>"
],
"brief": {
"postsPerDay": 50,
"postTypes": [
"<string>"
],
"postingWindows": [
"<string>"
],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
}
}
'import requests
url = "https://api.autogrowth.farm/v1/bindings"
payload = {
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"captionPipelineId": "<string>",
"mediaPipelineIds": ["<string>"],
"brief": {
"postsPerDay": 50,
"postTypes": ["<string>"],
"postingWindows": ["<string>"],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: '<string>',
hiKatiePersonaId: '<string>',
captionPipelineId: '<string>',
mediaPipelineIds: ['<string>'],
brief: {
postsPerDay: 50,
postTypes: ['<string>'],
postingWindows: ['<string>'],
timezone: '<string>',
engagementLevel: '<string>',
notes: '<string>'
}
})
};
fetch('https://api.autogrowth.farm/v1/bindings', 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://api.autogrowth.farm/v1/bindings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountId' => '<string>',
'hiKatiePersonaId' => '<string>',
'captionPipelineId' => '<string>',
'mediaPipelineIds' => [
'<string>'
],
'brief' => [
'postsPerDay' => 50,
'postTypes' => [
'<string>'
],
'postingWindows' => [
'<string>'
],
'timezone' => '<string>',
'engagementLevel' => '<string>',
'notes' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.autogrowth.farm/v1/bindings"
payload := strings.NewReader("{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.autogrowth.farm/v1/bindings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.autogrowth.farm/v1/bindings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"<string>\",\n \"hiKatiePersonaId\": \"<string>\",\n \"captionPipelineId\": \"<string>\",\n \"mediaPipelineIds\": [\n \"<string>\"\n ],\n \"brief\": {\n \"postsPerDay\": 50,\n \"postTypes\": [\n \"<string>\"\n ],\n \"postingWindows\": [\n \"<string>\"\n ],\n \"timezone\": \"<string>\",\n \"engagementLevel\": \"<string>\",\n \"notes\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"binding": {
"id": "<string>",
"organizationId": "<string>",
"accountId": "<string>",
"hiKatiePersonaId": "<string>",
"mediaPipelineIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"captionPipelineId": "<string>",
"contentCollectionId": "<string>",
"brief": {
"postsPerDay": 50,
"postTypes": [
"<string>"
],
"postingWindows": [
"<string>"
],
"timezone": "<string>",
"engagementLevel": "<string>",
"notes": "<string>"
},
"lastSyncAt": "<string>",
"lastError": "<string>"
}
}{
"success": true,
"error": {
"name": "<string>",
"issues": [
{}
]
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Developer API key from Dashboard → Settings → Developer API
Body
application/json
AutoGrowth account the persona will manage. Must be visible to the API key.
Hi Katie persona UUID.
Required string length:
1 - 100Required string length:
1 - 100Required string length:
1 - 100Show child attributes
Show child attributes
Defaults to review.
Available options:
draft_only, review, autopilot Response
Binding created
Show child attributes
Show child attributes
⌘I