RoiChat icon

RoiChat

Integração com a API do RoiChat

Disparo → Enviar Por Tag

AI-generated

Summary

Send a broadcast message to all contacts associated with a specified tag in RoiChat.

Inputs

  • tagName (required) — Name or ID of the tag to filter contacts. Loadable from available tags with pagination and search.
  • message (required) — Content of the broadcast message to send to contacts with the specified tag.
  • tagsPage — Page number for browsing tags (10 per page) when selecting the tag.
  • tagsSearch — Search term to filter tags by name when selecting the tag.

Output shape

A single JSON object containing the API response to the broadcast send request.

The output is the direct JSON response from the RoiChat API after sending the broadcast by tag. Errors trigger exceptions unless continueOnFail is enabled, where errors appear in the output envelope.

Examples

Example 1: Send 'Hello' message to contacts tagged 'VIP'

Set 'tagName' to 'VIP', compose the 'message' as 'Hello', and execute the operation.

Discussion