Have your submodule handle HTTP requests sent to a special URL.
Submodule Code
This code only works on the Server side files since HTTP only works on servers, obviously!
You must return something, even if it’s just a confirmation the data was received. Otherwise, the HTTP request will hang and eventually error on the client’s side.
RegisterPluginHttpEvent("yourpluginname:hello", function(data) debugLog(("Got data: %s"):format(json.encode(data))) return { result = "ok, got some data!" }end)
Breakdown
The framework exposes the RegisterPluginHttpEvent function for plugins to use (is not exported, currently). Using this function “registers” a particular type where the framework will send the POSTed payload to the callback function.Note: This will block the HTTP request, so take care if this is requesting data from an external source like a database.To actually use this, we would POST to the URL, as noted below.Return a LUA table which will be encoded as JSON back to the requesting client.
Submodule Event
POSThttp://yourserverip:serverport/sonorancad/plugineventSend a payload to trigger a specific HTTP event that was defined in the submodule code.
Request Body
Name
Type
Description
data
object
A JSON object containing the payload to be sent
type
string
The registered type this data should be sent to
key
string
Your API Key
200
Response varies based on return statement defined in the handler.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sonoran Software Documentation","colors":{"primary":"#1D7DCF","light":"#3297ED","dark":"#1465AA"},"logo":{"light":"https://docs-assets.sonoransoftware.com/sha256/a8/a8af14e6458cb682c1c8d33ca8b56d25dcd5999b2589e0de14b2be9f8dbe20a5.png","dark":"https://docs-assets.sonoransoftware.com/sha256/0b/0be9cc0ac8f90ee8aa8607653b830270c319a8ebe0c9051d1d2c7a79fb5453ab.png","href":"/"},"favicon":"https://docs-assets.sonoransoftware.com/sha256/1d/1d3aaa7393e84144f39bad7742c218a4f1db8e0ceb6f330d69f2e9bc92629df4.png","navbar":{"links":[{"href":"https://support.sonoransoftware.com","label":"Support"},{"href":"https://sonoransoftware.com","label":"Website"}]},"footer":{"socials":{"discord":"https://discord.sonoransoftware.com/","x":"https://x.com/Sonoran_SW","instagram":"https://www.instagram.com/sonoransoftware","youtube":"https://www.youtube.com/channel/UC-IfsakmGGmPrG8qcV3VVsA"},"links":[{"header":"Support","items":[{"label":"Customer Support","href":"https://support.sonoransoftware.com/"}]},{"header":"Policies","items":[{"label":"Refund and Purchase Policy","href":"/policy/policy/refund-and-purchase-policy"},{"label":"Terms of Service","href":"/policy/policy/terms-of-service"},{"label":"Privacy Policy","href":"/policy/policy/privacy-policy"}]}]},"seo":{"metatags":{"canonical":"https://docs.sonoransoftware.com"},"indexing":"all"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sonoran-software-systems","hasAudioNarration":false,"actualSubdomain":"sonoran-software-systems","customDomains":["docs.sonoransoftware.com"],"gitSource":{"type":"github","owner":"sonoran-software","repo":"sonoran-documentation","deployBranch":"master","contentDirectory":"mintlify","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0e23e5de330cb387d652a7","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"CAD","count":308},{"language":"default","tag":"Integration Capabilities","count":303},{"language":"default","tag":"📖 API Integration","count":237},{"language":"default","tag":"CMS","count":204},{"language":"default","tag":"Tutorials","count":161},{"language":"default","tag":"General","count":151},{"language":"default","tag":"Radio","count":125},{"language":"default","tag":"v2 API Endpoints","count":116},{"language":"default","tag":"Store","count":97},{"language":"default","tag":"Developer API Documentation","count":78}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area img{max-width:100%;height:auto}iframe{border:0}footer a{white-space:normal;text-overflow:clip}#content :is(h1,h2,h3,h4,h5,h6)>span>ol{margin-block:0;white-space:normal}#content :is(h1,h2,h3,h4,h5,h6)>span>ol>li{margin-block:0}#assistant-entry,#assistant-entry-mobile,#chat-assistant-sheet,#ask-assistant-code-block-button{display:none!important}"}]}
{"page":{"pagePath":"cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling","slug":"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling","pageMetadata":{"title":"HTTP Request Handling","description":"Have your submodule handle HTTP requests sent to a special URL.","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling"},"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: \"Have your submodule handle HTTP requests sent to a special URL.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`submodule-code`,children:`Submodule Code`}),`\n`,_jsx(_components.p,{children:`This code only works on the Server side files since HTTP only works on servers, obviously!`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`You `,_jsx(_components.strong,{children:`must`}),` return something, even if it’s just a confirmation the data was received. Otherwise, the HTTP request will hang and eventually error on the client’s side.`]})}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`RegisterPluginHttpEvent(\"yourpluginname:hello\", function(data)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` debugLog((\"Got data: %s\"):format(json.encode(data)))`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` return { result = \"ok, got some data!\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`end)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`4`,id:`breakdown`,children:`Breakdown`}),`\n`,_jsxs(_components.p,{children:[`The framework exposes the `,_jsx(_components.code,{children:`RegisterPluginHttpEvent`}),` function for plugins to use (is not exported, currently). Using this function “registers” a particular type where the framework will send the POSTed payload to the callback function.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note: This will block the HTTP request, so take care if this is requesting data from an external source like a database.`})}),`\n`,_jsx(_components.p,{children:`To actually use this, we would POST to the URL, as noted below.`}),`\n`,_jsx(_components.p,{children:`Return a LUA table which will be encoded as JSON back to the requesting client.`}),`\n`,_jsx(Heading,{level:`2`,id:`submodule-event`,children:`Submodule Event`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST`}),` `,_jsx(_components.code,{children:`http://yourserverip:serverport/sonorancad/pluginevent`})]}),`\n`,_jsx(_components.p,{children:`Send a payload to trigger a specific HTTP event that was defined in the submodule code.`}),`\n`,_jsx(Heading,{level:`4`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`data`}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`A JSON object containing the payload to be sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`type`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The registered type this data should be sent to`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`key`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Your API Key`})]})]})]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:_jsx(_Fragment,{children:`200`}),id:`200`,children:_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Response varies based on return statement defined in the handler.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})})]})}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":"HTTP Request Handling","description":"Have your submodule handle HTTP requests sent to a special URL.","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Submodule Code","slug":"submodule-code","depth":2,"children":[{"title":"Breakdown","slug":"breakdown","depth":4,"children":[]}]},{"title":"Submodule Event","slug":"submodule-event","depth":2,"children":[{"title":"Request Body","slug":"request-body","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sonoran-software-systems","siteName":"Sonoran Software Documentation","title":"HTTP Request Handling - Sonoran Software Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T00:47:57.195Z","originalFileLocation":"cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling.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=\"Have your submodule handle HTTP requests sent to a special URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sonoran Software Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://docs-assets.sonoransoftware.com/sha256/1d/1d3aaa7393e84144f39bad7742c218a4f1db8e0ceb6f330d69f2e9bc92629df4.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://docs-assets.sonoransoftware.com/sha256/1d/1d3aaa7393e84144f39bad7742c218a4f1db8e0ceb6f330d69f2e9bc92629df4.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://docs-assets.sonoransoftware.com/sha256/1d/1d3aaa7393e84144f39bad7742c218a4f1db8e0ceb6f330d69f2e9bc92629df4.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://docs-assets.sonoransoftware.com/sha256/1d/1d3aaa7393e84144f39bad7742c218a4f1db8e0ceb6f330d69f2e9bc92629df4.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"HTTP Request Handling - Sonoran Software Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Have your submodule handle HTTP requests sent to a special URL.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sonoran Software Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sonoran-software-systems.mintlify.site/_mintlify/api/og/v2?division=FiveM+Development+Documentation\u0026amp;title=HTTP+Request+Handling\u0026amp;description=Have+your+submodule+handle+HTTP+requests+sent+to+a+special+URL.\u0026amp;theme=1726bed78342e75c7aa90f1e\u0026amp;signature=b6e3b33db699fb910cc4e8124468b2dbc7906080b131ba4df367a83ac086bedd\">\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=\"HTTP Request Handling - Sonoran Software Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Have your submodule handle HTTP requests sent to a special URL.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sonoran-software-systems.mintlify.site/_mintlify/api/og/v2?division=FiveM+Development+Documentation\u0026amp;title=HTTP+Request+Handling\u0026amp;description=Have+your+submodule+handle+HTTP+requests+sent+to+a+special+URL.\u0026amp;theme=1726bed78342e75c7aa90f1e\u0026amp;signature=b6e3b33db699fb910cc4e8124468b2dbc7906080b131ba4df367a83ac086bedd\">\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/sonoran-software-systems/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sonoran Software Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1D7DCF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sonoransoftware.com/#organization\",\"name\":\"Sonoran Software Documentation\",\"url\":\"https://docs.sonoransoftware.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs-assets.sonoransoftware.com/sha256/a8/a8af14e6458cb682c1c8d33ca8b56d25dcd5999b2589e0de14b2be9f8dbe20a5.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sonoransoftware.com#website\",\"name\":\"Sonoran Software Documentation\",\"url\":\"https://docs.sonoransoftware.com\",\"publisher\":{\"@id\":\"https://docs.sonoransoftware.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling#webpage\",\"url\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling\",\"name\":\"HTTP Request Handling\",\"description\":\"Have your submodule handle HTTP requests sent to a special URL.\",\"dateModified\":\"2026-10-20T00:47:57.195Z\",\"isPartOf\":{\"@id\":\"https://docs.sonoransoftware.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integration Capabilities\",\"item\":\"https://docs.sonoransoftware.com/cad/integration-plugins/dispatch-ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"🎮 FiveM\",\"item\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FiveM Development Documentation\",\"item\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"HTTP Request Handling\",\"item\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling#article\",\"headline\":\"HTTP Request Handling\",\"name\":\"HTTP Request Handling\",\"description\":\"Have your submodule handle HTTP requests sent to a special URL.\",\"url\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling#webpage\"},\"dateModified\":\"2026-10-20T00:47:57.195Z\",\"publisher\":{\"@id\":\"https://docs.sonoransoftware.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sonoransoftware.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sonoran Software Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sonoran Software Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling.md","siteName":"Sonoran Software Documentation","nav":{"global":null,"products":[{"product":"Overview","icon":"house","pages":[{"title":"Overview","href":""}]},{"product":"CAD","icon":"car-side","groups":[{"group":"Start here","pages":[{"title":"🏆 Why Sonoran CAD?","href":"/cad"},{"group":"📱Download The App","root":{"title":"📱Download The App","href":"/cad/download"},"pages":[{"title":"Steam Browser - Workaround","href":"/cad/download/steam-browser-workaround"},{"title":"Web Browser - Clear Cache","href":"/cad/download/web-browser-clear-cache"},{"title":"Desktop App - Clear Cache","href":"/cad/download/desktop-app-clear-cache"},{"title":"GTA RP Tablet - Clear Cache","href":"/cad/download/fivem-clear-cache"},{"title":"Steam Browser - Clear Cache","href":"/cad/download/steam-browser-clear-cache"}]}]},{"group":"Tutorials","pages":[{"group":"Getting Started","root":{"title":"Getting Started","href":"/cad/tutorials/getting-started"},"pages":[{"title":"Registering Your Account","href":"/cad/tutorials/getting-started/registering-your-account"},{"title":"Registering Your Community","href":"/cad/tutorials/getting-started/registering-your-community"},{"title":"Inviting Users to Your CAD","href":"/cad/tutorials/getting-started/inviting-users-to-your-cad"},{"title":"Granting Account Permissions","href":"/cad/tutorials/getting-started/permissions"},{"title":"View Your Limits","href":"/cad/tutorials/getting-started/view-your-limits"},{"title":"Community ID and Ownership Code","href":"/cad/tutorials/getting-started/finding-your-community-id-and-authentication-code"},{"title":"Troubleshooting","href":"/cad/tutorials/getting-started/troubleshooting"}]},{"group":"Customization","root":{"title":"Customization","href":"/cad/tutorials/customization"},"pages":[{"title":"Custom Domain \u0026 Vanity URLs","href":"/cad/tutorials/customization/custom-login-page"},{"title":"Customizing Your Layout","href":"/cad/tutorials/customization/customizing-your-layout"},{"title":"Community Branding and Settings","href":"/cad/tutorials/customization/community-branding-and-info"},{"title":"Creating Custom Record and Report Types","href":"/cad/tutorials/customization/creating-custom-record-and-report-types"},{"title":"Record Automations","href":"/cad/tutorials/customization/record-automations"},{"title":"Sharing Custom Records","href":"/cad/tutorials/customization/sharing-custom-records"},{"title":"Custom Search Types","href":"/cad/tutorials/customization/custom-search-types"},{"title":"Geographical Settings","href":"/cad/tutorials/customization/geographical-settings"},{"title":"Penal Codes","href":"/cad/tutorials/customization/penal-codes"},{"title":"10-Codes","href":"/cad/tutorials/customization/10-codes"},{"title":"Addresses and Street Names","href":"/cad/tutorials/customization/addresses-and-street-names"},{"title":"Unit Status Codes","href":"/cad/tutorials/customization/unit-status-codes"},{"title":"Tone Board","href":"/cad/tutorials/customization/tone-board"},{"title":"Custom Audio Notifications","href":"/cad/tutorials/customization/custom-audio-notifications"},{"title":"Custom Emails","href":"/cad/tutorials/customization/custom-emails"},{"title":"Quick Links","href":"/cad/tutorials/customization/quick-links"},{"title":"Custom Page Colors","href":"/cad/tutorials/customization/custom-page-colors"},{"title":"User Account Restrictions","href":"/cad/tutorials/customization/user-account-restrictions"},{"title":"Configuring Multiple Servers","href":"/cad/tutorials/customization/configuring-multiple-servers"},{"title":"Advanced Query Strings","href":"/cad/tutorials/customization/advanced-query-strings"},{"title":"Custom Dispatch Call Formats","href":"/cad/tutorials/customization/custom-dispatch-call-formats"}]},{"group":"Dispatching","root":{"title":"Dispatching","href":"/cad/tutorials/dispatching"},"pages":[{"title":"Creating a Call","href":"/cad/tutorials/dispatching/creating-a-call"},{"title":"Rapid IQ","href":"/cad/tutorials/dispatching/rapid-iq"},{"title":"Unit Management","href":"/cad/tutorials/dispatching/unit-management"},{"title":"Self Dispatch","href":"/cad/tutorials/dispatching/self-dispatch"},{"title":"Timers","href":"/cad/tutorials/dispatching/timers"},{"title":"Command Line Interface (CLI)","href":"/cad/tutorials/dispatching/command-line-interface-cli"},{"title":"Automations","href":"/cad/tutorials/dispatching/automations"},{"title":"Chat","href":"/cad/tutorials/dispatching/chat"},{"title":"Shortcuts","href":"/cad/tutorials/dispatching/shortcuts"}]},{"group":"Records Management","root":{"title":"Records Management","href":"/cad/tutorials/records-management"},"pages":[{"title":"Record Lookups","href":"/cad/tutorials/records-management/searching-for-records"},{"title":"Adding a Record","href":"/cad/tutorials/records-management/adding-a-criminal-record"},{"title":"PDF Records","href":"/cad/tutorials/records-management/pdf-records"},{"title":"Scene Diagram Builder","href":"/cad/tutorials/records-management/scene-diagram-builder"}]},{"group":"Administration","root":{"title":"Administration","href":"/cad/tutorials/administration"},"pages":[{"title":"System Logs","href":"/cad/tutorials/administration/system-logs"},{"title":"Remove User Account","href":"/cad/tutorials/administration/remove-user-account"},{"title":"Deleting or Transferring your CAD","href":"/cad/tutorials/administration/deleting-or-transferring-your-cad"}]},{"group":"Other Features","root":{"title":"Other Features","href":"/cad/tutorials/other-features"},"pages":[{"title":"Configurable Hotkeys","href":"/cad/tutorials/other-features/configurable-hotkeys"},{"title":"Voice Commands","href":"/cad/tutorials/other-features/voice-commands"},{"title":"Volume and Language","href":"/cad/tutorials/other-features/volume-and-language"}]}]},{"group":"Integration Capabilities","pages":[{"title":"Dispatch AI","href":"/cad/integration-plugins/dispatch-ai"},{"group":"🗃️ Paid Integration Resources","root":{"title":"Paid Integration Resources","href":"/cad/integration-plugins/paid-integration-resources"},"pages":[{"title":"Mobile Command Center","href":"/cad/integration-plugins/paid-integration-resources/mobile-command-center"},{"title":"ATM Robbery","href":"/cad/integration-plugins/paid-integration-resources/atm-robbery"},{"title":"In-Vehicle Radar","href":"/cad/integration-plugins/paid-integration-resources/in-vehicle-radar"},{"title":"Evidence Camera","href":"/cad/integration-plugins/paid-integration-resources/evidence-camera"},{"title":"Power Grid","href":"/cad/integration-plugins/paid-integration-resources/power-grid"},{"title":"Speed Cameras","href":"/cad/integration-plugins/paid-integration-resources/speed-cameras"},{"title":"Shot Spotter","href":"/cad/integration-plugins/paid-integration-resources/shot-spotter"}]},{"title":"Integrated Vendors","href":"/cad/integration-plugins/integrated-vendors"},{"title":"Twitch Bodycam, Bot, \u0026 Lighting Integration","href":"/cad/integration-plugins/twitch-overlay-and-bot"},{"group":"Database Sync and Merge","root":{"title":"Database Sync and Merge","href":"/cad/integration-plugins/database-sync-and-merge"},"pages":[{"title":"Troubleshooting","href":"/cad/integration-plugins/database-sync-and-merge/troubleshooting"}]},{"group":"Discord","root":{"title":"Discord","href":"/cad/integration-plugins/discord-bot-integration"},"pages":[{"title":"Role sync","href":"/cad/integration-plugins/discord-bot-integration/role-sync"},{"title":"Webhooks","href":"/cad/integration-plugins/discord-bot-integration/discord-webhooks"},{"title":"Rich Presence","href":"/cad/integration-plugins/discord-bot-integration/discord-rich-presence"}]},{"title":"Stream Deck Plugin","href":"/cad/integration-plugins/stream-deck-integration"},{"group":"🎮 FiveM","root":{"title":"FiveM","href":"/cad/integration-plugins/in-game-integration"},"pages":[{"group":"FiveM Installation","root":{"title":"FiveM Installation","href":"/cad/integration-plugins/in-game-integration/fivem-installation"},"pages":[{"title":"FiveM Configuration Migration","href":"/cad/integration-plugins/in-game-integration/fivem-installation/fivem-resource-migration-v4"},{"group":"Troubleshooting","root":{"title":"Troubleshooting","href":"/cad/integration-plugins/in-game-integration/fivem-installation/troubleshooting"},"pages":[{"title":"Error Codes","href":"/cad/integration-plugins/in-game-integration/fivem-installation/troubleshooting/error-codes"},{"title":"Read and Write Permissions","href":"/cad/integration-plugins/in-game-integration/fivem-installation/troubleshooting/read-and-write-permissions"}]}]},{"title":"Link User In-Game","href":"/cad/integration-plugins/in-game-integration/link-user-in-game"},{"group":"Submodule Configuration","root":{"title":"Submodule Configuration","href":"/cad/integration-plugins/in-game-integration/submodule-configuration"},"pages":[{"title":"Submodule Troubleshooting","href":"/cad/integration-plugins/in-game-integration/submodule-configuration/plugin-troubleshooting"},{"title":"Submodule Configuration Updates","href":"/cad/integration-plugins/in-game-integration/submodule-configuration/submodule-configuration-updates"}]},{"group":"FiveM Submodules","root":{"title":"FiveM Submodules","href":"/cad/integration-plugins/in-game-integration/available-plugins"},"pages":[{"title":"Body Camera","href":"/cad/integration-plugins/in-game-integration/available-plugins/bodycam"},{"title":"CAD Display","href":"/cad/integration-plugins/in-game-integration/available-plugins/cad-display"},{"title":"Call Commands","href":"/cad/integration-plugins/in-game-integration/available-plugins/call-commands"},{"title":"Call Templates","href":"/cad/integration-plugins/in-game-integration/available-plugins/call-templates"},{"title":"Civilian Integration","href":"/cad/integration-plugins/in-game-integration/available-plugins/civilian-integration"},{"title":"Civilian Registration (CivReg)","href":"/cad/integration-plugins/in-game-integration/available-plugins/civilian-registration"},{"title":"Copium","href":"/cad/integration-plugins/in-game-integration/available-plugins/copium"},{"title":"Dispatch Notify","href":"/cad/integration-plugins/in-game-integration/available-plugins/dispatch-notify"},{"title":"Emergency Response Simulator (ERS)","href":"/cad/integration-plugins/in-game-integration/available-plugins/ers"},{"title":"Framework Support (ESX/QBCore) and Auto Fines","href":"/cad/integration-plugins/in-game-integration/available-plugins/framework-support-esx-qbcore-and-auto-fines"},{"title":"FivePD (Legacy, Unsupported)","href":"/cad/integration-plugins/in-game-integration/available-plugins/fivepd"},{"title":"Force Register (ForceReg)","href":"/cad/integration-plugins/in-game-integration/available-plugins/forcereg"},{"title":"Kick","href":"/cad/integration-plugins/in-game-integration/available-plugins/kick"},{"title":"LB Phone App","href":"/cad/integration-plugins/in-game-integration/available-plugins/lb-phone-app"},{"title":"Local Callers","href":"/cad/integration-plugins/in-game-integration/available-plugins/local-callers"},{"title":"Unit Locations","href":"/cad/integration-plugins/in-game-integration/available-plugins/locations"},{"title":"Live Map","href":"/cad/integration-plugins/in-game-integration/available-plugins/live-map"},{"title":"Pager Reborn","href":"/cad/integration-plugins/in-game-integration/available-plugins/pager-reborn"},{"title":"Postals","href":"/cad/integration-plugins/in-game-integration/available-plugins/postals"},{"title":"Record Printer","href":"/cad/integration-plugins/in-game-integration/available-plugins/record-printer"},{"title":"Street Signs","href":"/cad/integration-plugins/in-game-integration/available-plugins/smart-signs"},{"title":"Sonoran Radio (sonrad)","href":"/cad/integration-plugins/in-game-integration/available-plugins/sonoran-radio-sonrad"},{"title":"Station Alert","href":"/cad/integration-plugins/in-game-integration/available-plugins/station-alert"},{"title":"Tablet \u0026 Mini-CAD","href":"/cad/integration-plugins/in-game-integration/available-plugins/tablet"},{"title":"Unit Status","href":"/cad/integration-plugins/in-game-integration/available-plugins/unit-status"},{"title":"Vehicle Register (VehReg)","href":"/cad/integration-plugins/in-game-integration/available-plugins/vehreg"},{"title":"WraithV2","href":"/cad/integration-plugins/in-game-integration/available-plugins/wraithv2"}]},{"group":"FiveM Development Documentation","root":{"title":"FiveM Development Documentation","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation"},"pages":[{"title":"Client Functions","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/client-functions"},{"title":"Client Events","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/client-events"},{"title":"Shared Functions","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/shared-functions"},{"title":"Server Functions","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/server-functions"},{"title":"Server Events","description":"This page will explain all server events from the SonoranCAD Core that can be used on the server side","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/server-events"},{"title":"HTTP Request Handling","href":"/cad/integration-plugins/in-game-integration/framework-development-documentation/http-request-handling"}]}]},{"group":"🎮 ER:LC","root":{"title":"ER:LC","description":"Sonoran CAD offers the most immersive, 100% free ER:LC integrations available. Complete with a 3D live map, bodycam live streams, traffic stop automations, emergency calls, plate reader, and more!","href":"/cad/integration-plugins/erlc"},"pages":[{"title":"Getting Started","href":"/cad/integration-plugins/erlc/getting-started"},{"title":"3D Live Map","href":"/cad/integration-plugins/erlc/3d-live-map"},{"title":"Bodycam","href":"/cad/integration-plugins/erlc/bodycam"},{"title":"Call Editor Pin Drop","href":"/cad/integration-plugins/erlc/call-editor-pin-drop"},{"title":"In-Game Overlay","href":"/cad/integration-plugins/erlc/in-game-overlay"},{"title":"ID Check","href":"/cad/integration-plugins/erlc/id-check"},{"title":"Character Creation","href":"/cad/integration-plugins/erlc/character-creation"},{"title":"Vehicle Registrations","href":"/cad/integration-plugins/erlc/vehicle-registrations"},{"title":"Emergency Calls","href":"/cad/integration-plugins/erlc/emergency-calls"},{"title":"3D Location Webhooks","href":"/cad/integration-plugins/erlc/location-notifications"},{"title":"Traffic Stops","href":"/cad/integration-plugins/erlc/traffic-stops"},{"title":"Plate Reader","href":"/cad/integration-plugins/erlc/plate-reader"},{"title":"ALPR Cameras","href":"/cad/integration-plugins/erlc/alpr-cameras"}]},{"group":"📖 API Integration","root":{"title":"API Integration","href":"/cad/api-integration"},"pages":[{"group":"Getting Started","root":{"title":"Getting Started","href":"/cad/api-integration/getting-started"},"pages":[{"title":"Retrieving Your Credentials","href":"/cad/api-integration/getting-started/retrieving-your-credentials"},{"title":"Map Players to CAD Users","href":"/cad/api-integration/getting-started/setting-your-api-id"}]},{"group":"v2 API Endpoints","root":{"title":"v2 API Endpoints","href":"/cad/api-integration/api-endpoints-v2"},"pages":[{"title":"Libraries","href":"/cad/api-integration/api-endpoints-v2/libraries"},{"title":"Authentication","href":"/cad/api-integration/api-endpoints-v2/authentication"},{"group":"Emergency","root":{"title":"Emergency","href":"/cad/api-integration/api-endpoints-v2/emergency"},"pages":[{"group":"Units","root":{"title":"Units","href":"/cad/api-integration/api-endpoints-v2/emergency/units"},"pages":[{"title":"Get Active Units","href":"/cad/api-integration/api-endpoints-v2/emergency/units/get-active-units"},{"title":"Get Account Units","href":"/cad/api-integration/api-endpoints-v2/emergency/units/get-account-units"},{"title":"Update Unit Locations","href":"/cad/api-integration/api-endpoints-v2/emergency/units/update-unit-locations"},{"title":"Set Unit Panic","href":"/cad/api-integration/api-endpoints-v2/emergency/units/set-unit-panic"},{"title":"Set Unit Status","href":"/cad/api-integration/api-endpoints-v2/emergency/units/set-unit-status"},{"title":"Kick Unit","href":"/cad/api-integration/api-endpoints-v2/emergency/units/kick-unit"}]},{"group":"Identifiers","root":{"title":"Identifiers","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers"},"pages":[{"title":"Get Identifiers","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/get-identifiers"},{"title":"Set Selected Identifier","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/set-selected-identifier"},{"title":"Create Identifier","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/create-identifier"},{"title":"Update Identifier","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/update-identifier"},{"title":"Delete Identifier","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/delete-identifier"},{"title":"Set Identifier Group","href":"/cad/api-integration/api-endpoints-v2/emergency/identifiers/set-identifier-group"}]},{"group":"Calls","root":{"title":"Calls","href":"/cad/api-integration/api-endpoints-v2/emergency/calls"},"pages":[{"title":"Get Calls","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/get-calls"},{"title":"Get Current Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/get-current-call"},{"title":"Create 911 Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/create-911-call"},{"title":"Remove 911 Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/remove-911-call"},{"title":"Create Dispatch Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/create-dispatch-call"},{"title":"Get Dispatch Templates","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/get-dispatch-templates"},{"title":"Create Custom Dispatch Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/create-custom-dispatch-call"},{"title":"Update Dispatch Call","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/update-dispatch-call"},{"title":"Attach Units","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/attach-units"},{"title":"Detach Units","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/detach-units"},{"title":"Update Call Postal","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/update-call-postal"},{"title":"Update Call Primary","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/update-call-primary"},{"title":"Add Call Note","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/add-call-note"},{"title":"Close Dispatch Calls","href":"/cad/api-integration/api-endpoints-v2/emergency/calls/close-dispatch-calls"}]},{"group":"Map","root":{"title":"Map","href":"/cad/api-integration/api-endpoints-v2/emergency/map"},"pages":[{"title":"Get Blips","href":"/cad/api-integration/api-endpoints-v2/emergency/map/get-blips"},{"title":"Create Blip","href":"/cad/api-integration/api-endpoints-v2/emergency/map/create-blip"},{"title":"Update Blip","href":"/cad/api-integration/api-endpoints-v2/emergency/map/update-blip"},{"title":"Delete Blips","href":"/cad/api-integration/api-endpoints-v2/emergency/map/delete-blips"}]},{"group":"Configuration","root":{"title":"Configuration","href":"/cad/api-integration/api-endpoints-v2/emergency/configuration"},"pages":[{"title":"Set Callouts","href":"/cad/api-integration/api-endpoints-v2/emergency/configuration/set-callouts"},{"title":"Get Pager Config","href":"/cad/api-integration/api-endpoints-v2/emergency/configuration/get-pager-config"},{"title":"Set Pager Config","href":"/cad/api-integration/api-endpoints-v2/emergency/configuration/set-pager-config"},{"title":"Set Stations","href":"/cad/api-integration/api-endpoints-v2/emergency/configuration/set-stations"}]}]},{"group":"Civilian","root":{"title":"Civilian","href":"/cad/api-integration/api-endpoints-v2/civilian"},"pages":[{"title":"Get Characters","href":"/cad/api-integration/api-endpoints-v2/civilian/get-characters"},{"title":"Delete Character","href":"/cad/api-integration/api-endpoints-v2/civilian/delete-character"},{"title":"Set Selected Character","href":"/cad/api-integration/api-endpoints-v2/civilian/set-selected-character"},{"title":"Get Character Links","href":"/cad/api-integration/api-endpoints-v2/civilian/get-character-links"},{"title":"Add Character Link","href":"/cad/api-integration/api-endpoints-v2/civilian/add-character-link"},{"title":"Remove Character Link","href":"/cad/api-integration/api-endpoints-v2/civilian/remove-character-link"}]},{"group":"Integration Panels","root":{"title":"Integration Panels","href":"/cad/api-integration/api-endpoints-v2/integration-panels"},"pages":[{"title":"Manifest Reference","href":"/cad/api-integration/api-endpoints-v2/integration-panels/manifest-reference"},{"group":"Examples","root":{"title":"Examples","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples"},"pages":[{"title":"Fire Alarm","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples/fire-alarm"},{"title":"Door Locks","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples/door-locks"},{"title":"Tow and Impound","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples/tow-impound"},{"title":"Fleet Management","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples/fleet-management"},{"title":"Smart Signs: Live Map Editor","href":"/cad/api-integration/api-endpoints-v2/integration-panels/examples/smart-signs"}]},{"title":"List Integration Panels","href":"/cad/api-integration/api-endpoints-v2/integration-panels/list-panels"},{"title":"Get Integration Panel","href":"/cad/api-integration/api-endpoints-v2/integration-panels/get-panel"},{"title":"Set Integration Panel","href":"/cad/api-integration/api-endpoints-v2/integration-panels/set-panel"},{"title":"Delete Integration Panel","href":"/cad/api-integration/api-endpoints-v2/integration-panels/delete-panel"},{"title":"Set Integration Panel State","href":"/cad/api-integration/api-endpoints-v2/integration-panels/set-state"},{"title":"Poll Integration Panel Actions","href":"/cad/api-integration/api-endpoints-v2/integration-panels/poll-actions"},{"title":"Acknowledge Integration Panel Action","href":"/cad/api-integration/api-endpoints-v2/integration-panels/acknowledge-action"}]},{"group":"General","root":{"title":"General","href":"/cad/api-integration/api-endpoints-v2/general"},"pages":[{"group":"Accounts","root":{"title":"Accounts","href":"/cad/api-integration/api-endpoints-v2/general/accounts"},"pages":[{"title":"Apply Permission Key","href":"/cad/api-integration/api-endpoints-v2/general/accounts/apply-permission-key"},{"title":"Kick Or Ban User","href":"/cad/api-integration/api-endpoints-v2/general/accounts/ban-user"},{"title":"Create Community Link","href":"/cad/api-integration/api-endpoints-v2/general/accounts/create-community-link"},{"title":"Check Community Link","href":"/cad/api-integration/api-endpoints-v2/general/accounts/check-community-link"},{"title":"Set Community Link","href":"/cad/api-integration/api-endpoints-v2/general/accounts/set-community-link"},{"title":"Account Object","href":"/cad/api-integration/api-endpoints-v2/general/accounts/account-object"},{"title":"Get Account","href":"/cad/api-integration/api-endpoints-v2/general/accounts/get-account"},{"title":"Get Accounts","href":"/cad/api-integration/api-endpoints-v2/general/accounts/get-accounts"},{"title":"Get Permission Catalog","href":"/cad/api-integration/api-endpoints-v2/general/accounts/get-permission-catalog"},{"title":"Get Account Permissions","href":"/cad/api-integration/api-endpoints-v2/general/accounts/get-account-permissions"},{"title":"Replace Account Permissions","href":"/cad/api-integration/api-endpoints-v2/general/accounts/replace-account-permissions"},{"title":"Verify Secret","href":"/cad/api-integration/api-endpoints-v2/general/accounts/verify-secret"},{"title":"Send Files","href":"/cad/api-integration/api-endpoints-v2/general/accounts/send-photo"}]},{"group":"Records","root":{"title":"Records","href":"/cad/api-integration/api-endpoints-v2/general/records"},"pages":[{"title":"Get Templates","href":"/cad/api-integration/api-endpoints-v2/general/records/get-templates"},{"title":"Get Template","href":"/cad/api-integration/api-endpoints-v2/general/records/get-template"},{"title":"Get Record History","href":"/cad/api-integration/api-endpoints-v2/general/records/get-record-history"},{"title":"Create Record","href":"/cad/api-integration/api-endpoints-v2/general/records/create-record"},{"title":"Update Record","href":"/cad/api-integration/api-endpoints-v2/general/records/update-record"},{"title":"Delete Record","href":"/cad/api-integration/api-endpoints-v2/general/records/delete-record"},{"title":"Send Draft","href":"/cad/api-integration/api-endpoints-v2/general/records/send-draft"}]},{"group":"Lookups","root":{"title":"Lookups","href":"/cad/api-integration/api-endpoints-v2/general/lookups"},"pages":[{"title":"Lookup Name Or Plate","href":"/cad/api-integration/api-endpoints-v2/general/lookups/lookup-name-or-plate"},{"title":"Lookup By Value","href":"/cad/api-integration/api-endpoints-v2/general/lookups/lookup-by-value"},{"title":"Lookup By Custom Search","href":"/cad/api-integration/api-endpoints-v2/general/lookups/lookup-by-custom"}]},{"group":"Configuration","root":{"title":"Configuration","href":"/cad/api-integration/api-endpoints-v2/general/configuration"},"pages":[{"title":"Get FiveM Configuration","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-fivem-configuration"},{"title":"Migrate FiveM Configuration","href":"/cad/api-integration/api-endpoints-v2/general/configuration/migrate-fivem-configuration"},{"title":"FiveM Configuration Acknowledgement (Earlier Draft)","href":"/cad/api-integration/api-endpoints-v2/general/configuration/acknowledge-fivem-configuration"},{"title":"Get Database Sync Configuration","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-database-sync-configuration"},{"title":"Get Penal Codes","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-penal-codes"},{"title":"Set Penal Codes","href":"/cad/api-integration/api-endpoints-v2/general/configuration/set-penal-codes"},{"title":"Heartbeat","href":"/cad/api-integration/api-endpoints-v2/general/configuration/heartbeat"},{"title":"Get Version","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-version"},{"title":"Get Turn Credentials","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-turn-credentials"},{"title":"Upload Bodycam Recording","href":"/cad/api-integration/api-endpoints-v2/general/configuration/upload-bodycam-recording"},{"title":"Register External Bodycam Recording","href":"/cad/api-integration/api-endpoints-v2/general/configuration/register-external-bodycam-recording"},{"title":"Get Servers","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-servers"},{"title":"Set Servers","href":"/cad/api-integration/api-endpoints-v2/general/configuration/set-servers"},{"title":"Set Postal Config","href":"/cad/api-integration/api-endpoints-v2/general/configuration/set-postal-config"},{"title":"Get Info","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-info"},{"title":"Get Login Page","href":"/cad/api-integration/api-endpoints-v2/general/configuration/get-login-page"}]}]},{"group":"Local Endpoints","root":{"title":"Local Endpoints","href":"/cad/api-integration/api-endpoints-v2/local-endpoints"},"pages":[{"title":"Smart Lighting","href":"/cad/api-integration/api-endpoints-v2/local-endpoints/smart-lighting"}]},{"group":"Iframe API","root":{"title":"Iframe API","href":"/cad/api-integration/api-endpoints-v2/iframe-endpoints"},"pages":[{"title":"Notepad Sync","href":"/cad/api-integration/api-endpoints-v2/iframe-endpoints/notepad-sync"},{"title":"Screenshot Capture","href":"/cad/api-integration/api-endpoints-v2/iframe-endpoints/screenshot-capture"}]},{"group":"Internal","root":{"title":"Internal","href":"/cad/api-integration/api-endpoints-v2/internal"},"pages":[{"title":"FiveM Download","href":"/cad/api-integration/api-endpoints-v2/internal/fivem-download"}]}]},{"group":"Push Events","root":{"title":"Push Events","href":"/cad/api-integration/push-events"},"pages":[{"title":"Community Link Verified","href":"/cad/api-integration/push-events/community-link-verified"},{"group":"Record Events","root":{"title":"Record Events","href":"/cad/api-integration/push-events/record-events"},"pages":[{"title":"Record Added","href":"/cad/api-integration/push-events/record-events/record-added"},{"title":"Record Edited","href":"/cad/api-integration/push-events/record-events/record-edited"},{"title":"Record Removed","href":"/cad/api-integration/push-events/record-events/record-removed"}]},{"group":"Unit Events","root":{"title":"Unit Events","href":"/cad/api-integration/push-events/unit-events"},"pages":[{"title":"Unit Panic","href":"/cad/api-integration/push-events/unit-events/unit-panic"},{"title":"Unit Login","href":"/cad/api-integration/push-events/unit-events/unit-login"},{"title":"Unit Logoff","href":"/cad/api-integration/push-events/unit-events/unit-logoff"},{"title":"Unit Status Update","href":"/cad/api-integration/push-events/unit-events/unit-status-update"},{"title":"Unit Group Name Change","href":"/cad/api-integration/push-events/unit-events/unit-group-name-change"},{"title":"Unit Group Add","href":"/cad/api-integration/push-events/unit-events/unit-group-add"},{"title":"Unit Group Remove","href":"/cad/api-integration/push-events/unit-events/unit-group-remove"}]},{"group":"Dispatch Events","root":{"title":"Dispatch Events","href":"/cad/api-integration/push-events/dispatch-events"},"pages":[{"title":"New Dispatch","href":"/cad/api-integration/push-events/dispatch-events/dispatch-event"},{"title":"Modified Dispatch","href":"/cad/api-integration/push-events/dispatch-events/modified-dispatch"},{"title":"Closed Dispatch","href":"/cad/api-integration/push-events/dispatch-events/closed-dispatch"},{"title":"Dispatch Note","href":"/cad/api-integration/push-events/dispatch-events/dispatch-note"},{"title":"Attach Unit","href":"/cad/api-integration/push-events/dispatch-events/attach-unit"},{"title":"Detach Unit","href":"/cad/api-integration/push-events/dispatch-events/detach-unit"},{"title":"Toggle Bodycam","href":"/cad/api-integration/push-events/dispatch-events/toggle-bodycam"}]},{"title":"Event 911","href":"/cad/api-integration/push-events/event-911"},{"title":"Remove 911","href":"/cad/api-integration/push-events/remove-911"},{"title":"Tone Played","href":"/cad/api-integration/push-events/tone-played"},{"group":"Civilian","root":{"title":"Civilian","href":"/cad/api-integration/push-events/civilian"},"pages":[{"title":"Character Selected","href":"/cad/api-integration/push-events/civilian/character-selected"}]},{"group":"ERS","root":{"title":"ERS","href":"/cad/api-integration/push-events/ers"},"pages":[{"title":"New Callout","href":"/cad/api-integration/push-events/ers/new-callout"}]},{"group":"Inferno Pager","root":{"title":"Inferno Pager","href":"/cad/api-integration/push-events/inferno-pager"},"pages":[{"title":"Event Pager Reborn","href":"/cad/api-integration/push-events/inferno-pager/event-pager-reborn"}]},{"group":"Station Alert","root":{"title":"Station Alert","href":"/cad/api-integration/push-events/station-alert"},"pages":[{"title":"New Station Alert","href":"/cad/api-integration/push-events/station-alert/new-station-alert"}]}]},{"group":"Websocket API","root":{"title":"Websocket API","href":"/cad/api-integration/websocket-api"},"pages":[{"title":"Authentication","href":"/cad/api-integration/websocket-api/authentication"},{"title":"Unit Locations","href":"/cad/api-integration/websocket-api/unit-locations"},{"title":"Push Events","href":"/cad/api-integration/websocket-api/push-events"},{"title":"FiveM Configuration","href":"/cad/api-integration/websocket-api/fivem-configuration"}]},{"title":"Development Branch","href":"/cad/api-integration/development-branch"}]}]},{"group":"Pricing","pages":[{"group":"Pricing FAQ","root":{"title":"Pricing FAQ","href":"/cad/pricing/faq"},"pages":[{"title":"Accessing the Payment Center","href":"/cad/pricing/faq/accessing-the-payment-center"},{"title":"Create and Manage a Subscription","href":"/cad/pricing/faq/create-and-manage-a-subscription"},{"title":"Request Discord Role","href":"/cad/pricing/faq/request-discord-role"}]}]},{"group":"Roadmap","pages":[{"group":"Roadmap \u0026 Changelog","root":{"title":"Roadmap \u0026 Changelog","href":"/cad/roadmap/roadmap-and-changelog"},"pages":[{"title":"Changelog","href":"/cad/roadmap/roadmap-and-changelog/changelog"}]}]},{"group":"Other","pages":[{"group":"Policy","root":{"title":"Policy","href":"/cad/other/policy"},"pages":[{"title":"Rocket CAD Closure","href":"/cad/other/policy/rocket-cad-closure"},{"title":"Terms of Service","href":"/cad/other/policy/terms-of-service"},{"title":"Privacy Policy","href":"/cad/other/policy/privacy-policy"},{"title":"Refund and Purchase Policy","href":"/cad/other/policy/refund-and-purchase-policy"},{"title":"Discord Bot","href":"/cad/other/policy/discord-bot"}]}]}]},{"product":"CMS","icon":"building","pages":[{"title":"CMS","href":"/cms"}]},{"product":"Radio","icon":"walkie-talkie","pages":[{"title":"Radio","href":"/radio"}]},{"product":"Bot","icon":"robot","pages":[{"title":"Bot","href":"/bot"}]},{"product":"Store","icon":"bag-shopping","pages":[{"title":"Store","href":"/store"}]},{"product":"Studio","icon":"clapperboard","pages":[{"title":"Studio","href":"/studio"}]}]},"basePath":"","title":"HTTP Request Handling - Sonoran Software Documentation","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}