@@ -261,20 +261,27 @@ class LinkedApi {
261261 * Each conversation must be synced once before you can poll it for messages. This is a time-consuming
262262 * process that retrieves the conversation history and prepares it for future updates.
263263 *
264- * @param params - Parameters including the person's URL
265- * @returns Promise resolving to the sync action
264+ * Syncing lasts for a limited period: `days` (1-90, 30 by default) counted from the moment the action
265+ * starts running. The action returns the resulting `syncUntil` deadline, which {@link pollConversations}
266+ * also reports. Once it passes, the conversation stops being updated — polling keeps returning the
267+ * messages collected so far. Call this action again on the same person to start a new period; the
268+ * accumulated history is preserved.
269+ *
270+ * @param params - Parameters including the person's URL and, optionally, how many days to sync for
271+ * @returns Promise resolving to the sync action with the `syncUntil` deadline
266272 *
267273 * @see {@link https://linkedapi.io/docs/working-with-conversations/ Working with Conversations Documentation }
268274 * @see {@link https://linkedapi.io/docs/action-st-sync-conversation/ st.syncConversation Action Documentation }
269275 *
270276 * @example
271277 * ```typescript
272278 * const workflow = await linkedapi.syncConversation.execute({
273- * personUrl: "https://www.linkedin.com/in/john-doe"
279+ * personUrl: "https://www.linkedin.com/in/john-doe",
280+ * days: 14
274281 * });
275282 *
276- * await linkedapi.syncConversation.result(workflow.workflowId);
277- * console.log(" Conversation synced and ready for polling" );
283+ * const { syncUntil } = await linkedapi.syncConversation.result(workflow.workflowId);
284+ * console.log(` Conversation synced, updates continue until ${syncUntil}` );
278285 * ```
279286 */
280287 public syncConversation : SyncConversation ;
@@ -382,20 +389,27 @@ class LinkedApi {
382389 * Each conversation must be synced once before you can poll it for messages. This retrieves the conversation
383390 * history from Sales Navigator and prepares it for future updates.
384391 *
385- * @param params - Parameters including the person's URL
386- * @returns Promise resolving to the sync action
392+ * Syncing lasts for a limited period: `days` (1-90, 30 by default) counted from the moment the action
393+ * starts running. The action returns the resulting `syncUntil` deadline, which {@link pollConversations}
394+ * also reports. Once it passes, the conversation stops being updated — polling keeps returning the
395+ * messages collected so far. Call this action again on the same person to start a new period; the
396+ * accumulated history is preserved.
397+ *
398+ * @param params - Parameters including the person's URL and, optionally, how many days to sync for
399+ * @returns Promise resolving to the sync action with the `syncUntil` deadline
387400 *
388401 * @see {@link https://linkedapi.io/docs/working-with-conversations/ Working with Conversations Documentation }
389402 * @see {@link https://linkedapi.io/docs/action-nv-sync-conversation/ nv.syncConversation Action Documentation }
390403 *
391404 * @example
392405 * ```typescript
393406 * const workflow = await linkedapi.nvSyncConversation.execute({
394- * personUrl: "https://www.linkedin.com/in/john-doe"
407+ * personUrl: "https://www.linkedin.com/in/john-doe",
408+ * days: 14
395409 * });
396410 *
397- * await linkedapi.nvSyncConversation.result(workflow.workflowId);
398- * console.log(" Sales Navigator conversation synced and ready for polling" );
411+ * const { syncUntil } = await linkedapi.nvSyncConversation.result(workflow.workflowId);
412+ * console.log(` Sales Navigator conversation synced, updates continue until ${syncUntil}` );
399413 * ```
400414 */
401415 public nvSyncConversation : NvSyncConversation ;
0 commit comments