Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project’s, account’s, contact’s, or intake’s files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder’s files up to date in the background; they can’t be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven’t connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn’t exist at the provider, isn’t a folder, or your connection can’t open it, and 429 TOO_MANY_REQUESTS when Egnyte’s daily limit for your account is used up, until it resets at midnight UTC.
The folder in Parley that holds the synced files, or null until the first run creates it. Its files are listed and read like any others, but can't be changed in Parley.
pending: created, and its first run hasn't finished. active: syncing. interrupted: a run hit a problem Parley is resolving on its own. failed: it stopped syncing; delete it and sync the folder again.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Parley","description":"Documentation and guides for Parley, the legal agent that delivers finished work and helps law firms manage cases: drafting, exhibit assembly, research, and more.","colors":{"primary":"#000000","light":"#B7FF26","dark":"#000000"},"logo":{"light":"https://mintcdn.com/parley/YL1E5_EdTTw7eyg7/images/NewLogo.png?fit=max\u0026auto=format\u0026n=YL1E5_EdTTw7eyg7\u0026q=85\u0026s=8eb221eb344e5cb883733328ef22443a","dark":"https://mintcdn.com/parley/YL1E5_EdTTw7eyg7/images/NewLogo.png?fit=max\u0026auto=format\u0026n=YL1E5_EdTTw7eyg7\u0026q=85\u0026s=8eb221eb344e5cb883733328ef22443a","href":"https://www.parley.so/"},"favicon":{"light":"https://mintcdn.com/parley/YL1E5_EdTTw7eyg7/images/NewLogo.png?fit=max\u0026auto=format\u0026n=YL1E5_EdTTw7eyg7\u0026q=85\u0026s=8eb221eb344e5cb883733328ef22443a","dark":"https://mintcdn.com/parley/YL1E5_EdTTw7eyg7/images/NewLogo.png?fit=max\u0026auto=format\u0026n=YL1E5_EdTTw7eyg7\u0026q=85\u0026s=8eb221eb344e5cb883733328ef22443a"},"appearance":{"default":"dark"},"background":{"color":{"dark":"#000000"}},"navbar":{"links":[{"href":"/help/getting-support","label":"Support"}],"primary":{"type":"button","label":"Open Parley","href":"https://app.parley.so"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/parley-legal-ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"parley","hasAudioNarration":false,"actualSubdomain":"parley","customDomains":["docs.parley.so"],"gitSource":{"type":"github","owner":"parley-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae8c8dff0ba2d6fcdc16756","collectionId":"93ebf876-81d7-46e8-81d3-9fcd4b6d85dc","liveDeploymentHistoryId":"6ae8c8dff0ba2d6fcdc16756","schemaVersion":"v3"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8d052943b1f8aae7b5c76","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":75},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Files","count":9},{"language":"default","tag":"Skills","count":8},{"language":"default","tag":"Sessions","count":8},{"language":"default","tag":"Projects","count":7},{"language":"default","tag":"Automations","count":7},{"language":"default","tag":"Self-driving","count":5},{"language":"default","tag":"Accounts","count":5},{"language":"default","tag":"Contacts","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/syncs/sync-a-folder","slug":"/api-reference/syncs/sync-a-folder","pageMetadata":{"title":"Sync a folder","description":"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project's, account's, contact's, or intake's files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder's files up to date in the background; they can't be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven't connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn't exist at the provider, isn't a folder, or your connection can't open it, and 429 TOO_MANY_REQUESTS when Egnyte's daily limit for your account is used up, until it resets at midnight UTC.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /syncs","href":"/api-reference/syncs/sync-a-folder","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project’s, account’s, contact’s, or intake’s files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder’s files up to date in the background; they can’t be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven’t connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn’t exist at the provider, isn’t a folder, or your connection can’t open it, and 429 TOO_MANY_REQUESTS when Egnyte’s daily limit for your account is used up, until it resets at midnight UTC.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Sync a folder","description":"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project's, account's, contact's, or intake's files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder's files up to date in the background; they can't be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven't connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn't exist at the provider, isn't a folder, or your connection can't open it, and 429 TOO_MANY_REQUESTS when Egnyte's daily limit for your account is used up, until it resets at midnight UTC.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /syncs","href":"/api-reference/syncs/sync-a-folder","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createSync","summary":"Sync a folder","description":"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project's, account's, contact's, or intake's files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder's files up to date in the background; they can't be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven't connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn't exist at the provider, isn't a folder, or your connection can't open it, and 429 TOO_MANY_REQUESTS when Egnyte's daily limit for your account is used up, until it resets at midnight UTC.","tags":["Syncs"],"requestBody":"b012a243-575e-433b-98aa-08e3149f6340","responses":{"201":"edb007cf-0b34-47b3-bc3c-708c2092cf38","400":"7f4caea2-2c8f-4618-8916-de39c312c68c","401":"abc55bce-5b7d-49c9-879a-ea481b53d94e","403":"4c3934be-b729-4909-b15d-c5f6a92b5cb8","409":"ba38d195-655a-4ce3-a84d-9029a969e196","429":"852d3a14-ba85-4063-bbd3-0a3b5178bf02"},"method":"post","type":"path","servers":["c622bc15-55ad-4bcc-b984-20f6c9cbe4cd"],"security":["c1a9a6c9-ebe6-4fae-bc17-6709d222dca2"],"path":"/syncs","baseUrlOptions":["https://api.parley.so/v1"],"title":"Sync a folder","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","description":"The folder to sync from a provider you've connected: the provider, and the folder's ID there.","required":["provider","folderId"],"properties":{"provider":{"const":"google_drive","isRequired":true,"uniqueKey":"source.oneOf.0.provider","typeLabel":"any"},"folderId":{"type":"string","minLength":1,"description":"The folder's Google Drive file ID.","isRequired":true,"uniqueKey":"source.oneOf.0.folderId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"source.oneOf.0","typeLabel":"object"},{"type":"object","description":"The folder to sync from a provider you've connected: the provider, and the folder's ID there.","required":["provider","driveId","folderId"],"properties":{"provider":{"const":"microsoft","isRequired":true,"uniqueKey":"source.oneOf.1.provider","typeLabel":"any"},"driveId":{"type":"string","minLength":1,"description":"The ID of the OneDrive or SharePoint document library (drive) the folder is in.","isRequired":true,"uniqueKey":"source.oneOf.1.driveId","typeLabel":"string"},"folderId":{"type":"string","minLength":1,"description":"The folder's item ID in that drive.","isRequired":true,"uniqueKey":"source.oneOf.1.folderId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"source.oneOf.1","typeLabel":"object"},{"type":"object","description":"The folder to sync from a provider you've connected: the provider, and the folder's ID there.","required":["provider","folderId"],"properties":{"provider":{"const":"dropbox","isRequired":true,"uniqueKey":"source.oneOf.2.provider","typeLabel":"any"},"folderId":{"type":"string","pattern":"^id:.+","description":"The folder's Dropbox ID, which starts with id:. A path isn't accepted, because the sync follows the folder when it's renamed or moved.","isRequired":true,"uniqueKey":"source.oneOf.2.folderId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"source.oneOf.2","typeLabel":"object"},{"type":"object","description":"The folder to sync from a provider you've connected: the provider, and the folder's ID there.","required":["provider","folderId"],"properties":{"provider":{"const":"box","isRequired":true,"uniqueKey":"source.oneOf.3.provider","typeLabel":"any"},"folderId":{"type":"string","minLength":1,"description":"The folder's Box ID. Box's root folder, 0, can't be synced.","isRequired":true,"uniqueKey":"source.oneOf.3.folderId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"source.oneOf.3","typeLabel":"object"},{"type":"object","description":"The folder to sync from a provider you've connected: the provider, and the folder's ID there.","required":["provider","folderId"],"properties":{"provider":{"const":"egnyte","isRequired":true,"uniqueKey":"source.oneOf.4.provider","typeLabel":"any"},"folderId":{"type":"string","pattern":"^[^/]","description":"The folder's Egnyte folder ID. A path, which starts with /, isn't accepted.","isRequired":true,"uniqueKey":"source.oneOf.4.folderId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"source.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"source","typeLabel":"object"},"projectId":{"type":"string","minLength":1,"description":"Sync into this project's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.","uniqueKey":"projectId","typeLabel":"string"},"accountId":{"type":"string","minLength":1,"description":"Sync into this account's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.","uniqueKey":"accountId","typeLabel":"string"},"contactId":{"type":"string","minLength":1,"description":"Sync into this contact's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.","uniqueKey":"contactId","typeLabel":"string"},"intakeId":{"type":"string","minLength":1,"description":"Sync into this intake's files. Pass exactly one of projectId, accountId, contactId, intakeId, or library.","uniqueKey":"intakeId","typeLabel":"string"},"library":{"const":true,"description":"true for the organization's Library. Pass exactly one of projectId, accountId, contactId, intakeId, or library.","uniqueKey":"library","typeLabel":"any"},"folderId":{"type":"string","minLength":1,"description":"Put it inside this folder. Omit for the top level.","uniqueKey":"folderId","typeLabel":"string"}},"required":["source"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"source":{"provider":"google_drive","folderId":"\u003cstring>"},"projectId":"\u003cstring>","accountId":"\u003cstring>","contactId":"\u003cstring>","intakeId":"\u003cstring>","library":true,"folderId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"edb007cf-0b34-47b3-bc3c-708c2092cf38":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The sync ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"location":{"oneOf":[{"type":"object","description":"Whose files these are: a project's, an account's, a contact's, or an intake's, or the organization's Library.","required":["type","id","name"],"properties":{"type":{"enum":["project","account","contact"],"type":"string","description":"The kind of record: project, account, or contact.","isRequired":true,"uniqueKey":"location.oneOf.0.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"location.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The record's name. A contact's is its first and last name, or an email address when it has no name.","isRequired":true,"uniqueKey":"location.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"location.oneOf.0","typeLabel":"object"},{"type":"object","description":"Whose files these are: a project's, an account's, a contact's, or an intake's, or the organization's Library.","required":["type","id","name"],"properties":{"type":{"const":"intake","isRequired":true,"uniqueKey":"location.oneOf.1.type","typeLabel":"any"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"location.oneOf.1.id","typeLabel":"string"},"name":{"type":"string","description":"The intake title.","isRequired":true,"uniqueKey":"location.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"location.oneOf.1","typeLabel":"object"},{"type":"object","description":"Whose files these are: a project's, an account's, a contact's, or an intake's, or the organization's Library.","required":["type"],"properties":{"type":{"const":"library","isRequired":true,"uniqueKey":"location.oneOf.2.type","typeLabel":"any"}},"isRequired":true,"uniqueKey":"location.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"location","typeLabel":"object"},"folder":{"oneOf":[{"type":"object","description":"The folder the synced folder is placed in, or null at the top level.","required":["type","id","name"],"properties":{"type":{"const":"folder","isRequired":true,"uniqueKey":"folder.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"folder.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The folder name.","isRequired":true,"uniqueKey":"folder.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"folder.oneOf.0","typeLabel":"object"},{"type":"null","description":"The folder the synced folder is placed in, or null at the top level.","isRequired":true,"uniqueKey":"folder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"folder","typeLabel":"object | null"},"rootFolder":{"oneOf":[{"type":"object","description":"The folder in Parley that holds the synced files, or null until the first run creates it. Its files are listed and read like any others, but can't be changed in Parley.","required":["type","id","name"],"properties":{"type":{"const":"folder","isRequired":true,"uniqueKey":"rootFolder.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"rootFolder.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The folder name.","isRequired":true,"uniqueKey":"rootFolder.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"rootFolder.oneOf.0","typeLabel":"object"},{"type":"null","description":"The folder in Parley that holds the synced files, or null until the first run creates it. Its files are listed and read like any others, but can't be changed in Parley.","isRequired":true,"uniqueKey":"rootFolder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rootFolder","typeLabel":"object | null"},"source":{"type":"object","properties":{"provider":{"enum":["google_drive","microsoft","dropbox","box","clio","egnyte"],"type":"string","description":"Where the synced folder lives: Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, Clio, or Egnyte.","isRequired":true,"uniqueKey":"source.provider","typeLabel":"enum\u003cstring>"},"folderId":{"type":"string","description":"The synced folder's ID at the provider.","isRequired":true,"uniqueKey":"source.folderId","typeLabel":"string"},"driveId":{"oneOf":[{"type":"string","description":"For Microsoft, the ID of the drive the folder is in, which identifies the folder together with folderId. null for every other provider.","isRequired":true,"uniqueKey":"source.driveId.oneOf.0","typeLabel":"string"},{"type":"null","description":"For Microsoft, the ID of the drive the folder is in, which identifies the folder together with folderId. null for every other provider.","isRequired":true,"uniqueKey":"source.driveId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.driveId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The folder's name at the provider, or null when Parley hasn't read it.","isRequired":true,"uniqueKey":"source.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The folder's name at the provider, or null when Parley hasn't read it.","isRequired":true,"uniqueKey":"source.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.name","typeLabel":"string | null"}},"required":["provider","folderId","driveId","name"],"isRequired":true,"uniqueKey":"source","typeLabel":"object"},"status":{"enum":["pending","active","interrupted","failed"],"type":"string","description":"pending: created, and its first run hasn't finished. active: syncing. interrupted: a run hit a problem Parley is resolving on its own. failed: it stopped syncing; delete it and sync the folder again.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"reconnectRequired":{"type":"boolean","description":"true when the connection the sync reads through stopped working. The sync doesn't run until the person who owns that connection reconnects it.","isRequired":true,"uniqueKey":"reconnectRequired","typeLabel":"boolean"},"lastSyncedAt":{"oneOf":[{"type":"string","description":"When a run last finished, or null before the first.","format":"date-time","isRequired":true,"uniqueKey":"lastSyncedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When a run last finished, or null before the first.","isRequired":true,"uniqueKey":"lastSyncedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastSyncedAt","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","description":"When the sync was created.","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"When the sync last changed, including its status.","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","location","folder","rootFolder","source","status","reconnectRequired","lastSyncedAt","createdAt","updatedAt"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","location":{"type":"project","id":"\u003cstring>","name":"\u003cstring>"},"folder":{"type":"folder","id":"\u003cstring>","name":"\u003cstring>"},"rootFolder":{"type":"folder","id":"\u003cstring>","name":"\u003cstring>"},"source":{"provider":"google_drive","folderId":"\u003cstring>","driveId":"\u003cstring>","name":"\u003cstring>"},"status":"pending","reconnectRequired":true,"lastSyncedAt":"2023-11-07T05:31:56Z","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"7f4caea2-2c8f-4618-8916-de39c312c68c":{"description":"The request was invalid. VALIDATION_FAILED, INVALID_REFERENCE.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","examples":["The request is invalid."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"details":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Where the problem is, as a dotted path into the input such as accountIds.add.0 or reminder.remindAt. Empty for the input as a whole.","isRequired":true,"uniqueKey":"oneOf.0.error.details.issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"What is wrong with the value.","isRequired":true,"uniqueKey":"oneOf.0.error.details.issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"oneOf.0.error.details.issues.items.[INDEX]","typeLabel":"object"},"description":"Each problem with the input.","isRequired":true,"uniqueKey":"oneOf.0.error.details.issues","typeLabel":"object[]"}},"required":["issues"],"isRequired":true,"uniqueKey":"oneOf.0.error.details","typeLabel":"object"}},"required":["code","message","details"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"INVALID_REFERENCE","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","examples":["The request refers to a record or user that doesn't exist or that you can't use."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"details":{"type":"object","properties":{"field":{"type":"string","description":"The input that holds the reference, such as accountIds.","isRequired":true,"uniqueKey":"oneOf.1.error.details.field","typeLabel":"string"},"ids":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.error.details.ids.items.[INDEX]","typeLabel":"string"},"description":"The IDs that could not be used.","isRequired":true,"uniqueKey":"oneOf.1.error.details.ids","typeLabel":"string[]"}},"required":["field","ids"],"isRequired":true,"uniqueKey":"oneOf.1.error.details","typeLabel":"object"}},"required":["code","message","details"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"VALIDATION_FAILED","message":"The request is invalid.","details":{"issues":[{"path":"\u003cstring>","message":"\u003cstring>"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"abc55bce-5b7d-49c9-879a-ea481b53d94e":{"description":"Missing or invalid credentials. UNAUTHORIZED.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"UNAUTHORIZED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["Missing or invalid credentials."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNAUTHORIZED","message":"Missing or invalid credentials."}}}},"exampleType":"generated"}},"exampleType":"generated"},"4c3934be-b729-4909-b15d-c5f6a92b5cb8":{"description":"You don't have permission. FORBIDDEN.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"FORBIDDEN","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["You don't have permission to do this."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"FORBIDDEN","message":"You don't have permission to do this."}}}},"exampleType":"generated"}},"exampleType":"generated"},"ba38d195-655a-4ce3-a84d-9029a969e196":{"description":"The request conflicts with the current state. CONNECTION_REQUIRED, FOLDER_ALREADY_SYNCED.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"CONNECTION_REQUIRED","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","examples":["Connect the provider before syncing its folders."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"details":{"type":"object","properties":{"reason":{"enum":["not_connected","reconnect_required"],"type":"string","description":"not_connected: you haven't connected the provider. reconnect_required: your connection to it stopped working and must be reconnected.","isRequired":true,"uniqueKey":"oneOf.0.error.details.reason","typeLabel":"enum\u003cstring>"},"connector":{"type":"string","description":"The connector to connect, such as Google Drive.","isRequired":true,"uniqueKey":"oneOf.0.error.details.connector","typeLabel":"string"}},"required":["reason","connector"],"isRequired":true,"uniqueKey":"oneOf.0.error.details","typeLabel":"object"}},"required":["code","message","details"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"FOLDER_ALREADY_SYNCED","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","examples":["You already sync this folder into another folder of the same location."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"},"details":{"type":"object","properties":{"syncId":{"type":"string","description":"Your sync that already syncs the folder.","isRequired":true,"uniqueKey":"oneOf.1.error.details.syncId","typeLabel":"string"}},"required":["syncId"],"isRequired":true,"uniqueKey":"oneOf.1.error.details","typeLabel":"object"}},"required":["code","message","details"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"CONNECTION_REQUIRED","message":"Connect the provider before syncing its folders.","details":{"reason":"not_connected","connector":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"852d3a14-ba85-4063-bbd3-0a3b5178bf02":{"description":"Too many requests, or a usage limit was reached. TOO_MANY_REQUESTS.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["Too many requests."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"TOO_MANY_REQUESTS","message":"Too many requests."}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c1a9a6c9-ebe6-4fae-bc17-6709d222dca2":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A Parley API key.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c622bc15-55ad-4bcc-b984-20f6c9cbe4cd":{"url":"https://api.parley.so/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A Parley API key.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Parley API key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://api.parley.so/openapi.json"},"subdomain":"parley","siteName":"Parley","title":"Sync a folder - Parley","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T17:31:16.632Z","originalFileLocation":"api-reference/syncs/sync-a-folder.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project\u0026#x27;s, account\u0026#x27;s, contact\u0026#x27;s, or intake\u0026#x27;s files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder\u0026#x27;s files up to date in the background; they can\u0026#x27;t be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven\u0026#x27;t connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn\u0026#x27;t exist at the provider, isn\u0026#x27;t a folder, or your connection can\u0026#x27;t open it, and 429 TOO_MANY_REQUESTS when Egnyte\u0026#x27;s daily limit for your account is used up, until it resets at midnight UTC.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Parley\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Sync a folder - Parley\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project\u0026#x27;s, account\u0026#x27;s, contact\u0026#x27;s, or intake\u0026#x27;s files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder\u0026#x27;s files up to date in the background; they can\u0026#x27;t be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven\u0026#x27;t connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn\u0026#x27;t exist at the provider, isn\u0026#x27;t a folder, or your connection can\u0026#x27;t open it, and 429 TOO_MANY_REQUESTS when Egnyte\u0026#x27;s daily limit for your account is used up, until it resets at midnight UTC.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Parley\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parley.so/api-reference/syncs/sync-a-folder\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://parley.mintlify.app/_mintlify/api/og/v2?division=Syncs\u0026amp;title=Sync+a+folder\u0026amp;description=Sync+a+folder+from+Google+Drive%2C+Microsoft+%28OneDrive+or+SharePoint%29%2C+Dropbox%2C+Box%2C+or+Egnyte+into+a+project%27s%2C+account%27s%2C+contact%27s%2C+or+intake%27s+files%2C+or+the+L\u0026amp;theme=bf0bc078082bec6aca3afa9c\u0026amp;signature=2219683a71bddcb6fc0e8308b5f81f46ddb3f618d59f8befdc4f4b8b168ec59c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Sync a folder - Parley\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project\u0026#x27;s, account\u0026#x27;s, contact\u0026#x27;s, or intake\u0026#x27;s files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder\u0026#x27;s files up to date in the background; they can\u0026#x27;t be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven\u0026#x27;t connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn\u0026#x27;t exist at the provider, isn\u0026#x27;t a folder, or your connection can\u0026#x27;t open it, and 429 TOO_MANY_REQUESTS when Egnyte\u0026#x27;s daily limit for your account is used up, until it resets at midnight UTC.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://parley.mintlify.app/_mintlify/api/og/v2?division=Syncs\u0026amp;title=Sync+a+folder\u0026amp;description=Sync+a+folder+from+Google+Drive%2C+Microsoft+%28OneDrive+or+SharePoint%29%2C+Dropbox%2C+Box%2C+or+Egnyte+into+a+project%27s%2C+account%27s%2C+contact%27s%2C+or+intake%27s+files%2C+or+the+L\u0026amp;theme=bf0bc078082bec6aca3afa9c\u0026amp;signature=2219683a71bddcb6fc0e8308b5f81f46ddb3f618d59f8befdc4f4b8b168ec59c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/parley/X5NF_zI6lhIz-JiF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Parley\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parley.so/api-reference/syncs/sync-a-folder\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/syncs/sync-a-folder.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.parley.so/#organization\",\"name\":\"Parley\",\"url\":\"https://docs.parley.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/parley/YL1E5_EdTTw7eyg7/images/NewLogo.png?fit=max\u0026auto=format\u0026n=YL1E5_EdTTw7eyg7\u0026q=85\u0026s=8eb221eb344e5cb883733328ef22443a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.parley.so#website\",\"name\":\"Parley\",\"url\":\"https://docs.parley.so\",\"publisher\":{\"@id\":\"https://docs.parley.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder#webpage\",\"url\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder\",\"name\":\"Sync a folder\",\"description\":\"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project's, account's, contact's, or intake's files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder's files up to date in the background; they can't be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven't connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn't exist at the provider, isn't a folder, or your connection can't open it, and 429 TOO_MANY_REQUESTS when Egnyte's daily limit for your account is used up, until it resets at midnight UTC.\",\"dateModified\":\"2026-11-02T17:31:16.632Z\",\"isPartOf\":{\"@id\":\"https://docs.parley.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Syncs\",\"item\":\"https://docs.parley.so/api-reference/syncs/list-syncs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sync a folder\",\"item\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder#apireference\",\"headline\":\"Sync a folder\",\"name\":\"Sync a folder\",\"description\":\"Sync a folder from Google Drive, Microsoft (OneDrive or SharePoint), Dropbox, Box, or Egnyte into a project's, account's, contact's, or intake's files, or the Library: pass exactly one of projectId, accountId, contactId, intakeId, or library, and folderId to place it inside a folder there. The sync uses your own connection to the provider, and Parley keeps the folder's files up to date in the background; they can't be changed in Parley. You sync a folder into a location once, while other people can sync the same folder there, each seeing what their own account can open: syncing it again into the same folder returns your existing sync, and into another folder of the location returns 409 FOLDER_ALREADY_SYNCED. Returns 409 CONNECTION_REQUIRED when you haven't connected the provider or must reconnect it, 400 INVALID_REFERENCE when the folder doesn't exist at the provider, isn't a folder, or your connection can't open it, and 429 TOO_MANY_REQUESTS when Egnyte's daily limit for your account is used up, until it resets at midnight UTC.\",\"url\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parley.so/api-reference/syncs/sync-a-folder#webpage\"},\"dateModified\":\"2026-11-02T17:31:16.632Z\",\"publisher\":{\"@id\":\"https://docs.parley.so/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.parley.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Parley\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Parley","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/get-started/quickstart"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Core concepts","icon":"book","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /projects","href":"/api-reference/projects/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /projects","href":"/api-reference/projects/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /projects/{id}","href":"/api-reference/projects/get-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /projects/{id}","href":"/api-reference/projects/delete-a-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /projects/{id}","href":"/api-reference/projects/update-a-project"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create an account","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /accounts","href":"/api-reference/accounts/create-an-account"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /accounts/{id}","href":"/api-reference/accounts/get-an-account"},{"title":"Delete an account","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /accounts/{id}","href":"/api-reference/accounts/delete-an-account"},{"title":"Update an account","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /accounts/{id}","href":"/api-reference/accounts/update-an-account"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /contacts/{id}","href":"/api-reference/contacts/get-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /contacts/{id}","href":"/api-reference/contacts/delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /contacts/{id}","href":"/api-reference/contacts/update-a-contact"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /tasks/{id}","href":"/api-reference/tasks/get-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /tasks/{id}","href":"/api-reference/tasks/delete-a-task"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /tasks/{id}","href":"/api-reference/tasks/update-a-task"}]},{"group":"Fields","pages":[{"title":"List fields","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /fields","href":"/api-reference/fields/list-fields"},{"title":"Create a field","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /fields","href":"/api-reference/fields/create-a-field"},{"title":"Get a field","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /fields/{id}","href":"/api-reference/fields/get-a-field"},{"title":"Delete a field","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /fields/{id}","href":"/api-reference/fields/delete-a-field"},{"title":"Update a field","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /fields/{id}","href":"/api-reference/fields/update-a-field"}]},{"group":"Notes","pages":[{"title":"List notes","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /notes","href":"/api-reference/notes/list-notes"},{"title":"Create a note","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /notes","href":"/api-reference/notes/create-a-note"},{"title":"Get a note","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /notes/{id}","href":"/api-reference/notes/get-a-note"},{"title":"Delete a note","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /notes/{id}","href":"/api-reference/notes/delete-a-note"},{"title":"Update a note","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /notes/{id}","href":"/api-reference/notes/update-a-note"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /files","href":"/api-reference/files/list-files"},{"title":"Add a file","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /files","href":"/api-reference/files/add-a-file"},{"title":"Get a file","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /files/{id}","href":"/api-reference/files/get-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /files/{id}","href":"/api-reference/files/delete-a-file"},{"title":"Update a file","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /files/{id}","href":"/api-reference/files/update-a-file"},{"title":"Read a file","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /files/{id}/text","href":"/api-reference/files/read-a-file"},{"title":"Get a file download URL","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /files/{id}/download","href":"/api-reference/files/get-a-file-download-url"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /folders","href":"/api-reference/files/create-a-folder"},{"title":"Create an upload","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /uploads","href":"/api-reference/files/create-an-upload"}]},{"group":"Syncs","pages":[{"title":"List syncs","description":"List the folders synced into a project's, account's, contact's, or intake's files, or the Library, newest first by default: pass exactly one of projectId, accountId, contactId, intakeId, or library=true. Returns 400 INVALID_REFERENCE when the location doesn't exist or you can't see it.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /syncs","href":"/api-reference/syncs/list-syncs"},{"title":"Sync a folder","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /syncs","href":"/api-reference/syncs/sync-a-folder"},{"title":"Run a sync now","description":"Bring a synced folder up to date now instead of waiting for its next run. Returns the sync as soon as the run is queued. Returns 409 SYNC_NOT_RUNNABLE when the sync can't run, and details.reason says why.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /syncs/{id}/run","href":"/api-reference/syncs/run-a-sync-now"},{"title":"Delete a sync","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /syncs/{id}","href":"/api-reference/syncs/delete-a-sync"}]},{"group":"Activity","pages":[{"title":"List account activity","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /accounts/{accountId}/activity","href":"/api-reference/activity/list-account-activity"},{"title":"List activity","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /activity","href":"/api-reference/activity/list-activity"},{"title":"List contact activity","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /contacts/{contactId}/activity","href":"/api-reference/activity/list-contact-activity"},{"title":"List project activity","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /projects/{projectId}/activity","href":"/api-reference/activity/list-project-activity"}]},{"group":"Sessions","pages":[{"title":"List sessions","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Start a session","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /sessions","href":"/api-reference/sessions/start-a-session"},{"title":"Get a session","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /sessions/{id}","href":"/api-reference/sessions/get-a-session"},{"title":"Delete a session","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /sessions/{id}","href":"/api-reference/sessions/delete-a-session"},{"title":"Rename a session","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /sessions/{id}","href":"/api-reference/sessions/rename-a-session"},{"title":"Stop a session","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /sessions/{id}/stop","href":"/api-reference/sessions/stop-a-session"},{"title":"List a session's messages","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /sessions/{id}/messages","href":"/api-reference/sessions/list-a-sessions-messages"},{"title":"Send a message","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /sessions/{id}/messages","href":"/api-reference/sessions/send-a-message"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an automation","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /automations/{id}","href":"/api-reference/automations/get-an-automation"},{"title":"Delete an automation","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /automations/{id}","href":"/api-reference/automations/delete-an-automation"},{"title":"Update an automation","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /automations/{id}","href":"/api-reference/automations/update-an-automation"},{"title":"List an automation's runs","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /automations/{id}/runs","href":"/api-reference/automations/list-an-automations-runs"},{"title":"Run an automation now","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /automations/{id}/runs","href":"/api-reference/automations/run-an-automation-now"}]},{"group":"Skills","pages":[{"title":"List skills","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /skills","href":"/api-reference/skills/list-skills"},{"title":"Create a skill","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /skills","href":"/api-reference/skills/create-a-skill"},{"title":"Get a skill","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /skills/{slug}","href":"/api-reference/skills/get-a-skill"},{"title":"Delete a skill","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json delete /skills/{slug}","href":"/api-reference/skills/delete-a-skill"},{"title":"Update a skill","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json patch /skills/{slug}","href":"/api-reference/skills/update-a-skill"},{"title":"Get a skill download URL","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /skills/{slug}/download","href":"/api-reference/skills/get-a-skill-download-url"}]},{"group":"Users","pages":[{"title":"Get the current user","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /me","href":"/api-reference/users/get-the-current-user"},{"title":"List users","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /users","href":"/api-reference/users/list-users"},{"title":"Get a user","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json get /users/{id}","href":"/api-reference/users/get-a-user"}]}]}]},"basePath":"","title":"Sync a folder - Parley","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}