I am trying to create a dynamic link to a query that a user can click from a 3rd system.
The reason the link needs to be dynamic is I want to pass in a URL parameter in the where clause.
Can this be done? I saw this documentation but I’m not sure how to use it.

Can I change parameter values via the URL?

Yes. Each parameter appears in the URL query string preceded by p_. A query with id 1234 and the following query text:

SELECT * FROM table WHERE field = {{param}}

Would have link a like so: https://app.redash.io/<slug>/queries/1234?p_param=100

This is useful for linking between queries and dashboards.

I’m sorry, what part of the documentation is unclear? As you found this exact behaviour is supported.

I guess my question is, how do I formulate this URL? I am not sure what ‘slug’ is