Quick start
To get started with the Admin API, follow these steps.
Authentication
Request headers
{
"Authorization": "Bearer <API_Token>",
"Content-Type": "application/json"
}Performing a request
curl -X GET "https://app.circle.so/api/admin/v2/comments/posts?space_id=999&page=1&per_page=20&status=published" \
-H "Authorization: Bearer <API_Token>" \
-H "Content-Type: application/json"// simplified version of Posts just
{
"page": 1,
"per_page": 20,
"has_next_page": false,
"count": 3,
"page_count": 1,
"records": [
{
"id": 1001,
"status": "published",
"name": "Welcome to Our Product Space",
"slug": "welcome-to-our-product-space",
"body": {
"id": 1001,
"body": "<p>Welcome to the product discussion space! Here we'll share updates and gather feedback.</p>",
"created_at": "2024-09-01T09:00:00.000Z",
"updated_at": "2024-09-01T09:00:00.000Z"
},
"url": "https://app.circle.so/c/product-space/welcome-to-our-product-space",
"space_name": "Product Space",
"space_id": 999,
"user_name": "Product Manager",
"comments_count": 15,
"published_at": "2024-09-01T09:00:00.000Z",
"likes_count": 32
},
{
"id": 1002,
"status": "published",
"name": "New Feature Announcement",
"slug": "new-feature-announcement",
"body": {
"id": 1002,
"body": "<p>We're excited to announce our latest feature: AI-powered recommendations!</p>",
"created_at": "2024-09-05T14:30:00.000Z",
"updated_at": "2024-09-05T14:30:00.000Z"
},
"url": "https://app.circle.so/c/product-space/new-feature-announcement",
"space_name": "Product Space",
"space_id": 999,
"user_name": "Development Lead",
"comments_count": 28,
"published_at": "2024-09-05T14:30:00.000Z",
"likes_count": 45
},
{
"id": 1003,
"status": "published",
"name": "Upcoming Maintenance Schedule",
"slug": "upcoming-maintenance-schedule",
"body": {
"id": 1003,
"body": "<p>Please be aware of our upcoming maintenance window this Saturday from 2 AM to 4 AM EST.</p>",
"created_at": "2024-09-08T11:00:00.000Z",
"updated_at": "2024-09-08T11:00:00.000Z"
},
"url": "https://app.circle.so/c/product-space/upcoming-maintenance-schedule",
"space_name": "Product Space",
"space_id": 999,
"user_name": "Support Team",
"comments_count": 7,
"published_at": "2024-09-08T11:00:00.000Z",
"likes_count": 12
}
]
}Last updated

