Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation retrieves the profile picture associated with a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for scenarios where you need to display or process the profile picture of a WhatsApp user or bot session, such as in customer support dashboards or user profile management systems.
Use Case Examples
- Fetch the profile picture of a WhatsApp session to display in a user interface.
- Retrieve the profile picture for backup or audit purposes in an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session from which to get the profile picture. It can be selected from a list of available sessions or entered manually. |
Output
JSON
json- The JSON object containing the profile picture data or URL returned by the WARest API.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID provided is valid and the session is active; otherwise, the API call will fail.
- Check that the API credentials (API key and base URL) are correctly configured in the node credentials.
- If the profile picture is not found, the API may return an empty result or error; verify the session and user profile exist.
Links
- WARest API Documentation - Official documentation for the WARest WhatsApp REST API endpoints and usage.
