Search contents

You can easily filter your content by a search keyword. For this you need to call the endpoint SearchContents as a POST and pass the payload as below.

{
   "apiKey":"[Your API Key]",
   "emailHash":"[The hash of your email]",
   "slug":"[Your Slug]",
   "keyword":"[The search keyword]",
   "imageTransformation":"[Any image transformation parameters]",
   "IsPilotVersion":false, //Set this to true if you want to search piloted content.
   "variables": //Any variables that you want to pass
   {
      "[Variable name]":"[Variable value]"
   }
}

Once you call the endpoint, you will now get a response which will contain all the matching content.