Provide instructions, relevant information, and examples of the ideal conversation flow.For inbound numbers, consider including additional context about the purpose of the call, and what types of callers to expect.
Set the pathway that your agent will follow. This will override the prompt field, so there is no need to pass the ‘prompt’ field if you are setting a pathway.Warning: Setting a pathway will set the following fields to null / their default value - prompt, first_sentence, model, dynamic_data, tools, transfer_listSet to null or an empty string to clear the pathway.
Select an audio track that you’d like to play in the background during the call. The audio will play continuously when the agent isn’t speaking, and is incorporated into it’s speech as well.Use this to provide a more natural, seamless, engaging experience for the conversation. We’ve found this creates a significantly smoother call experience by minimizing the stark differences between total silence and the agent’s speech.Options:
null - Default, will play audible but quiet phone static.
office - Office-style soundscape. Includes faint typing, chatter, clicks, and other office sounds.
cafe - Cafe-like soundscape. Includes faint talking, clinking, and other cafe sounds.
By default, the agent starts talking as soon as the call connects.When wait_for_greeting is set to true, the agent will wait for the call recipient to speak first before responding.
Adjusts how patient the AI is when waiting for the user to finish speaking.Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding.Recommended range: 50-200
50: Extremely quick, back and forth conversation
100: Balanced to respond at a natural pace
200: Very patient, allows for long pauses and interruptions. Ideal for collecting detailed information.
Try to start with 100 and make small adjustments in increments of ~10 as needed for your use case.
Set the timezone for the call. Handled automatically for calls in the US.This helps significantly with use cases that rely on appointment setting, scheduling, or behaving differently based on the time of day.Timezone options are here in the TZ identifier column.
Give your agent the ability to transfer calls to a set of phone numbers.Overrides transfer_phone_number if a transfer_list.default is specified.Will default to transfer_list.default, or the chosen phone number.Example usage to route calls to different departments:
Integrate data from external APIs into your agent’s knowledge.Set to null or an empty string to clear dynamic data settings.Detailed usage in the Send Call endpoint.
Adjusts how patient the AI is when waiting for the user to finish speaking.Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding.Recommended range: 50-200
50: Extremely quick, back and forth conversation
100: Balanced to respond at a natural pace
200: Very patient, allows for long pauses and interruptions. Ideal for collecting detailed information.
Try to start with 100 and make small adjustments in increments of ~10 as needed for your use case.
These words will be boosted in the transcription engine - recommended for proper nouns or words that are frequently mis-transcribed.For example, if the word “Reece” is frequently transcribed as a homonym like “Reese” you could do this:
{ "keywords": ["Reece"]}
For stronger keyword boosts, you can place a colon then a boost factor after the word. The default boost factor is 2.
When the call starts, a timer is set for the max_duration minutes. At the end of that timer, if the call is still active it will be automatically ended.Example Values: 20, 2
When the call ends, we’ll send the call details in a POST request to the URL you specify here.The request body will match the response from the GET /v1/calls/:call_id endpoint.
Define a JSON schema for how you want to get information about the call - information like email addresses, names, appointment times or any other type of custom data.In the webhook response or whenever you retrieve call data later, you’ll get the data you defined back under analysis.For example, if you wanted to retrieve this information from the call:
At the end of each call, a summary is generated based on the transcript - you can use this field to add extra instructions and context for how it should be summarized.For example: "Summarize the call in French instead of English."
To record your phone call, set record to true. When your call completes, you can access through the recording_url field in the call details or your webhook.
If the update was unsuccessful, this will contain the settings that failed to update. Useful to determine how your request is being interpreted on our end.
{ "status": "success", "message": "Successfully updated number +18584139939.", "updates": { "prompt": "(Your prompt)", "voice": "maya", "webhook": null, "first_sentence": "Roberta speaking, how can I help you?", "record": false, "max_duration": 30, "model": "enhanced", //... }}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Luly AI","colors":{"primary":"#0099ff","light":"#0099ff","dark":"#0099ff"},"favicon":"/favicon.svg","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/developersden/logo/light.svg","dark":"https://mintlify.s3.us-west-1.amazonaws.com/developersden/logo/dark.svg"},"api":{"mdx":{"server":"https://app.luly.ai/api/"}},"navbar":{"links":[{"label":"Support","href":"mailto:lulyai@gmail.com"}],"primary":{"type":"button","label":"Get Started","href":"https://portal.luly.ai/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"developersden","hasAudioNarration":false,"actualSubdomain":"developersden","customDomains":["docs.luly.ai"],"gitSource":{"type":"github","owner":"fa1ez","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e65b03d4026a3ef76b74","collectionId":"8eed265a-943f-47e3-9d26-f33c6dc9a457","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e65b03d4026a3ef76b74:success","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"api-reference","count":78},{"language":"default","tag":"Conversational Pathways","count":17},{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"Calls","count":9},{"language":"default","tag":"Basic Tutorials","count":9},{"language":"default","tag":"SMS","count":8},{"language":"default","tag":"Batches","count":6},{"language":"default","tag":"Pathway Folders","count":6},{"language":"default","tag":"Custom Tools","count":5},{"language":"default","tag":"Vector Stores","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/inbound/update","slug":"/api-reference/inbound/update","pageMetadata":{"title":"Update Inbound Details","description":"Update your inbound agent’s settings, prompt and other details.","api":"POST /v1/inbound/{phone_number}","href":"/api-reference/inbound/update"},"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: \"Update your inbound agent’s settings, prompt and other details.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your API key for authentication.`})}),`\n`,_jsx(ParamField,{header:`encrypted_key`,type:`string`,id:`param-encrypted-key`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`encrypted_key`}),` for the Twilio account that owns the phone number you want to modify. Not required if you are using a Luly phone number.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsxs(ParamField,{header:`phone_number`,type:`string`,id:`param-phone-number`,children:[_jsx(_components.p,{children:`The inbound phone number you wish to update.`}),_jsx(_components.p,{children:`Formatting Notes:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`'+'`}),` or `,_jsx(_components.code,{children:`'%2B'`}),` prefix is optional.`]}),`\n`,_jsx(_components.li,{children:`Will assume a US country code if no country code is provided.`}),`\n`]}),_jsxs(_components.p,{children:[`Valid Examples for `,_jsx(_components.code,{children:`+13334445555`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`%2B13334445555`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`13334445555`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`3334445555`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Provide instructions, relevant information, and examples of the ideal conversation flow.`}),_jsx(_components.p,{children:`For inbound numbers, consider including additional context about the purpose of the call, and what types of callers to expect.`}),_jsxs(Accordion,{title:`Best Practices`,id:`best-practices`,children:[_jsx(Heading,{level:`4`,id:`out-of-the-box-behaviors-summarized-%3A`,children:`Out-of-the-Box Behaviors (Summarized):`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Speech pattern: Direct, concise, casual`}),`\n`,_jsx(_components.li,{children:`Spells out symbols, acronyms, abbreviations, percentages, etc. ($4,000,000 -> “four million dollars”)`}),`\n`,_jsx(_components.li,{children:`Asks clarifying questions`}),`\n`]}),_jsx(Heading,{level:`4`,id:`prompting-tips%3A`,children:`Prompting Tips:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Want to easily test out exactly how your agent will behave?`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://portal.luly.ai/login`,children:`Try out Agent Testing!`})}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Aim for less than >2,000 characters where possible.`}),`\n`,_jsx(_components.li,{children:`Simple, direct prompts are the most predictable and reliable.`}),`\n`,_jsxs(_components.li,{children:[`Frame instructions positively:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Do this\"`}),` rather than `,_jsx(_components.code,{children:`\"Don't do this\"`}),`.`]}),`\n`,_jsx(_components.li,{children:`Ex. “Keep the conversation casual” rather than “Don’t be too formal”.`}),`\n`,_jsx(_components.li,{children:`This gives concrete examples of what to do, instead of leaving expected behavior open to interpretation.`}),`\n`]}),`\n`]}),`\n`]})]})]}),`\n`,_jsxs(ParamField,{body:`pathway_id`,type:`string`,id:`param-pathway-id`,children:[_jsxs(_components.p,{children:[`Set the pathway that your agent will follow. This will override the `,_jsx(_components.code,{children:`prompt`}),` field, so there is no need to pass the ‘prompt’ field if you are setting a pathway.`]}),_jsxs(_components.p,{children:[`Warning: Setting a pathway will set the following fields to null / their default value - `,_jsx(_components.code,{children:`prompt`}),`, `,_jsx(_components.code,{children:`first_sentence`}),`, `,_jsx(_components.code,{children:`model`}),`, `,_jsx(_components.code,{children:`dynamic_data`}),`, `,_jsx(_components.code,{children:`tools`}),`, `,_jsx(_components.code,{children:`transfer_list`})]}),_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`null`}),` or an empty string to clear the pathway.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`agent-parameters-body`,children:`Agent Parameters (Body)`}),`\n`,_jsx(ParamField,{body:`voice`,type:`string`,id:`param-voice`,children:_jsxs(_components.p,{children:[`Set your agent’s voice - all available voices can be found with the `,_jsx(_components.a,{href:`https://docs.luly.ai/api-v1/get/voices`,children:`List Voices`}),` endpoint.`]})}),`\n`,_jsxs(ParamField,{body:`background_track`,type:`string`,id:`param-background-track`,children:[_jsx(_components.p,{children:`Select an audio track that you’d like to play in the background during the call. The audio will play continuously when the agent isn’t speaking, and is incorporated into it’s speech as well.`}),_jsx(_components.p,{children:`Use this to provide a more natural, seamless, engaging experience for the conversation. We’ve found this creates a significantly smoother call experience by minimizing the stark differences between total silence and the agent’s speech.`}),_jsx(_components.p,{children:`Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`null`}),` - Default, will play audible but quiet phone static.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`office`}),` - Office-style soundscape. Includes faint typing, chatter, clicks, and other office sounds.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cafe`}),` - Cafe-like soundscape. Includes faint talking, clinking, and other cafe sounds.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`restaurant`}),` - Similar to `,_jsx(_components.code,{children:`cafe`}),`, but more subtle.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`none`}),` - Minimizes background noise`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`first_sentence`,type:`string`,id:`param-first-sentence`,children:_jsx(_components.p,{children:`Makes your agent say a specific phrase or sentence for it’s first response.`})}),`\n`,_jsxs(ParamField,{body:`wait_for_greeting`,type:`boolean`,default:`false`,id:`param-wait-for-greeting`,children:[_jsx(_components.p,{children:`By default, the agent starts talking as soon as the call connects.`}),_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`wait_for_greeting`}),` is set to `,_jsx(_components.code,{children:`true`}),`, the agent will wait for the call recipient to speak first before responding.`]})]}),`\n`,_jsxs(ParamField,{body:`interruption_threshold`,type:`number`,default:`100`,id:`param-interruption-threshold`,children:[_jsx(_components.p,{children:`Adjusts how patient the AI is when waiting for the user to finish speaking.`}),_jsx(_components.p,{children:`Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding.`}),_jsx(_components.p,{children:`Recommended range: 50-200`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`50: Extremely quick, back and forth conversation`}),`\n`,_jsx(_components.li,{children:`100: Balanced to respond at a natural pace`}),`\n`,_jsx(_components.li,{children:`200: Very patient, allows for long pauses and interruptions. Ideal for collecting detailed information.`}),`\n`]}),_jsx(_components.p,{children:`Try to start with 100 and make small adjustments in increments of ~10 as needed for your use case.`})]}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,default:`enhanced`,id:`param-model`,children:[_jsx(_components.p,{children:`Select a model to use for your call.`}),_jsxs(_components.p,{children:[`Options: `,_jsx(_components.code,{children:`base`}),`, `,_jsx(_components.code,{children:`turbo`}),` and `,_jsx(_components.code,{children:`enhanced`}),`.`]}),_jsxs(_components.p,{children:[`In nearly all cases, `,_jsx(_components.code,{children:`enhanced`}),` is the best choice for now.`]}),_jsxs(Accordion,{title:`Model differences`,id:`model-differences`,children:[_jsx(_components.p,{children:`There are three different ways to use luly:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`model: base`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The original, follows scripts/procedures most effectively.`}),`\n`,_jsx(_components.li,{children:`Supports all features and capabilities.`}),`\n`,_jsx(_components.li,{children:`Best for Custom Tools`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`model: enhanced`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Much faster latency and very conversational, works best with objective-based prompts.`}),`\n`,_jsx(_components.li,{children:`Supports all features and capabilities.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`model: turbo`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The absolute fastest latency possible, can be verbose at times`}),`\n`,_jsx(_components.li,{children:`Limited capabilities currently (excludes Transferring, IVR navigation, Custom Tools)`}),`\n`,_jsx(_components.li,{children:`Extremely realistic conversation capabilities`}),`\n`]}),`\n`]}),`\n`]})]})]}),`\n`,_jsxs(ParamField,{body:`tools`,type:`array`,id:`param-tools`,children:[_jsx(_components.p,{children:`Interact with the real world through API calls.`}),_jsxs(_components.p,{children:[`Detailed tutorial here: `,_jsx(_components.a,{href:`https://docs.luly.ai/tutorials/custom-tools`,children:`Custom Tools`})]})]}),`\n`,_jsxs(ParamField,{body:`language`,type:`string`,default:`en-US`,id:`param-language`,children:[_jsx(_components.p,{children:`Select a supported language of your choice. Optimizes every part of our API for that language - transcription, speech, and other inner workings.`}),_jsxs(Accordion,{title:`Expand to view language options`,id:`expand-to-view-language-options`,children:[_jsx(_components.p,{children:`The available language options are as follows:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`en`}),` - English`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`en-US`}),` - English (US)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`en-GB`}),` - English (UK)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zh`}),` - Chinese (Mandarin, Simplified)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zh-CN`}),` - Chinese (Mandarin, Simplified, China)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zh`}),` - Hans - Chinese (Mandarin, Simplified, Hans)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zh`}),` - TW -Chinese (Mandarin, Traditional)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zh`}),` - Hant - Chinese (Mandarin,Traditional, Hant)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`es`}),` - Spanish`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`fr`}),` - French`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`de`}),` - German`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hi`}),` - Hindi`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ja`}),` - Japanese`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ko`}),` - Korean`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pt`}),` - Portuguese`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`it`}),` - Italian`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`nl`}),` - Dutch`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pl`}),` - Polish`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ru`}),` - Russian`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sv`}),` - Swedish`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`da`}),` - Danish`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`id`}),` - Indonesian`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ms`}),` - Malay`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tr`}),` - Turkish`]}),`\n`]})]})]}),`\n`,_jsxs(ParamField,{body:`timezone`,type:`string`,default:`America/Los_Angeles`,id:`param-timezone`,children:[_jsx(_components.p,{children:`Set the timezone for the call. Handled automatically for calls in the US.`}),_jsx(_components.p,{children:`This helps significantly with use cases that rely on appointment setting, scheduling, or behaving differently based on the time of day.`}),_jsxs(_components.p,{children:[`Timezone options are `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/List_of_tz_database_time_zones`,children:`here`}),` in the TZ identifier column.`]})]}),`\n`,_jsxs(ParamField,{body:`transfer_phone_number`,type:`string`,id:`param-transfer-phone-number`,children:[_jsx(_components.p,{children:`A phone number that the agent can transfer to under specific conditions - such as being asked to speak to a human or supervisor.`}),_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`null`}),` to remove.`]}),_jsxs(Accordion,{title:`Prompting notes`,id:`prompting-notes`,children:[_jsx(_components.p,{children:`For best results:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Specify conditions that the agent should transfer to a human under (examples are great!)`}),`\n`,_jsxs(_components.li,{children:[`In the `,_jsx(_components.code,{children:`task`}),`, refer to the action solely as “transfer” or “transferring”.`]}),`\n`,_jsx(_components.li,{children:`Alternate phrasing such as “swap” or “switch” can mislead the agent, causing the action to be ignored.`}),`\n`]})]})]}),`\n`,_jsxs(ParamField,{body:`transfer_list`,type:`object`,id:`param-transfer-list`,children:[_jsx(_components.p,{children:`Give your agent the ability to transfer calls to a set of phone numbers.`}),_jsxs(_components.p,{children:[`Overrides `,_jsx(_components.code,{children:`transfer_phone_number`}),` if a `,_jsx(_components.code,{children:`transfer_list.default`}),` is specified.`]}),_jsxs(_components.p,{children:[`Will default to `,_jsx(_components.code,{children:`transfer_list.default`}),`, or the chosen phone number.`]}),_jsx(_components.p,{children:`Example usage to route calls to different departments:`}),_jsx(CodeBlock,{numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transfer_list\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+12223334444\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+12223334444\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"support\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+12223334444\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+12223334444\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`dynamic_data`,type:`object`,id:`param-dynamic-data`,children:[_jsx(_components.p,{children:`Integrate data from external APIs into your agent’s knowledge.`}),_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`null`}),` or an empty string to clear dynamic data settings.`]}),_jsxs(_components.p,{children:[`Detailed usage in the `,_jsx(_components.a,{href:`https://docs.luly.ai/api-v1/post/calls`,children:`Send Call`}),` endpoint.`]})]}),`\n`,_jsxs(ParamField,{body:`interruption_threshold`,type:`number`,default:`100`,id:`param-interruption-threshold-1`,children:[_jsx(_components.p,{children:`Adjusts how patient the AI is when waiting for the user to finish speaking.`}),_jsx(_components.p,{children:`Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding.`}),_jsx(_components.p,{children:`Recommended range: 50-200`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`50: Extremely quick, back and forth conversation`}),`\n`,_jsx(_components.li,{children:`100: Balanced to respond at a natural pace`}),`\n`,_jsx(_components.li,{children:`200: Very patient, allows for long pauses and interruptions. Ideal for collecting detailed information.`}),`\n`]}),_jsx(_components.p,{children:`Try to start with 100 and make small adjustments in increments of ~10 as needed for your use case.`})]}),`\n`,_jsxs(ParamField,{body:`keywords`,type:`string[]`,default:`[]`,id:`param-keywords`,children:[_jsx(_components.p,{children:`These words will be boosted in the transcription engine - recommended for proper nouns or words that are frequently mis-transcribed.`}),_jsx(_components.p,{children:`For example, if the word “Reece” is frequently transcribed as a homonym like “Reese” you could do this:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"keywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Reece\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`For stronger keyword boosts, you can place a colon then a boost factor after the word. The default boost factor is 2.`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"keywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Reece:3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`call-settings-body`,children:`Call settings (Body)`}),`\n`,_jsxs(ParamField,{body:`max_duration`,type:`integer`,default:`30`,id:`param-max-duration`,children:[_jsxs(_components.p,{children:[`When the call starts, a timer is set for the `,_jsx(_components.code,{children:`max_duration`}),` minutes. At the end of that timer, if the call is still active it will be automatically ended.`]}),_jsxs(_components.p,{children:[`Example Values: `,_jsx(_components.code,{children:`20, 2`})]})]}),`\n`,_jsxs(ParamField,{body:`webhook`,type:`string`,id:`param-webhook`,children:[_jsx(_components.p,{children:`When the call ends, we’ll send the call details in a POST request to the URL you specify here.`}),_jsxs(_components.p,{children:[`The request body will match the response from the `,_jsx(_components.a,{href:`https://docs.luly.ai/api-v1/get/calls-id`,children:`GET /v1/calls/:call_id`}),` endpoint.`]})]}),`\n`,_jsxs(ParamField,{body:`analysis_schema`,type:`object`,id:`param-analysis-schema`,children:[_jsx(_components.p,{children:`Define a JSON schema for how you want to get information about the call - information like email addresses, names, appointment times or any other type of custom data.`}),_jsxs(_components.p,{children:[`In the webhook response or whenever you retrieve call data later, you’ll get the data you defined back under `,_jsx(_components.code,{children:`analysis`}),`.`]}),_jsx(_components.p,{children:`For example, if you wanted to retrieve this information from the call:`}),_jsx(CodeBlock,{numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"analysis_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"wants_to_book_appointment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"appointment_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YYYY-MM-DD HH:MM:SS\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`You would get it filled out like this in your webhook once the call completes:`}),_jsx(CodeBlock,{numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"johndoe@gmail.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"wants_to_book_appointment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"appointment_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-01 12:00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Add any additional information you want to associate with the call. This can be useful for tracking or categorizing calls.`})}),`\n`,_jsxs(ParamField,{body:`summary_prompt`,type:`string`,id:`param-summary-prompt`,children:[_jsxs(_components.p,{children:[`At the end of each call, a `,_jsx(_components.code,{children:`summary`}),` is generated based on the transcript - you can use this field to add extra instructions and context for how it should be summarized.`]}),_jsxs(_components.p,{children:[`For example: `,_jsx(_components.code,{children:`\"Summarize the call in French instead of English.\"`})]})]}),`\n`,_jsx(ParamField,{body:`analysis_prompt`,type:`string`,id:`param-analysis-prompt`,children:_jsxs(_components.p,{children:[`Guides the output and provides additional instructions and clarifications for the `,_jsx(_components.code,{children:`analysis_schema`}),`.`]})}),`\n`,_jsx(ParamField,{body:`record`,type:`boolean`,default:`false`,id:`param-record`,children:_jsxs(_components.p,{children:[`To record your phone call, set `,_jsx(_components.code,{children:`record`}),` to true. When your call completes, you can access through the `,_jsx(_components.code,{children:`recording_url`}),` field in the call details or your webhook.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Whether the update was successful or not - will be `,_jsx(_components.code,{children:`success`}),` or `,_jsx(_components.code,{children:`error`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`A message describing the status of the update.`})}),`\n`,_jsx(ResponseField,{name:`updates`,type:`object`,id:`param-updates`,children:_jsx(_components.p,{children:`An object containing the updated settings for the inbound number.`})}),`\n`,_jsx(ResponseField,{name:`failed_updates`,type:`object`,id:`param-failed-updates`,children:_jsx(_components.p,{children:`If the update was unsuccessful, this will contain the settings that failed to update. Useful to determine how your request is being interpreted on our end.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Inbound Details","description":"Update your inbound agent’s settings, prompt and other details.","api":"POST /v1/inbound/{phone_number}","href":"/api-reference/inbound/update"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[336,340,"Example,ResponseFiel"],[577,592,"Example)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingM"],[31751,32179,",`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Successfully updated number +18584139939.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"(Your prompt)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"maya\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_sentence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Roberta speaking, how can I help you?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"record\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enhanced\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` //...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Agent Parameters (Body)","slug":"agent-parameters-body","depth":3,"children":[]},{"title":"Call settings (Body)","slug":"call-settings-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Successfully updated number +18584139939.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updates\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"(Your prompt)\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voice\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"maya\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhook\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"first_sentence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Roberta speaking, how can I help you?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"record\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max_duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"enhanced\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> //...\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update Inbound Details","path":"/v1/inbound/{phone_number}","servers":[{"url":"https://app.luly.ai/api/"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"authorization":{"schema":[{"type":"string","description":"Your API key for authentication.","required":true}]},"encrypted_key":{"schema":[{"type":"string","description":"The `encrypted_key` for the Twilio account that owns the phone number you want to modify. Not required if you are using a Luly phone number."}]},"phone_number":{"schema":[{"type":"string","description":"The inbound phone number you wish to update. Formatting Notes: The `'+'` or `'%2B'` prefix is optional. Will assume a US country code if no country code is provided. Valid Examples for `+13334445555` : `%2B13334445555` `13334445555` `3334445555`"}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"prompt":[{"type":"string","description":"Provide instructions, relevant information, and examples of the ideal conversation flow. For inbound numbers, consider including additional context about the purpose of the call, and what types of callers to expect.","required":true}],"pathway_id":[{"type":"string","description":"Set the pathway that your agent will follow. This will override the `prompt` field, so there is no need to pass the ‘prompt’ field if you are setting a pathway. Warning: Setting a pathway will set the following fields to null / their default value - `prompt` , `first_sentence` , `model` , `dynamic_data` , `tools` , `transfer_list` Set to `null` or an empty string to clear the pathway."}],"voice":[{"type":"string","description":"Set your agent’s voice - all available voices can be found with the List Voices endpoint."}],"background_track":[{"type":"string","description":"Select an audio track that you’d like to play in the background during the call. The audio will play continuously when the agent isn’t speaking, and is incorporated into it’s speech as well. Use this to provide a more natural, seamless, engaging experience for the conversation. We’ve found this creates a significantly smoother call experience by minimizing the stark differences between total silence and the agent’s speech. Options: `null` - Default, will play audible but quiet phone static. `office` - Office-style soundscape. Includes faint typing, chatter, clicks, and other office sounds. `cafe` - Cafe-like soundscape. Includes faint talking, clinking, and other cafe sounds. `restaurant` - Similar to `cafe` , but more subtle. `none` - Minimizes background noise"}],"first_sentence":[{"type":"string","description":"Makes your agent say a specific phrase or sentence for it’s first response."}],"wait_for_greeting":[{"type":"boolean","description":"By default, the agent starts talking as soon as the call connects. When `wait_for_greeting` is set to `true` , the agent will wait for the call recipient to speak first before responding."}],"interruption_threshold":[{"type":"number","description":"Adjusts how patient the AI is when waiting for the user to finish speaking. Lower values mean the AI will respond more quickly, while higher values mean the AI will wait longer before responding. Recommended range: 50-200 50: Extremely quick, back and forth conversation 100: Balanced to respond at a natural pace 200: Very patient, allows for long pauses and interruptions. Ideal for collecting detailed information. Try to start with 100 and make small adjustments in increments of ~10 as needed for your use case."}],"model":[{"type":"string","description":"Select a model to use for your call. Options: `base` , `turbo` and `enhanced` . In nearly all cases, `enhanced` is the best choice for now."}],"tools":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Interact with the real world through API calls. Detailed tutorial here: Custom Tools"}],"language":[{"type":"string","description":"Select a supported language of your choice. Optimizes every part of our API for that language - transcription, speech, and other inner workings."}],"timezone":[{"type":"string","description":"Set the timezone for the call. Handled automatically for calls in the US. This helps significantly with use cases that rely on appointment setting, scheduling, or behaving differently based on the time of day. Timezone options are here in the TZ identifier column."}],"transfer_phone_number":[{"type":"string","description":"A phone number that the agent can transfer to under specific conditions - such as being asked to speak to a human or supervisor. Set to `null` to remove."}],"transfer_list":[{"type":"object","properties":{},"description":"Give your agent the ability to transfer calls to a set of phone numbers. Overrides `transfer_phone_number` if a `transfer_list.default` is specified. Will default to `transfer_list.default` , or the chosen phone number. Example usage to route calls to different departments:"}],"dynamic_data":[{"type":"object","properties":{},"description":"Integrate data from external APIs into your agent’s knowledge. Set to `null` or an empty string to clear dynamic data settings. Detailed usage in the Send Call endpoint."}],"keywords":[{"type":"array","items":[{"type":"string"}],"description":"These words will be boosted in the transcription engine - recommended for proper nouns or words that are frequently mis-transcribed. For example, if the word “Reece” is frequently transcribed as a homonym like “Reese” you could do this: For stronger keyword boosts, you can place a colon then a boost factor after the word. The default boost factor is 2."}],"max_duration":[{"type":"integer","description":"When the call starts, a timer is set for the `max_duration` minutes. At the end of that timer, if the call is still active it will be automatically ended. Example Values: `20, 2`"}],"webhook":[{"type":"string","description":"When the call ends, we’ll send the call details in a POST request to the URL you specify here. The request body will match the response from the GET /v1/calls/:call_id endpoint."}],"analysis_schema":[{"type":"object","properties":{},"description":"Define a JSON schema for how you want to get information about the call - information like email addresses, names, appointment times or any other type of custom data. In the webhook response or whenever you retrieve call data later, you’ll get the data you defined back under `analysis` . For example, if you wanted to retrieve this information from the call: You would get it filled out like this in your webhook once the call completes:"}],"metadata":[{"type":"object","properties":{},"description":"Add any additional information you want to associate with the call. This can be useful for tracking or categorizing calls."}],"summary_prompt":[{"type":"string","description":"At the end of each call, a `summary` is generated based on the transcript - you can use this field to add extra instructions and context for how it should be summarized. For example: `\"Summarize the call in French instead of English.\"`"}],"analysis_prompt":[{"type":"string","description":"Guides the output and provides additional instructions and clarifications for the `analysis_schema` ."}],"record":[{"type":"boolean","description":"To record your phone call, set `record` to true. When your call completes, you can access through the `recording_url` field in the call details or your webhook."}]}}],"examples":{"example":{"value":{"prompt":"\u003cstring>","pathway_id":"\u003cstring>","voice":"\u003cstring>","background_track":"\u003cstring>","first_sentence":"\u003cstring>","wait_for_greeting":true,"interruption_threshold":123,"model":"\u003cstring>","tools":[{}],"language":"\u003cstring>","timezone":"\u003cstring>","transfer_phone_number":"\u003cstring>","transfer_list":{},"dynamic_data":{},"keywords":["\u003cstring>"],"max_duration":123,"webhook":"\u003cstring>","analysis_schema":{},"metadata":{},"summary_prompt":"\u003cstring>","analysis_prompt":"\u003cstring>","record":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"Whether the update was successful or not - will be `success` or `error` ."}],"message":[{"type":"string","description":"A message describing the status of the update."}],"updates":[{"type":"object","properties":{},"description":"An object containing the updated settings for the inbound number."}],"failed_updates":[{"type":"object","properties":{},"description":"If the update was unsuccessful, this will contain the settings that failed to update. Useful to determine how your request is being interpreted on our end."}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","message":"\u003cstring>","updates":{},"failed_updates":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"developersden","siteName":"Luly AI","title":"Update Inbound Details - Luly AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/inbound/update.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=\"system\"}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=\"Update your inbound agent’s settings, prompt and other details.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Luly AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Inbound Details - Luly AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update your inbound agent’s settings, prompt and other details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Luly AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.luly.ai/api-reference/inbound/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://developersden.mintlify.app/_mintlify/api/og/v2?division=Inbound+Numbers\u0026amp;title=Update+Inbound+Details\u0026amp;description=Update+your+inbound+agent%E2%80%99s+settings%2C+prompt+and+other+details.\u0026amp;theme=351ff4efb51b11ce906c9a66\u0026amp;signature=1f4cb7951f7a8a687672fd6bf9985418f0de1344b44fbca09589225c162c4a23\">\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=\"Update Inbound Details - Luly AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update your inbound agent’s settings, prompt and other details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://developersden.mintlify.app/_mintlify/api/og/v2?division=Inbound+Numbers\u0026amp;title=Update+Inbound+Details\u0026amp;description=Update+your+inbound+agent%E2%80%99s+settings%2C+prompt+and+other+details.\u0026amp;theme=351ff4efb51b11ce906c9a66\u0026amp;signature=1f4cb7951f7a8a687672fd6bf9985418f0de1344b44fbca09589225c162c4a23\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Luly AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0099ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.luly.ai/api-reference/inbound/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/inbound/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.luly.ai/#organization\",\"name\":\"Luly AI\",\"url\":\"https://docs.luly.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/developersden/logo/light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.luly.ai#website\",\"name\":\"Luly AI\",\"url\":\"https://docs.luly.ai\",\"publisher\":{\"@id\":\"https://docs.luly.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.luly.ai/api-reference/inbound/update#webpage\",\"url\":\"https://docs.luly.ai/api-reference/inbound/update\",\"name\":\"Update Inbound Details\",\"description\":\"Update your inbound agent’s settings, prompt and other details.\",\"isPartOf\":{\"@id\":\"https://docs.luly.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.luly.ai/api-reference/inbound/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.luly.ai/api-reference/inbound/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inbound Numbers\",\"item\":\"https://docs.luly.ai/api-reference/inbound/purchase\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Inbound Details\",\"item\":\"https://docs.luly.ai/api-reference/inbound/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.luly.ai/api-reference/inbound/update#apireference\",\"headline\":\"Update Inbound Details\",\"name\":\"Update Inbound Details\",\"description\":\"Update your inbound agent’s settings, prompt and other details.\",\"url\":\"https://docs.luly.ai/api-reference/inbound/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.luly.ai/api-reference/inbound/update#webpage\"},\"publisher\":{\"@id\":\"https://docs.luly.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.luly.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Luly AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Luly AI","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"api-reference","groups":[{"group":"Basic","pages":[{"title":"Send Call (Simple)","api":"POST v1/calls","href":"/api-reference/basic/sendCall"},{"title":"Send Call using Pathways (Simple)","api":"POST /v1/calls","href":"/api-reference/basic/sendCallPathways"}]},{"group":"Calls","pages":[{"title":"Send Call","api":"POST v1/calls","href":"/api-reference/calls/sendCall"},{"title":"Analyze Call with AI","api":"POST /v1/calls/{call_id}/analyze","href":"/api-reference/calls/analyzeCall"},{"title":"Stop Active Call","api":"POST v1/calls/{call_id}/stop","href":"/api-reference/calls/stopActiveCall"},{"title":"Stop All Active Calls","api":"POST v1/calls/active/stop","href":"/api-reference/calls/stopAllActiveCalls"},{"title":"List Calls","api":"GET v1/calls","href":"/api-reference/calls/listCalls"},{"title":"Call Details","api":"GET /v1/calls/{call_id}","href":"/api-reference/calls/callDetails"},{"title":"Event Stream","api":"GET v1/event_stream/{call_id}","href":"/api-reference/calls/eventStream"},{"title":"Audio Recording","api":"GET /v1/calls/{call_id}/recording","href":"/api-reference/calls/audioRecording"},{"title":"Get Corrected Transcript","api":"GET /v1/calls/{call_id}/correct","href":"/api-reference/calls/correctedTranscript"}]},{"group":"Vector Stores","pages":[{"title":"Create a Vector Store","api":"POST /vectors","href":"/api-reference/vectorStores/createStore"},{"title":"Update Vector Store","api":"POST vectors/{vector_id}","href":"/api-reference/vectorStores/updateStore"},{"title":"List Vector Stores","api":"GET /vectors","href":"/api-reference/vectorStores/listStore"},{"title":"List Vector Details","api":"GET vectors/{vector_id}","href":"/api-reference/vectorStores/listDetails"},{"title":"Delete Vector Store","api":"POST /vectors/{vector_id}/delete","href":"/api-reference/vectorStores/deleteStore"}]},{"group":"Conversational Pathways","pages":[{"title":"Get All Pathways Information","api":"GET /v1/convo_pathway","href":"/api-reference/pathways/getAll"},{"title":"Get Single Pathway Information","api":"GET /v1/convo_pathway/{pathway_id}","href":"/api-reference/pathways/get"},{"title":"Create Pathway","api":"POST /v1/pathway/create","href":"/api-reference/pathways/create"},{"title":"Update Pathway","api":"POST /v1/convo_pathway/{pathway_id}","href":"/api-reference/pathways/update"},{"title":"Delete Pathway","api":"DELETE /v1/convo_pathway/{pathway_id}","href":"/api-reference/pathways/delete"},{"group":"Pathway Chat","pages":[{"title":"Create Pathway Chat","api":"POST /v1/pathway/chat/create","href":"/api-reference/pathways/chats/create"},{"title":"Pathway Chat","api":"POST /v1/pathway/chat/{id}","href":"/api-reference/pathways/chats/chat"}]},{"group":"Pathway Versions","pages":[{"title":"Get Pathway Versions","api":"GET /v1/pathway/:pathway_id/versions","href":"/api-reference/pathways/versions/get"},{"title":"Get Specific Pathway Version","api":"Get /v1/pathway/{pathway_id}/version/{version_id}","href":"/api-reference/pathways/versions/getSpecific"},{"title":"Create Pathway Version","api":"POST /v1/pathway/{pathway_id}/version","href":"/api-reference/pathways/versions/create"},{"title":"Delete Pathway Version","api":"DELETE /v1/{pathway_id}/versions/{version_id}","href":"/api-reference/pathways/versions/delete"}]},{"group":"Pathway Folders","pages":[{"title":"Get All Folders","api":"GET /v1/pathway/folders","href":"/api-reference/pathways/folders/get"},{"title":"Get Pathways in Folder","api":"GET /v1/pathway/folders/{folder_id}/pathways","href":"/api-reference/pathways/folders/getPathways"},{"title":"Create Folder","api":"POST /v1/pathway/folders","href":"/api-reference/pathways/folders/create"},{"title":"Delete Folder","api":"DELETE /v1/pathway/folders/{folder_id}","href":"/api-reference/pathways/folders/delete"},{"title":"Update Folder","api":"PATCH /v1/pathway/folders/{folder_id}","href":"/api-reference/pathways/folders/update"},{"title":"Move Pathway","api":"POST /v1/pathway/folders/move","href":"/api-reference/pathways/folders/move"}]}]},{"group":"Inbound Numbers","pages":[{"title":"Purchase Inbound number","description":"Purchase and configure a new inbound phone number. ($15/mo. subscription using your stored payment method).","api":"POST /v1/inbound/purchase","href":"/api-reference/inbound/purchase"},{"title":"Update Inbound Details","api":"POST /v1/inbound/{phone_number}","href":"/api-reference/inbound/update"},{"title":"List Inbound Numbers","description":"Retrieves a list of all inbound phone numbers configured for your account, along with their associated settings.","api":"GET /v1/inbound","href":"/api-reference/inbound/list"},{"title":"Inbound Number Details","api":"GET /v1/inbound/{phone_number}","href":"/api-reference/inbound/details"}]},{"group":"Outbound Numbers","pages":[{"title":"Purchase Outbound number","api":"POST /v1/outbound/purchase","href":"/api-reference/outbound/purchase"},{"title":"List Outbound Numbers","api":"GET /v1/outbound","href":"/api-reference/outbound/list"}]},{"group":"Voices","pages":[{"title":"List Voices","api":"GET /v1/voices","href":"/api-reference/voice/list"},{"title":"Voice Details","api":"GET /v1/voices/{id}","href":"/api-reference/voice/details"},{"title":"Publish Cloned Voice","api":"POST /v1/voices/{id}/publish","href":"/api-reference/voice/publishCloned"},{"title":"Generate Audio Sample","api":"POST /v1/voices/{id}/sample","href":"/api-reference/voice/audioSample"}]},{"group":"Custom Tools","pages":[{"title":"Create a Custom Tool","api":"POST /v1/tools","href":"/api-reference/customTool/create"},{"title":"Update Custom Tool","api":"POST /v1/tools/{tool_id}","href":"/api-reference/customTool/update"},{"title":"Delete Custom Tool","api":"DELETE /v1/tools/{tool_id}","href":"/api-reference/customTool/delete"},{"title":"List Custom Tools","api":"GET /v1/tools","href":"/api-reference/customTool/list"},{"title":"Custom Tool Details","api":"GET /v1/tools/{tool_id}","href":"/api-reference/customTool/details"}]},{"group":"Web Agents","pages":[{"title":"Create a Web Agent","api":"POST /v1/agents","href":"/api-reference/webAgent/create"},{"title":"Update Web Agent Settings","api":"POST /v1/agents/{agent_id}","href":"/api-reference/webAgent/update"},{"title":"Authorize a Web Agent Call","api":"POST /v1/agents/{agent_id}/authorize","href":"/api-reference/webAgent/authorize"},{"title":"Delete Web Agent","api":"POST /v1/agents/{agent_id}/delete","href":"/api-reference/webAgent/delete"},{"title":"List Web Agents","api":"GET /v1/agents","href":"/api-reference/webAgent/list"}]},{"group":"Custom Twilio Accounts","pages":[{"title":"Create Encrypted Key","api":"POST /v1/accounts","href":"/api-reference/twilioAccounts/create"},{"title":"Delete Encrypted Key","api":"POST /v1/accounts/delete","href":"/api-reference/twilioAccounts/deleteKey"},{"title":"Upload Inbound Phone Numbers","api":"POST /v1/accounts/delete","href":"/api-reference/twilioAccounts/upload"},{"title":"Delete Inbound Phone Number","api":"POST /v1/inbound/{phone_number}/delete","href":"/api-reference/twilioAccounts/deleteNumber"}]},{"group":"Campaigns","pages":[{"title":"Create a Campaign","api":"POST /v1/campaigns","href":"/api-reference/campaigns/create"},{"title":"Stop Campaign","api":"POST /v1/campaigns/{campaign_id}/stop","href":"/api-reference/campaigns/stop"},{"title":"List Campaigns","api":"GET /v1/campaigns","href":"/api-reference/campaigns/list"},{"title":"Campaign Details","api":"POST /v1/campaigns/{id}","href":"/api-reference/campaigns/details"}]},{"group":"Prompts","pages":[{"title":"List Prompts","api":"GET /v1/prompts","href":"/api-reference/prompts/list"},{"title":"Prompt Details","api":"GET /v1/prompts/{prompt_id}","href":"/api-reference/prompts/details"},{"title":"Create Prompt","api":"POST /v1/prompts","href":"/api-reference/prompts/create"}]},{"group":"Batches","pages":[{"title":"Send a Batch of Calls","api":"POST /v1/batches","href":"/api-reference/batches/send"},{"title":"Analyze Batch with AI","api":"POST /v1/batches/{batch_id}/analyze","href":"/api-reference/batches/analyzeBatch"},{"title":"Stop Active Batch","api":"POST /v1/batches/{batch_id}/stop","href":"/api-reference/batches/stop"},{"title":"List Batches","api":"GET /v1/batches","href":"/api-reference/batches/list"},{"title":"Batch Details","api":"GET /v1/batches/{batch_id}","href":"/api-reference/batches/detail"},{"title":"Retrieve Batch Analysis","api":"GET /v1/batches/{batch_id}/analysis","href":"/api-reference/batches/retrieve"}]},{"group":"SMS","pages":[{"title":"A2P Registration","api":"POST /v1/sms/register","href":"/api-reference/sms/registration"},{"title":"Check SMS A2P status","api":"POST /v1/sms/register/status","href":"/api-reference/sms/status"},{"title":"Update SMS Number","api":"POST /v1/sms/update","href":"/api-reference/sms/update"},{"title":"Clear SMS Conversation","api":"POST /v1/sms/clear","href":"/api-reference/sms/clear"},{"title":"SMS Conversation Analysis","api":"POST /v1/sms/analyze","href":"/api-reference/sms/conversationAnalysis"},{"title":"Get SMS Messages","api":"POST /v1/sms/messages/get","href":"/api-reference/sms/messages"},{"title":"Toggle SMS Reply Method","api":"POST /v1/sms/toggle","href":"/api-reference/sms/replyMethod"},{"title":"Update SMS Webhook","api":"POST /v1/sms/webhook/update","href":"/api-reference/sms/webhook"}]}]}]},"basePath":"","title":"Update Inbound Details - Luly AI","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"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"]}