Get the tenant repurpose template
curl --request GET \
--url https://api.octaviatech.app/cms/ai/repurpose/template \
--header 'x-api-key: <api-key>'import requests
url = "https://api.octaviatech.app/cms/ai/repurpose/template"
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://api.octaviatech.app/cms/ai/repurpose/template', 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.octaviatech.app/cms/ai/repurpose/template",
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://api.octaviatech.app/cms/ai/repurpose/template"
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://api.octaviatech.app/cms/ai/repurpose/template")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octaviatech.app/cms/ai/repurpose/template")
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{
"success": true,
"statusCode": 200,
"message": "Repurpose template loaded",
"data": {
"tenantId": "{{objectId}}",
"defaults": {
"language": "en",
"tone": "professional",
"length": "medium"
},
"platforms": {
"linkedin": {
"tone": "professional",
"length": "medium",
"ctaTemplate": "Share your perspective in the comments.",
"hashtagStyle": "industry and thought-leadership hashtags",
"maxHashtags": 5
},
"twitter": {
"tone": "casual",
"length": "short",
"ctaTemplate": "Reply with your take.",
"hashtagStyle": "short and specific hashtags",
"maxHashtags": 3
},
"telegram": {
"tone": "friendly",
"length": "medium",
"ctaTemplate": "Read the full article for details.",
"hashtagStyle": "topic hashtags",
"maxHashtags": 6
},
"instagram": {
"tone": "friendly",
"length": "medium",
"ctaTemplate": "Save this post and share it with your network.",
"hashtagStyle": "discoverability hashtags",
"maxHashtags": 8
}
},
"updatedBy": null,
"createdAt": "2025-10-01T12:00:00.000Z",
"updatedAt": "2025-10-01T12:00:00.000Z"
}
}Repurpose
Get Repurpose Template
Get Repurpose Template.
GET
/
ai
/
repurpose
/
template
Get the tenant repurpose template
curl --request GET \
--url https://api.octaviatech.app/cms/ai/repurpose/template \
--header 'x-api-key: <api-key>'import requests
url = "https://api.octaviatech.app/cms/ai/repurpose/template"
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://api.octaviatech.app/cms/ai/repurpose/template', 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.octaviatech.app/cms/ai/repurpose/template",
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://api.octaviatech.app/cms/ai/repurpose/template"
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://api.octaviatech.app/cms/ai/repurpose/template")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octaviatech.app/cms/ai/repurpose/template")
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{
"success": true,
"statusCode": 200,
"message": "Repurpose template loaded",
"data": {
"tenantId": "{{objectId}}",
"defaults": {
"language": "en",
"tone": "professional",
"length": "medium"
},
"platforms": {
"linkedin": {
"tone": "professional",
"length": "medium",
"ctaTemplate": "Share your perspective in the comments.",
"hashtagStyle": "industry and thought-leadership hashtags",
"maxHashtags": 5
},
"twitter": {
"tone": "casual",
"length": "short",
"ctaTemplate": "Reply with your take.",
"hashtagStyle": "short and specific hashtags",
"maxHashtags": 3
},
"telegram": {
"tone": "friendly",
"length": "medium",
"ctaTemplate": "Read the full article for details.",
"hashtagStyle": "topic hashtags",
"maxHashtags": 6
},
"instagram": {
"tone": "friendly",
"length": "medium",
"ctaTemplate": "Save this post and share it with your network.",
"hashtagStyle": "discoverability hashtags",
"maxHashtags": 8
}
},
"updatedBy": null,
"createdAt": "2025-10-01T12:00:00.000Z",
"updatedAt": "2025-10-01T12:00:00.000Z"
}
}Authorizations
Response
OK (template)
Was this page helpful?

