Skip to content

Get Schedule

GET /public/schedule

Retrieve a paginated list of your scheduled posts. Each result includes the post type, status, and scheduled publish time.

Endpoint Details

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey))
  • Access Tier: Premium+

Parameters

ParameterTypeRequiredDescription
pagenumberYesPage number, starting from 1.
limitnumberYesMaximum items per page.
accountIdsarrayNoFilter by specific account IDs.
statusstringNoFilter by schedule status. Options: pending, process, error, success.
fromDatestringNoStart of the date range (ISO 8601 format).
toDatestringNoEnd of the date range (ISO 8601 format).

Example Request

bash
curl -X GET "https://api.repliz.com/public/schedule?page=1&limit=20&accountIds[]=680affa5ce12f2f72916f67e&status=pending&fromDate=2026-05-30T09:01:26.504Z&toDate=2026-05-30T09:01:26.504Z" \
  -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
javascript
import axios from 'axios';

const response = await axios.get('https://api.repliz.com/public/schedule', {
  params: {
    page: 1,
    limit: 20,
    accountIds: 680affa5ce12f2f72916f67e,
    status: 'pending',
    fromDate: '2026-05-30T09:01:26.504Z',
    toDate: '2026-05-30T09:01:26.504Z'
  },
  auth: {
    username: 'YOUR_ACCESS_KEY',
    password: 'YOUR_SECRET_KEY'
  }
});

console.log(response.data);
javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');

const response = await fetch('https://api.repliz.com/public/schedule?page=1&limit=20&accountIds[]=680affa5ce12f2f72916f67e&status=pending&fromDate=2026-05-30T09:01:26.504Z&toDate=2026-05-30T09:01:26.504Z', {
  headers: {
    'Authorization': `Basic ${credentials}`
  }
});

const data = await response.json();
console.log(data);

Response

json
{
  "docs": [
    {
      "_id": "69c7532ff0c3b7c83ab9e681",
      "title": "Title of Content",
      "description": "Description/Caption of Content",
      "topic": "Content AI",
      "type": "text",
      "medias": [
        {
          "alt": "image of cat",
          "type": "image",
          "thumbnail": "https://storage.repliz.com/thumbnail.jpg",
          "url": "https://storage.repliz.com/video.mp4"
        }
      ],
      "meta": {
        "title": "Repliz: Smart Comment Management for All Platforms",
        "description": "Repliz helps you manage comments from YouTube, Facebook, Instagram, Threads, TikTok and LinkedIn, all in one app. Automate replies, filter spam, and save time.",
        "url": "https://repliz.com"
      },
      "status": "pending",
      "scheduleAt": "2026-03-28T04:02:32.050Z",
      "replies": [
        {
          "title": "Title of Content",
          "description": "Description/Caption of Content",
          "topic": "Content AI",
          "type": "text",
          "medias": [
            {
              "alt": "image of cat",
              "type": "image",
              "thumbnail": "https://storage.repliz.com/thumbnail.jpg",
              "url": "https://storage.repliz.com/video.mp4"
            }
          ],
          "status": "pending"
        }
      ],
      "accountId": "69686c4c41ec8ac5117c8929",
      "userId": "6879b98097fc8c8a78d1d4c1",
      "createdAt": "2026-03-28T04:03:59.523Z",
      "updatedAt": "2026-03-28T04:03:59.523Z",
      "__v": 0,
      "account": {
        "_id": "69686c4c41ec8ac5117c8929",
        "generatedId": "113958387982006",
        "name": "Halaman ke 3",
        "username": "Cafe",
        "picture": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.30808-1/281663458_113958441315334_...",
        "isConnected": true,
        "type": "facebook",
        "userId": "6879b98097fc8c8a78d1d4c1",
        "createdAt": "2026-01-15T04:25:48.838Z",
        "updatedAt": "2026-03-24T14:00:00.873Z",
        "__v": 0,
        "id": "69686c4c41ec8ac5117c8929"
      },
      "id": "69c7532ff0c3b7c83ab9e681"
    },
    {
      "_id": "69b9197edbb1dfc1f7d1fef1",
      "title": "",
      "description": "JHAJSHAJSA",
      "type": "text",
      "medias": [],
      "status": "success",
      "scheduleAt": "2026-03-17T09:06:00.000Z",
      "replies": [],
      "automation": null,
      "accountId": "69686c4c41ec8ac5117c8929",
      "userId": "6879b98097fc8c8a78d1d4c1",
      "createdAt": "2026-03-17T09:06:06.287Z",
      "updatedAt": "2026-03-17T09:07:02.309Z",
      "__v": 0,
      "postId": "113958387982006_942538351814577",
      "account": {
        "_id": "69686c4c41ec8ac5117c8929",
        "generatedId": "113958387982006",
        "name": "Halaman ke 3",
        "username": "Cafe",
        "picture": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.30808-1/281663458_113958441315334_...",
        "isConnected": true,
        "type": "facebook",
        "userId": "6879b98097fc8c8a78d1d4c1",
        "createdAt": "2026-01-15T04:25:48.838Z",
        "updatedAt": "2026-03-24T14:00:00.873Z",
        "__v": 0,
        "id": "69686c4c41ec8ac5117c8929"
      },
      "id": "69b9197edbb1dfc1f7d1fef1"
    },
    {
      "_id": "698e6ec3ffc1295cc8bc2101",
      "title": "Tiga Permintaan Nabi Sulaiman Setelah Membangun Masjid Al-Aqsa Kisah Nabi Sulaiman",
      "description": "Rasulullah menyebutkan tiga permohonan yang diajukan Nabi Sulaiman setelah membangun Baitul Maqdis (Masjid Al-Aqsa): hukum yang sesuai hukum Allah kerajaan yang tidak dimiliki orang lain dan pengampunan dosa bagi yang salat di sana.\r\nVideo Lengkap Cek Bio",
      "type": "video",
      "medias": [
        {
          "type": "video",
          "url": "https://storage.bisnis2000.com/videos/MOv5fp0ZdFo_5bc6c.mp4"
        }
      ],
      "status": "success",
      "scheduleAt": "2026-02-10T07:55:00.000Z",
      "replies": [],
      "accountId": "69686c4c41ec8ac5117c8929",
      "userId": "6879b98097fc8c8a78d1d4c1",
      "createdAt": "2026-02-10T03:53:22.688Z",
      "updatedAt": "2026-02-13T00:39:29.538Z",
      "__v": 0,
      "postId": "113958387982006_916614914406921",
      "account": {
        "_id": "69686c4c41ec8ac5117c8929",
        "generatedId": "113958387982006",
        "name": "Halaman ke 3",
        "username": "Cafe",
        "picture": "https://scontent-cgk2-1.xx.fbcdn.net/v/t39.30808-1/281663458_113958441315334_...",
        "isConnected": true,
        "type": "facebook",
        "userId": "6879b98097fc8c8a78d1d4c1",
        "createdAt": "2026-01-15T04:25:48.838Z",
        "updatedAt": "2026-03-24T14:00:00.873Z",
        "__v": 0,
        "id": "69686c4c41ec8ac5117c8929"
      },
      "id": "698e6ec3ffc1295cc8bc2101"
    }
  ],
  "totalDocs": 3,
  "limit": 20,
  "totalPages": 1,
  "page": 1,
  "pagingCounter": 1,
  "hasPrevPage": false,
  "hasNextPage": false,
  "prevPage": null,
  "nextPage": null
}
json
{
  "code": 401,
  "message": "unauthorized"
}