# HTTP API - Template

**URL:** <https://forum.rasa.com/t/http-api-template/12446>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [July 3, 2019, 3:31pm UTC](https://forum.rasa.com/t/http-api-template/12446 "2019-07-03T15:31:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TuKSan](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@TuKSan](https://forum.rasa.com/u/TuKSan)\
**Post date:** [July 3, 2019, 3:31pm UTC](https://forum.rasa.com/t/http-api-template/12446/1 "2019-07-03T15:31:35Z")

</div>

Hi guys,

Why in domain.yaml the template information could have muiltiples text menssges, but in HTTP API - Add to templates collection you have just one option of text?

On HTTP API: {

- “text”: “string”,
- “buttons”:[“string”],
- “image”: “string”,
- “elements”:[“string”],
- “attachment”: “string”,
- “template”: “string” }

On domain.yaml:

template: utter\_goodbye: - text: “goodbye 😢” # multiple templates - bot will randomly pick one of them - text: “bye bye 😢”

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [July 4, 2019, 8:52am UTC](https://forum.rasa.com/t/http-api-template/12446/2 "2019-07-04T08:52:55Z")

</div>

Hi @TuKSan, are you talking about the create new template? You should be able to create multiple templates separately, and then they will merge. So in this case you would create two calls both with “template”; “utter\_goodbye”, in which one has text “goodbye” and one has text “bye bye”.
