Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions//messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.
working: Parley's assistant is working, a message is waiting for it, or it is waiting on subagents it started in the background. idle: the assistant has stopped and is waiting for the next message.
Where the session was started: web (Parley's web app, or an email to Parley's assistant), word or outlook (the add-in), automation (an automation run), or api (the REST API, MCP, or the CLI).
When the session last changed, such as by a new message.
Was this page helpful?
{"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":"6aee7201b15ce5dc996dc7d6","clientVersion":"0.0.4076","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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/sessions/send-a-message","slug":"/api-reference/sessions/send-a-message","pageMetadata":{"title":"Send a message","description":"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /sessions/{id}/messages","href":"/api-reference/sessions/send-a-message","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/\", \"/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\"]\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":"Send a message","description":"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.","deprecated":null,"version":null,"openapi":"https://api.parley.so/openapi.json post /sessions/{id}/messages","href":"/api-reference/sessions/send-a-message","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendSessionMessage","summary":"Send a message","description":"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.","tags":["Sessions"],"parameters":["a3ec4aa1-9f7d-45ed-9abe-42509501ca1a"],"requestBody":"8f5b5a01-8c48-49c8-a65f-bd714ff48470","responses":{"200":"b3d5b0bc-e478-45e4-b3c4-141e7b07cb05","400":"e2c3c7e0-4417-4065-afdb-fed0e0593621","401":"86273cee-d617-4d12-84d7-d49028c999d4","403":"72df0b9a-47ac-4dcc-8a1c-271065b1be12","404":"6e4f2422-ad0d-418a-a8e0-5f699cf4cd62","409":"939829e6-d707-4fce-8e51-c130df712c6d","429":"87edf2c5-42fa-4477-bf80-7492481d14aa"},"method":"post","type":"path","servers":["3863000f-3077-458c-b70e-a54d7d00d2dd"],"security":["0b5d493d-55f0-440f-a252-26d571d350e1"],"path":"/sessions/{id}/messages","baseUrlOptions":["https://api.parley.so/v1"],"title":"Send a message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a3ec4aa1-9f7d-45ed-9abe-42509501ca1a":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"The session ID.","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":100000,"description":"The message, up to 100,000 characters.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b3d5b0bc-e478-45e4-b3c4-141e7b07cb05":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The session ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"title":{"oneOf":[{"type":"string","description":"The session's title, written by Parley after the first reply unless someone named it, or null until then.","isRequired":true,"uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The session's title, written by Parley after the first reply unless someone named it, or null until then.","isRequired":true,"uniqueKey":"title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"title","typeLabel":"string | null"},"status":{"enum":["working","idle"],"type":"string","description":"working: Parley's assistant is working, a message is waiting for it, or it is waiting on subagents it started in the background. idle: the assistant has stopped and is waiting for the next message.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"origin":{"enum":["web","word","outlook","automation","api"],"type":"string","description":"Where the session was started: web (Parley's web app, or an email to Parley's assistant), word or outlook (the add-in), automation (an automation run), or api (the REST API, MCP, or the CLI).","isRequired":true,"uniqueKey":"origin","typeLabel":"enum\u003cstring>"},"project":{"oneOf":[{"type":"object","description":"The project the session works in, with that project's files, notes, and linked records as its context, or null for a session across the organization.","required":["type","id","name"],"properties":{"type":{"const":"project","isRequired":true,"uniqueKey":"project.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"project.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The project name.","isRequired":true,"uniqueKey":"project.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"project.oneOf.0","typeLabel":"object"},{"type":"null","description":"The project the session works in, with that project's files, notes, and linked records as its context, or null for a session across the organization.","isRequired":true,"uniqueKey":"project.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"project","typeLabel":"object | null"},"automation":{"oneOf":[{"type":"object","description":"The automation whose run started the session, or null.","required":["type","id","name"],"properties":{"type":{"const":"automation","isRequired":true,"uniqueKey":"automation.oneOf.0.type","typeLabel":"any"},"id":{"type":"string","description":"Its ID.","isRequired":true,"uniqueKey":"automation.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"The automation name.","isRequired":true,"uniqueKey":"automation.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"automation.oneOf.0","typeLabel":"object"},{"type":"null","description":"The automation whose run started the session, or null.","isRequired":true,"uniqueKey":"automation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"automation","typeLabel":"object | null"},"lastRun":{"oneOf":[{"type":"object","description":"The assistant's most recent pass over the session's messages, or null before it starts.","required":["status","startedAt","endedAt","error"],"properties":{"status":{"enum":["running","completed","interrupted","failed"],"type":"string","description":"running: in progress. completed: the assistant finished. interrupted: someone stopped it. failed: it ended with an error.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.status","typeLabel":"enum\u003cstring>"},"startedAt":{"type":"string","format":"date-time","description":"When the assistant started.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.startedAt","typeLabel":"string\u003cdate-time>"},"endedAt":{"oneOf":[{"type":"string","description":"When the assistant stopped, or null while it is running.","format":"date-time","isRequired":true,"uniqueKey":"lastRun.oneOf.0.endedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the assistant stopped, or null while it is running.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastRun.oneOf.0.endedAt","typeLabel":"string\u003cdate-time> | null"},"error":{"oneOf":[{"type":"object","description":"Why a failed run failed, or null.","required":["code","message"],"properties":{"code":{"oneOf":[{"type":"string","description":"Machine-readable reason, such as CONTEXT_WINDOW_EXCEEDED, or null.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Machine-readable reason, such as CONTEXT_WINDOW_EXCEEDED, or null.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.0.code","typeLabel":"string | null"},"message":{"type":"string","description":"Human-readable description.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.0.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why a failed run failed, or null.","isRequired":true,"uniqueKey":"lastRun.oneOf.0.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastRun.oneOf.0.error","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"lastRun.oneOf.0","typeLabel":"object"},{"type":"null","description":"The assistant's most recent pass over the session's messages, or null before it starts.","isRequired":true,"uniqueKey":"lastRun.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastRun","typeLabel":"object | null"},"url":{"type":"string","format":"uri","description":"Where to open the session in Parley.","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"createdAt":{"type":"string","format":"date-time","description":"When the session was started.","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"When the session last changed, such as by a new message.","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","title","status","origin","project","automation","lastRun","url","createdAt","updatedAt"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","title":"\u003cstring>","status":"working","origin":"web","project":{"type":"project","id":"\u003cstring>","name":"\u003cstring>"},"automation":{"type":"automation","id":"\u003cstring>","name":"\u003cstring>"},"lastRun":{"status":"running","startedAt":"2023-11-07T05:31:56Z","endedAt":"2023-11-07T05:31:56Z","error":{"code":"\u003cstring>","message":"\u003cstring>"}},"url":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"e2c3c7e0-4417-4065-afdb-fed0e0593621":{"description":"The request was invalid. VALIDATION_FAILED.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"VALIDATION_FAILED","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["The request is invalid."],"isRequired":true,"uniqueKey":"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":"error.details.issues.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"What is wrong with the value.","isRequired":true,"uniqueKey":"error.details.issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.details.issues.items.[INDEX]","typeLabel":"object"},"description":"Each problem with the input.","isRequired":true,"uniqueKey":"error.details.issues","typeLabel":"object[]"}},"required":["issues"],"isRequired":true,"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","details"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"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"},"86273cee-d617-4d12-84d7-d49028c999d4":{"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"},"72df0b9a-47ac-4dcc-8a1c-271065b1be12":{"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"},"6e4f2422-ad0d-418a-a8e0-5f699cf4cd62":{"description":"Not found. NOT_FOUND.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["Not found."],"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":"NOT_FOUND","message":"Not found."}}}},"exampleType":"generated"}},"exampleType":"generated"},"939829e6-d707-4fce-8e51-c130df712c6d":{"description":"The request conflicts with the current state. SESSION_BUSY.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"SESSION_BUSY","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","examples":["The session is being summarized or changed. Try again in a few seconds."],"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":"SESSION_BUSY","message":"The session is being summarized or changed. Try again in a few seconds."}}}},"exampleType":"generated"}},"exampleType":"generated"},"87edf2c5-42fa-4477-bf80-7492481d14aa":{"description":"Too many requests, or a usage limit was reached. TOO_MANY_REQUESTS, USAGE_LIMIT_REACHED.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","const":"TOO_MANY_REQUESTS","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","examples":["Too many requests."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"}},"required":["code","message"],"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":"USAGE_LIMIT_REACHED","isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"string"},"message":{"type":"string","examples":["The organization has reached its usage limit."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"TOO_MANY_REQUESTS","message":"Too many requests."}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0b5d493d-55f0-440f-a252-26d571d350e1":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A Parley API key.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"3863000f-3077-458c-b70e-a54d7d00d2dd":{"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":"Send a message - Parley","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T23:49:30.875Z","originalFileLocation":"api-reference/sessions/send-a-message.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=\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\">\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=\"Send a message - Parley\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Parley\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parley.so/api-reference/sessions/send-a-message\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://parley.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Send+a+message\u0026amp;description=Send+a+message+to+a+session.+An+idle+assistant+starts+on+it+right+away%3B+a+working+one+reads+it+at+its+next+step%2C+so+you+can+steer+it+mid-task.+Returns+the+sessi\u0026amp;theme=bf0bc078082bec6aca3afa9c\u0026amp;signature=15d9bd94e6b30e542b26ed25eec0e8974fd50ed02b48bd3f046b355340d890bd\">\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=\"Send a message - Parley\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://parley.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Send+a+message\u0026amp;description=Send+a+message+to+a+session.+An+idle+assistant+starts+on+it+right+away%3B+a+working+one+reads+it+at+its+next+step%2C+so+you+can+steer+it+mid-task.+Returns+the+sessi\u0026amp;theme=bf0bc078082bec6aca3afa9c\u0026amp;signature=15d9bd94e6b30e542b26ed25eec0e8974fd50ed02b48bd3f046b355340d890bd\">\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/sessions/send-a-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sessions/send-a-message.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/sessions/send-a-message#webpage\",\"url\":\"https://docs.parley.so/api-reference/sessions/send-a-message\",\"name\":\"Send a message\",\"description\":\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\",\"dateModified\":\"2026-11-06T23:49:30.875Z\",\"isPartOf\":{\"@id\":\"https://docs.parley.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parley.so/api-reference/sessions/send-a-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parley.so/api-reference/sessions/send-a-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sessions\",\"item\":\"https://docs.parley.so/api-reference/sessions/list-sessions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send a message\",\"item\":\"https://docs.parley.so/api-reference/sessions/send-a-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.parley.so/api-reference/sessions/send-a-message#apireference\",\"headline\":\"Send a message\",\"name\":\"Send a message\",\"description\":\"Send a message to a session. An idle assistant starts on it right away; a working one reads it at its next step, so you can steer it mid-task. Returns the session as soon as the message is queued, with status working; get the session until its status is idle, then read the reply with GET /sessions/{id}/messages. Sessions started in Word or Outlook can only be continued there. Returns 409 SESSION_BUSY while the session is being summarized or changed, and 429 USAGE_LIMIT_REACHED when the organization has used its Parley AI allowance for the billing period.\",\"url\":\"https://docs.parley.so/api-reference/sessions/send-a-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parley.so/api-reference/sessions/send-a-message#webpage\"},\"dateModified\":\"2026-11-06T23:49:30.875Z\",\"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","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","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","description":"List the messages in a session, newest first by default: what was sent to the assistant and its replies. A message sent while the assistant is working shows up once the assistant reads it. For the latest reply, pass role=assistant and limit=1; pass sort=createdAt to read the conversation from the start.","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","description":"List your automations, newest first by default, each with its next run and most recent run. Other people's automations aren't listed.","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":"Send a message - Parley","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}