{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/highlevel/main/json-schema/highlevel-search-post-dto-schema.json",
  "title": "SearchPostDTO",
  "x-generated": "2026-09-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/highlevel-social-media-posting-openapi.json#/components/schemas/SearchPostDTO",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "type must be one of the following values: recent, all, scheduled, draft, failed, in_review, published, in_progress and deleted",
      "default": "all"
    },
    "accounts": {
      "type": "string",
      "description": "List of account Ids seperated by comma as a string"
    },
    "skip": {
      "type": "string",
      "default": "0"
    },
    "limit": {
      "type": "string",
      "default": "10"
    },
    "fromDate": {
      "type": "string",
      "description": "From Date"
    },
    "toDate": {
      "type": "string",
      "description": "To Date"
    },
    "includeUsers": {
      "type": "string",
      "description": "Include User Data"
    },
    "postType": {
      "type": "object",
      "description": "Post Type must be one of the following values: - post, story, reel"
    }
  },
  "required": [
    "skip",
    "limit",
    "fromDate",
    "toDate",
    "includeUsers"
  ]
}