List social post targets
curl --request GET \
--url https://api.app.hrizn.io/v1/public/social/posts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.app.hrizn.io/v1/public/social/posts"
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.app.hrizn.io/v1/public/social/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/social/posts', 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.app.hrizn.io/v1/public/social/posts",
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;
}{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"post_id": "<string>",
"content": "<string>",
"media_urls": [
"<string>"
],
"account_id": "<string>",
"scheduled_for": "2023-11-07T05:31:56Z",
"scheduled_timezone": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"platform_post_url": "<string>",
"platform_post_id": "<string>",
"error": "<string>",
"article_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"total_count": 123
}
}{
"error": {
"code": "validation_error",
"message": "keyword: Required",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "keyword: Required",
"details": {},
"request_id": "<string>"
}
}List social post targets
List social post targets for the site, newest first. Each item is a
single platform target; targets that belong to the same post share a
post_id. Filter by platform or status.
GET
/
social
/
posts
List social post targets
curl --request GET \
--url https://api.app.hrizn.io/v1/public/social/posts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.app.hrizn.io/v1/public/social/posts"
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.app.hrizn.io/v1/public/social/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.app.hrizn.io/v1/public/social/posts', 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.app.hrizn.io/v1/public/social/posts",
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;
}{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"post_id": "<string>",
"content": "<string>",
"media_urls": [
"<string>"
],
"account_id": "<string>",
"scheduled_for": "2023-11-07T05:31:56Z",
"scheduled_timezone": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"platform_post_url": "<string>",
"platform_post_id": "<string>",
"error": "<string>",
"article_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"total_count": 123
}
}{
"error": {
"code": "validation_error",
"message": "keyword: Required",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "keyword: Required",
"details": {},
"request_id": "<string>"
}
}Authorizations
Your Hrizn API key (prefix hzk_)
Query Parameters
Number of results per page
Required range:
1 <= x <= 100Base64-encoded pagination cursor
Available options:
twitter, facebook, instagram, linkedin, googlebusiness Available options:
draft, scheduled, publishing, published, failed, cancelled Response
Paginated list of post targets
Hide child attributes
Hide child attributes
Target row id (one per platform)
Logical post id shared across platform targets (use for writes)
Available options:
twitter, facebook, instagram, linkedin, googlebusiness Available options:
draft, scheduled, publishing, published, failed, cancelled Last modified on June 30, 2026
⌘I
