RoiChat icon

RoiChat

Integração com a API do RoiChat

Tag → Adicionar Multiplas Tags

AI-generated

Summary

Add multiple tags (up to 20) to a specific subscriber identified by their unique user_ns (User NS Name or ID).

Inputs

  • User NS Name or ID (required) — Unique identifier of the subscriber (user_ns). Select from a dynamically loaded list based on subscriber pages and search, or specify an ID using an expression.
  • Tag Names or IDs (required) — Select multiple tags (up to 20) by name or ID to add to the subscriber. The list is dynamically loaded based on tag pages and search.
  • Página (Contatos) — Optional page number to paginate through subscribers, 10 per page (defaults to 1). This affects the loaded subscriber options.
  • Buscar (Contatos) — Optional search string to filter subscribers by name, phone, or email. This affects the loaded subscriber options.
  • Página (Tags) — Optional page number to paginate through tags, 10 per page (defaults to 1). This affects the loaded tag options.
  • Buscar (Tags) — Optional search string to filter tags by name. This affects the loaded tag options.

Output shape

a single JSON object representing the API response to adding multiple tags to the subscriber, typically confirming success or failure.

The response shape depends on the RoiChat API's behavior for the endpoint /subscriber/add-tags-by-name. This operation requires valid authentication and may throw errors if the subscriber or tags do not exist or other API errors occur.

Examples

Example 1: Add tags 'vip' and 'newsletter' to subscriber with user_ns 'user123'

Set User NS Name or ID to 'user123' and select tags 'vip' and 'newsletter' in Tag Names or IDs.

Discussion