Manage the chat prompts for a Business Account
This article walks you through the steps for managing the chat prompts for a Business Account using Business Messaging API.
Introduction
Chat prompts are interactive buttons displayed above the input box, designed to encourage user engagement. When users tap a chat prompt, the system automatically generates a corresponding question, helping users start conversations easily. Each Business Account can customize up to six chat prompts.
You can use Business Messaging API to customize chat prompts to guide users toward specific topics or actions. This feature improves user interaction, simplifies conversation initiation, and helps businesses drive meaningful engagement with their audience.
Prerequisites
- You've gained access to TikTok API for Business. See Get Started - Step by step workflow for details.
- To manage the chat prompts for a Business Account, you need relevant permissions. See API Reference to find out permissions required for endpoints (including the endpoints listed in the "Steps" section) and see Update app permissions to find out how to configure permissions.
- You have followed the steps in Authorization and Authentication to obtain a TikTok account access token and the Application specific unique ID for the Business Account.
Steps
To manage the chat prompts for a Business Account, follow these steps:
- Enable the chat prompts setting using /business/message/auto_message/status/update/.
- Set
auto_message_typetoCHAT_PROMPTandoperation_statustoENABLE.
Note
For certain Registered Business Accounts with access to chat prompts, the chat prompt setting is enabled by default. To verify whether the Business Account has the chat prompt setting enabled by default, use /business/message/auto_message/get/ and setauto_message_typetoCHAT_PROMPT.
-
Create one or more chat prompts for a Business Account using /business/message/auto_message/create/. - Set
auto_message_typetoCHAT_PROMPTand specify thechat_promptobject. -
Verify the statuses of chat prompts using /business/message/auto_message/get/. - Set
auto_message_typetoCHAT_PROMPTand confirm that theaudit_statusof each chat prompt isAPPROVEDandoperation_statusisENABLE.Note: If
audit_statusof a chat prompt isREVIEWING, you need to wait for some time before rechecking the review status. The exact waiting time may vary depending on the content and other factors, but normally ranges from a few seconds to 2-3 hours. -
Handle potential issues. - If
audit_statusisREJECTED:- Update the chat prompt using /business/message/auto_message/update/.
- Recheck the status with /business/message/auto_message/get/.
- If
operation_statusisDISABLE: - Enable the chat prompt setting by following the instruction in Step 1.