Create a template message
Creates a template message in one of the creatorβs folders. Provide a folderUuid from GET /chats/templates/folders. A template must have text or at least one media attachment.
write:chatβ Create new chats and send messages. This scope is required for any chat-related actions that modify data.
Authorizations
OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.
Headers
API version to use for the request
"2025-06-26"
Body
UUID of the folder to create the template in (see GET /chats/templates/folders)
Message text content
Message price in cents (0 or null for free messages)
0 Media UUIDs to attach to the template, in display order
Media UUID to use as the paywall preview
Optional template name
Response
Template message created
Template message UUID
Message text content
Message price in cents (null for free messages)
Array of media UUIDs attached to the message
Media UUID used as the paywall preview (null when the template has none)
UUID of the folder containing this template
Name of the folder containing this template