curl --request GET \
--url https://api.1club.ai/v1/platform/content \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.1club.ai/v1/platform/content"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1club.ai/v1/platform/content', 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.1club.ai/v1/platform/content",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.1club.ai/v1/platform/content"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.1club.ai/v1/platform/content")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.1club.ai/v1/platform/content")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"organizationId": 123,
"title": "<string>",
"slug": "<string>",
"type": "faq",
"status": "<string>",
"visibility": "Public",
"content": {
"html": "<string>",
"blocks": {},
"summary": "<string>",
"keywords": [
"<string>"
]
},
"excerpt": "<string>",
"metaTitle": "<string>",
"metaDescription": "<string>",
"metaKeywords": "<string>",
"canonicalUrl": "<string>",
"template": "<string>",
"layout": "<string>",
"customFields": {},
"tags": [
"<string>"
],
"summary": "<string>",
"keywords": [
"<string>"
],
"images": [
"<string>"
],
"featured": true,
"authorId": 123,
"author": {
"id": 123,
"name": "<string>",
"email": "<string>",
"profileImage": "<string>"
},
"publishedAt": "2023-11-07T05:31:56Z",
"language": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}List content
Returns content for the organization. By default this is the public view: published items with Public visibility, the same thing a website visitor could see.
To manage content you need the rest of it - pass status=all for drafts and visibility=all for member-only and private items. Both require the content:write scope, since they expose material the organization has not published.
Translations are separate items sharing one slug, each with its own language (see POST /v1/platform/content). locale resolves them - it returns one item per slug, the best match for that locale. To see every variant instead, omit locale and read each item’s language; to list one language only, pass language (language=none for the untagged base items).
curl --request GET \
--url https://api.1club.ai/v1/platform/content \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.1club.ai/v1/platform/content"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1club.ai/v1/platform/content', 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.1club.ai/v1/platform/content",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.1club.ai/v1/platform/content"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.1club.ai/v1/platform/content")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.1club.ai/v1/platform/content")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"organizationId": 123,
"title": "<string>",
"slug": "<string>",
"type": "faq",
"status": "<string>",
"visibility": "Public",
"content": {
"html": "<string>",
"blocks": {},
"summary": "<string>",
"keywords": [
"<string>"
]
},
"excerpt": "<string>",
"metaTitle": "<string>",
"metaDescription": "<string>",
"metaKeywords": "<string>",
"canonicalUrl": "<string>",
"template": "<string>",
"layout": "<string>",
"customFields": {},
"tags": [
"<string>"
],
"summary": "<string>",
"keywords": [
"<string>"
],
"images": [
"<string>"
],
"featured": true,
"authorId": 123,
"author": {
"id": 123,
"name": "<string>",
"email": "<string>",
"profileImage": "<string>"
},
"publishedAt": "2023-11-07T05:31:56Z",
"language": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.
Query Parameters
Filter by content type
post, faq, document, block, how-to-guide Defaults to published. draft and all require content:write.
published, draft, all Defaults to public-only. Anything else requires content:write.
Public, Member_only, Private, all Resolve translations for this locale - one item per slug, preferring the variant in this language, then the untagged one, then English.
Return only variants tagged with this language, or none for the untagged base items. A filter, not a resolution - use it to find what has not been translated yet. Cannot be combined with locale, which asks the opposite question.
Max results (1-100, default 100)
Response
List of content
faq, post, document, block, how-to-guide Public, Member_only, Private Body of the content item. May contain HTML, EditorJS blocks, a summary, and keywords.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?