> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Conversations ## Article: Conversation ID ## Article Link: https://dev.wix.com/docs/velo/apis/wix-inbox-v2/conversations/conversation-id.md ## Article Content: --- title: Conversation ID --- # Conversation ID Conversation participants are assigned IDs based on whether they've provided contact information or registered as a site member. The typical lifecycle is **anonymous visitor** > **contact** > **site member**, although it's possible to skip a step or to become a contact and site member at the same time. | Type | ID property | Details | | ----------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Anonymous visitor | `anonymousVisitorId` | When the participant first opens the site, they're an anonymous visitor. | | Contact | `contactId` | | | Member | `memberId` | | Behind the scenes, when a participant changes type, a new conversation is created and the previous conversation is merged into the new one. Before sending a message, you can ensure you're using the most current conversation ID by calling [`getOrCreateConversation()`](getorcreateconversation) with the participant's visitor, contact, or member ID. The sections below tell you how you can get the relevant ID to use the Inbox API. ## Anonymous visitor ID Anonymous visitor IDs are not available through the Inbox API. ## Contact ID When a visitor provides contact details to the site, they're converted to a contact. Once this happens, the ID used to access the visitor's conversations changes to the contact ID. You can use [Query Contacts][query-contacts] in the Contacts API to retrieve the contact. ## Member ID If the visitor is a [site member][kb-members-area], the conversation must be accessed using the member ID: You can query the [`PrivateMembersData`](https://dev.wix.com/docs/velo/api-reference/wix-members-v2/private-members-data-collection-fields.md) collection to retrieve the member. [kb-members-area]: https://support.wix.com/en/article/about-the-members-area [inbox-deeplink]: https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Finbox [send-message-endpoint]: https://dev.wix.com/api/rest/drafts/inbox/send-message [list-messages-endpoint]: https://dev.wix.com/api/rest/drafts/inbox/list-messages [message-sent-to-business-webhook]: https://dev.wix.com/api/rest/all-apis/inbox/message-sent-to-business-webhook [query-contacts]: https://dev.wix.com/docs/velo/apis/wix-crm-v2/contacts/contacts/query-contacts.md [query-members]: https://dev.wix.com/docs/velo/api-reference/wix-members-v2/private-members-data-collection-fields.md