Msg91
msg91MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.
Acciones disponibles (5)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create User EventsMSG91_CREATE_USER_EVENTSAcciónTool to create user events in msg91 segmento. use when you need to record user actions and behaviors.
MSG91_CREATE_USER_EVENTSAcciónTool to create user events in msg91 segmento. use when you need to record user actions and behaviors.
Parámetros de entrada
eventsobject[]ObligatorioList of user events to record
identifierstringObligatorioUnique identifier for the user (email or phone)
Parámetros de salida
dataobjectObligatorioAdditional data returned by the API
errorstringError if any occurred during the execution of the action
statusstringObligatorioAPI call status ('success' or 'error')
messagestringObligatorioResponse message with details
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Event TypesMSG91_GET_EVENT_TYPESAcciónTool to retrieve all available event types in segmento. use when you need to list recorded event types after authenticating.
MSG91_GET_EVENT_TYPESAcciónTool to retrieve all available event types in segmento. use when you need to list recorded event types after authenticating.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioList of event types retrieved from the phonebook.
errorstringError if any occurred during the execution of the action
statusstringObligatorioStatus of the API call, e.g., 'success' or 'error'.
messagestringInformational message from the API.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Failed EventsMSG91_GET_FAILED_EVENTSAcciónTool to retrieve failed segmento events. use when needing to inspect validation failures for a campaign after execution.
MSG91_GET_FAILED_EVENTSAcciónTool to retrieve failed segmento events. use when needing to inspect validation failures for a campaign after execution.
Parámetros de entrada
pageintegerPage number for paginated response. Must be >=1.
limitintegerNumber of records per page. Must be >=1.
end_datestringEnd date (YYYY-MM-DD) to filter failed events.
start_datestringStart date (YYYY-MM-DD) to filter failed events.
campaign_idstringObligatorioThe unique ID of the campaign for which to fetch failed events.
Parámetros de salida
dataobjectObligatorioPayload containing failed events and pagination info.
errorstringError if any occurred during the execution of the action
statusstringObligatorioStatus of the request (e.g., 'success', 'error').
messagestringObligatorioAdditional information about the response.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CampaignsMSG91_LIST_CAMPAIGNSAcciónTool to list all campaigns in segmento. use when you need to retrieve campaigns with pagination support.
MSG91_LIST_CAMPAIGNSAcciónTool to list all campaigns in segmento. use when you need to retrieve campaigns with pagination support.
Parámetros de entrada
pageintegerPage number for pagination.
limitintegerNumber of campaigns per page.
Parámetros de salida
dataobjectObligatorioPaginated campaign list data.
errorstringError if any occurred during the execution of the action
statusstringObligatorioAPI call status, e.g., 'success' or 'error'.
messagestringInformational message returned by the API.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send SMSMSG91_SEND_SMSAcciónTool to send sms messages. use when you need to dispatch one or multiple messages after gathering user details.
MSG91_SEND_SMSAcciónTool to send sms messages. use when you need to dispatch one or multiple messages after gathering user details.
Parámetros de entrada
smsobject[]ObligatorioList of SMS objects to send
flashinteger1 for flash SMS, 0 or omit for default
routestringObligatorioRoute for the SMS, e.g., '4' for transactional, '1' for promotional
senderstringObligatorioSender ID (max 6 chars for transactional, 11 for promotional)
countrystringObligatorioCountry code, e.g., '91' for India
unicodeinteger1 for unicode messages, 0 or omit for default
Parámetros de salida
dataobjectObligatorioMapping of recipient numbers to message IDs
typestringObligatorioType of status (success or failure)
errorstringError if any occurred during the execution of the action
messagestringObligatorioStatus message from the API
request_idstringObligatorioUnique reference ID for the request
successfulbooleanObligatorioWhether or not the action execution was successful or not