SocialMate icon

SocialMate

Control WhatsApp from n8n or an AI agent: send & read messages, look up contacts, manage groups, download media, queue paced batches of personalised messages, and fetch conversation memory (Get AI Context) — all through your self-hosted SocialMate server.

API Key → Rotate

AI-generated

Summary

Rotates an existing SocialMate API key by issuing a new secret and immediately revoking the old one. Use the key ID of the credential to rotate; this requires an admin-scope key and can interrupt integrations still using the old secret, including the current workflow.

Inputs

  • Key ID (required) — ID of the existing API key to rotate.

Output shape

A single object containing the new plaintext secret and key details, returned by the SocialMate API.

The node sends a POST request to the key's rotate endpoint. The new plaintext secret is shown once; the old key is revoked immediately and cannot be restored. Save the new secret and update integrations that use the old key.

Links

Discussion