title: Confluence API - get child pages of the parents also filtered by the date range - Javascript
body: <p>I am trying to get all the child pages from the parent page and also trying to get the filtered results by the date.</p>
  <p>I am trying the following query but it is throwing all the child pages but it is not showing the results within the provided date range.</p>
  <p><strong>API endpoint:</strong></p>
  <p><a href="https://domain-name.atlassian.net/wiki/rest/api/content/search?cql=parent=2342344&amp;created=2021-01-01%20and%20created=2022-01-01" rel="nofollow noreferrer">https://domain-name.atlassian.net/wiki/rest/api/content/search?cql=parent=2342344&amp;created=2021-01-01%20and%20created=2022-01-01</a></p>
  <p>In the results, I am seeing the child pages but I am also seeing the pages created before 2021</p>