Interactive Dialog 404

Hi folks,
I was hoping someone could help enlighten me where did I go wrong.
I’m trying to create an interactive dialog triggered by slash command.

I am able to successfully configure my slash command to trigger my integration.
My integration in turn, immediately triggers the interactive dialog via HTTP POST to https:///api/v4/actions/dialog/open, with the following JSON body:

{
    "trigger_id":  "*****",
    "url":  "*****",
    "dialog":  {
                   "callback_id":  "*****",
                   "title":  "*****",
                   "introduction_text":  "*****",
                   "elements":  [
                                    {
                                        "display_name":  "*****",
                                        "name":  "*****",
                                        "type":  "text",
                                        "placeholder":  "*****,
                                        "optional":  "*****",
                                        "min_length":  "*****",
                                        "max_length":  "*****"
                                    },
                                    {
                                        "display_name":  "*****",
                                        "name":  "*****",
                                        "type":  "text",
                                        "placeholder":  "**********",
                                        "optional":  "*****",
                                        "min_length":  "*****",
                                        "max_length":  "*****"
                                    },
                                    {
                                        "display_name":  "*****",
                                        "name":  "*****",
                                        "type":  "select",
                                        "options":  [
                                                        {
                                                            "text":  "*****",
                                                            "value":  "*****"
                                                        },
                                                        {
                                                            "text":  "*****",
                                                            "value":  "*****"
                                                        },
                                                        {
                                                            "text":  "*****",
                                                            "value":  "*****"
                                                        },
                                                        {
                                                            "text":  "*****",
                                                            "value":  "*****"
                                                        }
                                                    ]
                                    }
                                ]
               }
}

I am certain the JSON is correct and valid.
However, I keep getting this response:

{
    "id":  "api.context.404.app_error",
    "message":  "Sorry, we could not find the page.",
    "detailed_error":  "There doesn\u0027t appear to be an api call for the url=\u0027/api/v4/actions/dialog/open\u0027.  Typo? are you missing a team_id or user_id as part of the url?",
    "status_code":  404
}

Where did I go wrong?

To troubleshoot, I configured my integration send the HTTP POST to both Mattermost, and Pipedream.
This is what Pipedream received (some parts are redacted), it seems correct to me, but somehow not working for Mattermost -

Found the issue, the URL was wrong.
I used ‘dialog’ instead of ‘dialogs’

Hi @23drive, welcome to the Mattermost forums and sorry for the late reply!

Glad to hear you found the error, just FTR: a 404 generated by the API almost always means, that there’s a typo in the URL, so this should be the first check then.

I cannot tell if this was always the name of this API endpoint, but according to the documentation, there does not seem to be a recent change:

https://api.mattermost.com/#tag/integration_actions/operation/OpenInteractiveDialog

Did you find the wrong endpoint in some documentation that should be fixed?