Create or edit a template message
Changed onCreates a template message in one of the creator's folders, or edits an existing one. Provide a folderUuid from GET /chats/templates/folders. Omit messageUuid to create the template (201); provide it to edit that template in place (200). A template must have text or at least one media attachment. An edit replaces the fields you send, so send the full template body rather than only the fields you are changing.
post/chats/templates
Request
- Base URLhttps://api.fanvue.com
- URLhttps://api.fanvue.com/chats/templates
- AuthOAuth 2Authorization code: https://auth.fanvue.com/oauth2/authToken URL: https://auth.fanvue.com/oauth2/token scopes: write:chat
Headers
X-Fanvue-API-Versionstring required
Example:2025-06-26
API version to use for the request
Request body
Response
Template message updated
Changes
- info
api operation id
createTemplateMessageremoved and replaced withupsertTemplateMessage - info
added the new optional request property
- info
added the success response with the status
- info