RoiChat icon

RoiChat

Integração com a API do RoiChat

Contato → Obter Por ID

AI-generated

Summary

Retrieve detailed information of a specific contact (subscriber) by their unique identifier (user_ns) using the RoiChat API.

Inputs

  • User NS Name or ID (required) — Select or specify the unique identifier (user_ns) of the contact to retrieve. You can choose from a dynamically loaded list, which can be filtered by page or search term.
  • Página (Contatos) — Specify the page number to navigate through contacts when loading options for the contact selector. This affects the list of contacts available for selection but is not a parameter of the operation itself.
  • Buscar (Contatos) — Provide a search string to filter contacts by name, phone, or email when loading contact options. This helps to find the contact identifier to use as input.

Output shape

a single record containing the contact details retrieved from the RoiChat API for the specified user_ns.

Returns JSON data representing the contact's detailed information. If the specified user_ns does not exist or an error occurs, the node will throw an error unless configured to continue on failure.

Examples

Example 1: Get contact details by user_ns

Set Resource to 'Contato' (subscriber), Operation to 'Obter Por ID' (get), and specify the User NS Name or ID to retrieve the contact's data.

Discussion