provider views GET /views.publish
@utdk/slack /views.publish
views_publish
Publish a static view for a User.
token header required
Authentication token. Requires scope: `none`
string
user_id query required
`id` of the user you want publish a view to.
string
view query required
A [view payload](/reference/surfaces/views). This must be a JSON-encoded string.
string
hash query
A string that represents view state to protect against possible race conditions.
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

viewsPublish
GET/views.publish
Publish a static view for a User.

required

`id` of the user you want publish a view to.

required

A [view payload](/reference/surfaces/views). This must be a JSON-encoded string.

A string that represents view state to protect against possible race conditions.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.viewsPublish()