# API

- [API Explainer Plugin](https://docs.yaycommerce.com/yaymail/developer-zone/api/api-explainer-plugin.md): Explore how YayMail API works through our explainer mini-plugin
- [Register Elements](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements.md)
- [Register New Elements](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements/register-new-elements.md)
- [Element Class](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements/element-class.md)
- [Render Element content](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements/render-element-content.md)
- [Default element data](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements/default-element-data.md)
- [Custom Property Editor (coming soon)](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-elements/custom-property-editor-coming-soon.md)
- [Register Shortcodes](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-shortcodes.md)
- [Register New Shortcodes](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-shortcodes/register-new-shortcodes.md)
- [Shortcode Class](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-shortcodes/shortcode-class.md)
- [Register Templates](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-templates.md)
- [Register new template](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-templates/register-new-template.md)
- [Email class](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-templates/email-class.md)
- [Render Templates content](https://docs.yaycommerce.com/yaymail/developer-zone/api/register-templates/render-templates-content.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yaycommerce.com/yaymail/developer-zone/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
