# Channel specific utterances not working \[using rest channel and set the input\_channel in post request\]

**URL:** <https://forum.rasa.com/t/channel-specific-utterances-not-working-using-rest-channel-and-set-the-input-channel-in-post-request/31648>\
**Category:** Rasa Open Source\
**Created:** [July 22, 2020, 5:02am UTC](https://forum.rasa.com/t/channel-specific-utterances-not-working-using-rest-channel-and-set-the-input-channel-in-post-request/31648 "2020-07-22T05:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rabi/32/12756_2.png) [@Rabi](https://forum.rasa.com/u/Rabi)\
**Post date:** [July 22, 2020, 5:02am UTC](https://forum.rasa.com/t/channel-specific-utterances-not-working-using-rest-channel-and-set-the-input-channel-in-post-request/31648/1 "2020-07-22T05:02:00Z")

</div>

calling the rasa rest API [http://fqdn:5005/webhooks/rest/webhook](http://fqdn:5005/webhooks/rest/webhook) with body {“sender”: “ty88hphi”,“input\_channel”: “abc”, “message”:“/ch1”}

the channel is updated in the tracker and used in custom action smoothly but when I use “Channel specific utterances” it always returns the default message.

domain:

utter\_channel: - channel: “abc” text: “You’re talking to me on abc!” - channel: “123” text: “You’re talking to me on 123!” - text: “This is a default one”

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9a98b19f683f4f8daca82e73748bc5440127303f.png)

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [July 22, 2020, 8:53am UTC](https://forum.rasa.com/t/channel-specific-utterances-not-working-using-rest-channel-and-set-the-input-channel-in-post-request/31648/2 "2020-07-22T08:53:45Z")

</div>

@Rabi That’s somewhat expected behavior. The `input_channel` part of the JSON is treated as metadata and is not considering when finding a matching response. When assigning bot responses to channels we do that based on the name of the output channel which belongs to the input channel you used. This means if you’re using the rest channel then the channel name would be `collector`.
