Skip to content

Mattermost interactive button do not call URL #25747

@MedionSF

Description

@MedionSF

Issue #21765 was closed, but I have the same behavior.

I followed the documentation to post an interactive message with actions pointing to specific endpoint (url).
But when I click on the buttons, it doesn’t call my endpoint, only POST /api/v4/posts/ie5kcd67ajnsbgwuektj1go1xo/actions/unpark-TOTO

Mattermost Version: 9.0.0

Here is my Json (url hidden)

{“channel_id”:“djqsklqjdkljsqkldjqlkdjlkqsjdlkjqld”,“message”:“Test”,“props”:{“attachments”:[{“text”:“Unpark coin(s):”,“actions”:[{“id”:“unpark-TITI”,“name”:“TITI”,“integration”:{“url”:“https://----”,“context”:{“action”:“unpark”}}},{“id”:“unpark-TATA”,“name”:“TATA”,“integration”:{“url”:"https://---------,“context”:{“action”:“unpark”}}},{“id”:“unpark-TOTO”,“name”:“TOTO”,“integration”:{“url”:“https://----------”,“context”:{“action”:“unpark”}}}]}]}}

Something's wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions