title: Google Indexing API
body: <p>I have a job portal website (Wordpress + PHP) and I want using Google Indexing API for my website. I don't have any experience on GoogleAPI so I just read their guidance.
  According to the guide, to use the Indexing API it has 3 steps:</p>
  
  <blockquote>
    <ol>
    <li>Complete the prerequisites by enabling the Indexing API, creating a new service account, and verifying ownership in Search Console.</li>
    <li>Get an access token to authenticate your API call.</li>
    <li>Send requests to notify Google of new, updated, or deleted web pages. </li>
    </ol>
  </blockquote>
  
  <p>I completed the step 1 but step 2 and 3 it really confuse me. Seem like I need obtain the OAuth token with coding but where do I put these code ? For using API, they show me this example :</p>
  
  <pre><code>POST https://indexing.googleapis.com/v3/urlNotifications:publish
  {
    "url": "https://careers.google.com/jobs/google/technical-writer",
    "type": "URL_UPDATED"
  }
  </code></pre>
  
  <p>Again, Im not sure where do I put these block code to using API. Can anyone know about this can explain step by step how to do it for me? Last question : because my website get around 10 - 15 new job post per day. Can I somehow set this Indexing API automatic send request to Google whenever someone post a new job ?
  Regards,</p>