Skip to main content
POST
Save a Slack template

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Body

application/json

Save a new Slack workflow template. companyId is injected from the token.

template
object
required

A saved Slack workflow template. id is the only handle DELETE /integrations/slack/templates accepts. You may supply your own non-empty string and it is kept as sent; omit it, or send an empty one, and a value is generated for you. Either way the saved template is addressable - read the id back from the response and keep it. An id or name of any type other than a string is refused with 400 rather than stored, because a non-string id could never be matched by a delete and the template would be unreachable.

Response

Template saved.

data
object
required