views.open
method
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
Open a modal with a user by exchanging a trigger_id
received from another interaction. See the modals documentation to learn how to obtain triggers from interactive components.
Within the view
object, you can pass an external_id
if you wish to use your own identifiers for views. The external_id
should be a unique identifier of the view, determined by you. It must be unique for all views on a team, and it has a max length of 255 characters.
Response
Assuming your view object was properly formatted, valid, and the trigger_id
was viable, you will receive a success response.
If you call views.open
on an already opened view you will receive a 200
response.