LovableHTML is a no-code SEO solution to sites built with Lovable. This is the API offering of the same service for pre-rendering api for React, Angular, Vue SPAs.
    LovableHTML is a no-code SEO solution to sites built with Lovable. This is the API offering of the same service for pre-rendering api for React, Angular, Vue SPAs.
    • Render a URL
      GET
    • Invalidate Single Page Cache
      POST
    • Invalidate Multiple Paths
      POST
    • Invalidate Entire Site Cache
      POST

      Invalidate Multiple Paths

      POST
      /api/prerender/cache/invalidate-paths-cache
      Purge the prerendered cache for multiple paths on a domain.

      Request

      Authorization
      API Key
      Add parameter in header
      x-lovablehtml-api-key
      Example:
      x-lovablehtml-api-key: ********************
      or
      Bearer Token
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      or
      Body Params application/jsonRequired

      Examples

      Responses

      🟢200
      application/json
      Success
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/prerender/cache/invalidate-paths-cache' \
      --header 'x-lovablehtml-api-key: <api-key>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "domain": "example.com",
          "paths": [
              "/",
              "/pricing",
              "/blog/post"
          ],
          "prewarm": false
      }'
      Response Response Example
      {
          "ok": true,
          "deleted": 0,
          "prewarmed": 0
      }
      Modified at 2025-12-18 23:21:05
      Previous
      Invalidate Single Page Cache
      Next
      Invalidate Entire Site Cache
      Built with