# Mattermost interactive button do not call URL

**URL:** <https://forum.mattermost.com/t/mattermost-interactive-button-do-not-call-url/14534>\
**Category:** Troubleshooting\
**Created:** [November 28, 2022, 5:30pm UTC](https://forum.mattermost.com/t/mattermost-interactive-button-do-not-call-url/14534 "2022-11-28T17:30:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodrigo-Vieira-Chave](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rodrigo-vieira-chave/32/6117_2.png) [@Rodrigo-Vieira-Chave](https://forum.mattermost.com/u/Rodrigo-Vieira-Chave)\
**Post date:** [November 28, 2022, 5:30pm UTC](https://forum.mattermost.com/t/mattermost-interactive-button-do-not-call-url/14534/1 "2022-11-28T17:30:52Z")

</div>

Mattermost interactive button do not call URL

Hi, I am new to mattermost and I am making a feedback bot for my company to automate feedback process, I need to send an interactive button and when clicked, it must call my bot endpoint: …/message-event/mattermost/interactivity.

I am running mattermost preview docker container in my machine ([http://localhost:8065](http://localhost:8065)) and my bot is running at [http://localhost:4000](http://localhost:4000).

The issue is, when I click the button, it does not call my url, it calls /api/v4/posts/{{post\_id}}/action/{{action\_id}}, and gives 404 error, see printscreen.

I am trying to solve this issue for almost a day with no success, in documentation I thought I just need to specify the url and that’s it, the button would just call it, but this is not happening, what am I doing wrong here?

Printscreen:

 ![Untitled](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/4/4f6bcf938b3b06d61092efa2747da47a3b9a660e.png)

This is the object I am sending to api/v4/posts:

```auto
[
   {
      "text":"Olá @userName\nPlaceholder",
      "actions":[
         {
            "id":"message-event",
            "type":"button",
            "name":"Selecionar",
            "integration":{
               "url":"http://localhost:4000/message-event/mattermost/interactivity",
               "context":{
                  "action":"selectUserModal"
               }
            }
         }
      ]
   }
]

```
