> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/tagging.md).

# Tags

Tags allow you to populate text by replacing the tag with a value of your choice.

1. Write tags inside double curly braces, e.g. `{{placeholder}}`.
2. Put them in text boxes or tables.
3. Send a list of key-value pairs to the PowerPoint Generator API, and it will replace each tag with your values.

Note: All styling and formatting will be inherited unless you specify otherwise.

Reference: [tags](/json-template-syntax/tags.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1hNN26PbIiwqAgZkHi-HYYkhwc0XP2hlc) | [output.pptx](https://drive.google.com/uc?export=download\&id=1t_6T2wjVQ5jzYny5Yt6NxeQnJdvNz7Ez)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FFrPTRMq8wm2e9QJwXzUe%2Ftemplate.png?alt=media&amp;token=2ed1351c-b4fd-4771-bca1-6baa8895cb77" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FNBrDsfZkTL7eosHBeJoE%2Foutput.png?alt=media&amp;token=b46ac58f-a3bd-4a7b-b5f0-129aba67db8e" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "cover",
            "value": "Business"
          },
          {
            "key": "subtitle",
            "value": "Joe Blogs"
          },
          {
            "key": "report_description",
            "value": "How to use Tags in PowerPoint Generator API"
          },
          {
            "key": "date",
            "value": "01 Jan"
          },
          {
            "key": "company",
            "value": "Important LTD"
          },
          {
            "key": "product",
            "value": "API"
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
