Get Publish History
curl --request GET \
--url https://app.uselamina.ai/v1/publishing/history \
--header 'x-api-key: <api-key>'import requests
url = "https://app.uselamina.ai/v1/publishing/history"
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://app.uselamina.ai/v1/publishing/history', 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://app.uselamina.ai/v1/publishing/history",
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://app.uselamina.ai/v1/publishing/history"
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://app.uselamina.ai/v1/publishing/history")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.uselamina.ai/v1/publishing/history")
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{
"data": [
{
"id": "pub-001",
"platform": "instagram",
"contentType": "image",
"contentUrl": "https://media.getmason.io/api/assetlib/abc123.png",
"caption": "Discover our new spring collection",
"postUrl": "https://instagram.com/p/ABC123",
"status": "published",
"error": null,
"publishedAt": "2026-04-15T11:00:00.000Z",
"createdAt": "2026-04-15T10:59:55.000Z"
},
{
"id": "pub-002",
"platform": "facebook",
"contentType": "video",
"contentUrl": "https://media.getmason.io/api/assetlib/def456.mp4",
"caption": "Behind the scenes of our latest shoot",
"postUrl": null,
"status": "failed",
"error": "Video format not supported by Facebook API",
"publishedAt": null,
"createdAt": "2026-04-14T16:30:00.000Z"
}
]
}{
"error": "Invalid API key"
}"Too many requests from this IP, please try again in a minute"Distribute
Get Publish History
List past publish operations for the authenticated user. Returns publish records including platform, content URLs, captions, post URLs, and status.
Use this to verify past publishes, track which content went to which platforms, and audit publish failures.
GET
/
v1
/
publishing
/
history
Get Publish History
curl --request GET \
--url https://app.uselamina.ai/v1/publishing/history \
--header 'x-api-key: <api-key>'import requests
url = "https://app.uselamina.ai/v1/publishing/history"
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://app.uselamina.ai/v1/publishing/history', 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://app.uselamina.ai/v1/publishing/history",
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://app.uselamina.ai/v1/publishing/history"
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://app.uselamina.ai/v1/publishing/history")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.uselamina.ai/v1/publishing/history")
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{
"data": [
{
"id": "pub-001",
"platform": "instagram",
"contentType": "image",
"contentUrl": "https://media.getmason.io/api/assetlib/abc123.png",
"caption": "Discover our new spring collection",
"postUrl": "https://instagram.com/p/ABC123",
"status": "published",
"error": null,
"publishedAt": "2026-04-15T11:00:00.000Z",
"createdAt": "2026-04-15T10:59:55.000Z"
},
{
"id": "pub-002",
"platform": "facebook",
"contentType": "video",
"contentUrl": "https://media.getmason.io/api/assetlib/def456.mp4",
"caption": "Behind the scenes of our latest shoot",
"postUrl": null,
"status": "failed",
"error": "Video format not supported by Facebook API",
"publishedAt": null,
"createdAt": "2026-04-14T16:30:00.000Z"
}
]
}{
"error": "Invalid API key"
}"Too many requests from this IP, please try again in a minute"Returns the publish history for your workspace, including status and destination details for each publish job.
Use this to audit what has been published, track pending or failed publishes, and build dashboards showing content distribution activity. Results are paginated and ordered by publish time (newest first).
Authorizations
Workspace API key. Prefix: lma_. Example: lma_abc123...
Query Parameters
Maximum number of publish records to return.
Required range:
x <= 100Filter by publish status (e.g. published, failed, pending).
Filter by platform (e.g. instagram, facebook, tiktok).
Response
List of publish history records
Show child attributes
Show child attributes