/views.update
GET
/views.update
views
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/views.update' \
--header 'token;'
Response Response Example
200 - response
{
"ok": true,
"view": {
"app_id": "AAD3351BQ",
"blocks": [
{
"accessory": {
"action_id": "button_4",
"text": {
"text": "Click me",
"type": "plain_text"
},
"type": "button"
},
"block_id": "s_block",
"text": {
"emoji": true,
"text": "I am but an updated modal",
"type": "plain_text"
},
"type": "section"
}
],
"bot_id": "BADF7A34H",
"callback_id": "view_2",
"clear_on_close": true,
"close": {
"emoji": true,
"text": "Close",
"type": "plain_text"
},
"external_id": "",
"hash": "1569262015.55b5e41b",
"id": "VNM522E2U",
"notify_on_close": false,
"previous_view_id": null,
"private_metadata": "",
"root_view_id": "VNN729E3U",
"state": {
"values": {}
},
"submit": null,
"team_id": "T9M4RL1JM",
"title": {
"emoji": true,
"text": "Updated Modal",
"type": "plain_text"
},
"type": "modal"
}
}
Request
Query Params
view_id
stringÂ
optional
view_id
or external_id
is required.external_id
stringÂ
optional
view_id
or external_id
is required.view
stringÂ
optional
hash
stringÂ
optional
Header Params
token
stringÂ
required
none
Responses
Modified at 2023-08-15 05:39:46