WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI API to update client information. Specifically, the "Set Display Name" operation allows you to set or change the display name of a client account by providing its instance ID and the new display name. This is useful in scenarios where you want to programmatically update user or client names in your system, for example, syncing user profile changes from another platform or correcting display names in bulk.

Properties

Name Meaning
Id The unique instance ID of the client to update. Must be provided as a number.
Display Name The new display name string to assign to the client account.

Output

The node outputs JSON data representing the response from the WaAPI API after setting the display name. This typically includes confirmation of the update or details about the updated client object. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI API.
  • The base URL for requests is https://waapi.app/api/v1.
  • The node uses standard HTTP headers for JSON content (Accept: application/json and Content-Type: application/json).

Troubleshooting

  • Invalid or missing Id: Ensure the "Id" property is provided and is a valid number corresponding to an existing client instance.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • API connectivity issues: Check network access to https://waapi.app/api/v1 and ensure no firewall or proxy blocks the request.
  • Invalid Display Name: Confirm the display name string meets any length or character requirements imposed by the API.
  • If the node returns an error response from the API, inspect the returned message for clues (e.g., "Client not found", "Unauthorized").

Links and References

Discussion