# Apache Sling Scripting API

**Canonical:** https://apis.io/apis/apache-sling/apache-sling-scripting-api/  
**Provider:** Apache Sling — https://apis.io/providers/apache-sling/  
**Documentation:** https://sling.apache.org/documentation/bundles/scripting.html

Apache Sling Scripting API is one of 3 APIs that [Apache Sling](https://apis.io/providers/apache-sling/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Scripting, HTL, JSP, Groovy, and Templates. The published artifact set on APIs.io includes API documentation.

The Sling Scripting API enables server-side rendering through multiple scripting engines. Scripts are resolved from the content repository based on resource type and selectors, supporting HTL (HTML Template Language / Sightly), JSP (JavaServer Pages), Groovy, FreeMarker, Thymeleaf, and server-side JavaScript via Rhino. The ScriptEngine API allows integration of any JSR-223 compatible scripting language.

## Machine-readable artifacts (2)

- **Documentation** — https://sling.apache.org/documentation/bundles/scripting.html
- **Documentation** — https://sling.apache.org/documentation/bundles/scripting/scripting-htl.html

## Other Apache Sling APIs (2)

- [Apache Sling Resource API](https://apis.io/apis/apache-sling/apache-sling-resource-api/)
- [Apache Sling Event API](https://apis.io/apis/apache-sling/apache-sling-event-api/)

## Tags

Scripting, HTL, JSP, Groovy, Templates, Java

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/apache-sling/apache-sling-scripting-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/apache-sling/.
