Actions61
- Instância Actions
- Mensagem Actions
- Grupo Actions
- Perfil Actions
- Privacidade Actions
- Utilidades Actions
- SMS Actions
- Central de Ligações Actions
SMS → Atualizar Configuração
AI-generatedSummary
Update the SMS configuration settings for the PAPI WhatsApp integration.
Inputs
- smsConfig — Collection of SMS configuration parameters to update, including 'enabled' (boolean to enable or disable SMS), 'apiUrl' (string for the API URL), 'defaultPort' (number for the default port), and 'timeout' (number for the timeout duration).
Output shape
A single JSON object reflecting the API response to the configuration update request.
The operation communicates with the PAPI WhatsApp API and returns the raw response from the '/api/sms/config' endpoint after applying the update. Errors such as authorization failures or missing instances are returned as node errors unless 'Continue On Fail' is enabled, in which case error details are included in the output.
Examples
Example 1: Update SMS configuration to enable SMS, set a new API URL, default port, and timeout.
Provide the 'smsConfig' collection with fields 'enabled', 'apiUrl', 'defaultPort', and 'timeout' set as desired.
