Will my customers notice?
-For most customers this is a small change. At most, a customer may need to enter their X Chat PIN once. Accounts that have never set up X Chat do not need an existing PIN, because you can create encryption keys for them through the API (only do this for accounts with no X Chat keys; storing customer keys on your servers requires X's approval).
+For most customers this is a small change. At most, a customer may need to enter their X Chat PIN once. Accounts that have never set up X Chat do not need an existing PIN, because you can create encryption keys for them through the API (never replace existing X Chat keys without the customer's explicit approval; storing customer keys on your servers requires X's approval).
@@ -171,7 +171,7 @@ The PIN is used only once, when the admin connects the company's X account. Unlo
How do I check whether an account already has keys or can receive encrypted chats?
-Call `GET /2/users/{id}/public_keys` (or batch `GET /2/users/public_keys?ids=...`). If key backup details are returned, the account already uses X Chat — recover the existing keys with the PIN instead of creating new ones.
+Call `GET /2/users/{id}/public_keys` (or batch `GET /2/users/public_keys?ids=...`). If key backup details are returned, the account already uses X Chat — recover the existing keys with the PIN, or only create new keys with the customer's explicit approval (replacing keys makes messages encrypted under the old keys unreadable).
To check whether you can start an encrypted chat with someone, request `GET /2/users/{id}?user.fields=receives_your_chat` with the sending account's token: `encrypted` means you can, `unencrypted` means the pair cannot be encrypted yet, and `none` means you cannot message them.
@@ -198,7 +198,7 @@ Unlock once per account and reuse the result — do not unlock per message or pe
When a recipient changes their PIN or someone is added to a group chat, do we need to do anything?
-**No.** The conversation key updates automatically, and you do not need to redo the handshake.
+**No.** The conversation key updates automatically, and you do not need to redo conversation key setup.
@@ -285,9 +285,9 @@ Existing DM subscriptions do not carry chat events, so create new subscriptions
-
The chat events don't include the sender's name or profile. How do I get them?
+
Do chat events include the sender's name and profile?
-Chat events currently include user IDs only, not names or profiles — each event has the sender's user ID and the conversation ID. Look up profile details with `GET /2/users?ids=...`, or use `GET /2/chat/conversations` / `GET /2/chat/conversations/{id}` with `expansions=participant_ids` and `user.fields`, and cache profiles by user ID. Profile details for the sender and subscribed user are being added to chat events in an `includes.users` block, matching other X Activity API events.
+**Yes.** Chat events include profile details for the sender and subscribed user in an `includes.users` block, matching other X Activity API events — resolve each user by matching `payload.sender_id` (and `filter.user_id`) against `includes.users[].id`. Because `includes.users` is hydrated on a best-effort basis, fall back to `GET /2/users?ids=...` or `GET /2/chat/conversations` / `GET /2/chat/conversations/{id}` with `expansions=participant_ids` and `user.fields` (and cache profiles by user ID) if a user is omitted or you need additional fields.