Home / Servers / X (Twitter) API / add_conversation_keys
Add Conversation Keys
An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.
Add Conversation Keys Adds (initializes or rotates) the encryption keys for a Chat conversation. Call this before sending messages in a new 1:1 conversation, and again with a newer key version to rotate the conversation… [POST /2/chat/conversations/{id}/keys]
Name on the gateway: x_api__add_conversation_keys · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | id parameter |
action_signatures | array | Signatures for this action, forwarded in the order they are sent. |
base64_encoded_key_rotation | string | Base64-encoded key rotation payload for ratchet tree key management. |
conversation_key_version required | string | Version of the conversation encryption key (typically a timestamp in… |
conversation_participant_keys required | array | Encrypted conversation keys for each participant. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "x_api__add_conversation_keys",
"arguments": {
"id": "…",
"conversation_key_version": "…",
"conversation_participant_keys": []
}
}Or connect the X (Twitter) API server directly, which lists 258 tools including this one:
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the add conversation keys tool with id set to ….