{ "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5", "vin": "6AHFT68CKAF501652", "command": "disable_ignition", "status": "Confirmation", "code": "559289", "message": "<mensagem de alerta retornada pela API>"}
{ "detail": "X-Signature invalid."}
This route starts the execution of a remote command for a single specific vehicle. The command is executed in the background. Use the GET /vehicle-command/{command_id} route to check the command status.
The ignition commands enable_ignition and disable_ignition require two-step confirmation. On the first call (without the code field), the command is not executed: the response returns status: "Confirmation" with a 6-digit code and a message to display to the user. To execute the command, resend the same request including the received code. All other commands are executed in a single call.
HMAC SHA256 signature of the request body, using the application’s sign-secret as the key. The body must be serialized as JSON without extra spaces and with keys sorted alphabetically before generating the signature. See the example below:
The 6-digit confirmation code returned in the first step of ignition commands (enable_ignition and disable_ignition). Provide it to execute the command in the second call. This does not apply to other commands.
The unique identifier (UUID) of the command registered in the mobway system. Use this ID to check the command status later with GET /vehicle-command/{command_id}.
The initial status of the command. It can be “Confirmation”, when an ignition command is waiting for the second confirmation step (resubmission with the code), “Pending”, when the command has not yet been processed, or “Error”, when the command was not executed successfully.
The 6-digit confirmation code. It is present only in the confirmation response (status: "Confirmation") for ignition commands. Resend the request with this value in the code field to execute the command.
The cause of the request error. This field is only present when the request fails.
“Invalid VIN. VIN must be a string. At least one VIN is required.”: The request is malformed because the required vin parameter is missing.
“Invalid command. Command must be a string. At least one command is required.”: The request is malformed because the required command parameter is missing.
“VIN not found or unauthorized access.”: The requested VIN is invalid, is not associated with your company, or the vehicle ownership type does not allow this action.
“Command not found or unauthorized access.”: The requested command is not available for this vehicle, either because of OEM restrictions or because it is not included in your package plan.
“Sign-secret not found.”: The HMAC signature provided in the X-Signature header does not match any application associated with the company.
“X-Signature invalid.”: The HMAC signature provided in the X-Signature header does not match the signature calculated from the request body.
“Failed to send command to the OEM.”: An error occurred while attempting to send the command to the OEM system.
“Failed to initiate command with the OEM or retrieve status URL.”: An error occurred while initiating the command with the OEM or obtaining the URL required to check the status later.
“Confirmation invalid”: The provided confirmation code is invalid. Restart the flow by sending the request without the code field to obtain a new code.
“Confirmation already used”: The confirmation code has already been used. Each code can be used only once. Restart the flow by sending the request without the code field to obtain a new one.
{ "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5", "vin": "6AHFT68CKAF501652", "command": "disable_ignition", "status": "Confirmation", "code": "559289", "message": "<mensagem de alerta retornada pela API>"}
{ "detail": "X-Signature invalid."}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"mobway","colors":{"primary":"#E22945","light":"#F2F5F7","dark":"#1B1B1B"},"logo":{"light":"https://mintcdn.com/mobway-56/IbCUF8ABfLSzu1d1/logo/logo-docs-white.svg?fit=max\u0026auto=format\u0026n=IbCUF8ABfLSzu1d1\u0026q=85\u0026s=31811615cf40ed3a22cb49d2e8eee00c","dark":"https://mintcdn.com/mobway-56/IbCUF8ABfLSzu1d1/logo/logo-docs-dark.svg?fit=max\u0026auto=format\u0026n=IbCUF8ABfLSzu1d1\u0026q=85\u0026s=f6b4372f34eec0a90461a2e16364e294"},"favicon":"https://mintcdn.com/mobway-56/IbCUF8ABfLSzu1d1/logo/favicon-docs.svg?fit=max\u0026auto=format\u0026n=IbCUF8ABfLSzu1d1\u0026q=85\u0026s=f802fe9a97794300fa0cdf7dc1184820","api":{"playground":{"display":"simple"}},"background":{"color":{"dark":"#080606"}},"footer":{"socials":{"github":"https://github.com/mobway-cloud","linkedin":"https://www.linkedin.com/company/mobway"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"mailto:support@mobway.cloud","label":"Suporte"}],"primary":{"type":"button","label":"Website","href":"https://www.mobway.cloud/"}},"href":"introduction"},{"language":"en","navbar":{"links":[{"href":"mailto:support@mobway.cloud","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://www.mobway.cloud/"}},"href":"en/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mobway-56","hasAudioNarration":false,"actualSubdomain":"mobway-56","customDomains":["docs.mobway.cloud"],"gitSource":{"type":"github","owner":"matheuslenzi","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6ac7c328c8c0d5e40b4cd98e","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"pt-BR","tag":"Documentação","count":31},{"language":"en","tag":"Documentation","count":31},{"language":"pt-BR","tag":"Dados","count":20},{"language":"en","tag":"Data","count":20},{"language":"pt-BR","tag":"API Reference","count":10},{"language":"en","tag":"API Reference","count":10},{"language":"pt-BR","tag":"Endpoint","count":6},{"language":"pt-BR","tag":"Primeiros Passos","count":6},{"language":"en","tag":"Endpoint","count":6},{"language":"en","tag":"Getting Started","count":6},{"language":"pt-BR","tag":"Comandos","count":5},{"language":"en","tag":"Commands","count":5},{"language":"pt-BR","tag":"Geral","count":4},{"language":"en","tag":"General","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".prose table{width:100%!important;table-layout:fixed!important;display:table!important}.prose td{white-space:nowrap!important}"}],"page":{"pagePath":"en/api-reference/endpoint/command","slug":"/en/api-reference/endpoint/command","pageMetadata":{"title":"POST vehicle-command","api":"POST https://api.mobway.cloud/vehicle-command","description":"Sends a remote command to a vehicle connected to the company","href":"/en/api-reference/endpoint/command"},"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: \"Sends a remote command to a vehicle connected to the company\"\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`,h5:`h5`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`This route starts the execution of a remote command for a single specific vehicle. The command is executed in the background. Use the GET `,_jsx(_components.code,{children:`/vehicle-command/{command_id}`}),` route to check the command status.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The ignition commands `,_jsx(_components.code,{children:`enable_ignition`}),` and `,_jsx(_components.code,{children:`disable_ignition`}),` require `,_jsx(_components.strong,{children:`two-step confirmation`}),`. On the first call (without the `,_jsx(_components.code,{children:`code`}),` field), the command is `,_jsx(_components.strong,{children:`not executed`}),`: the response returns `,_jsx(_components.code,{children:`status: \"Confirmation\"`}),` with a 6-digit `,_jsx(_components.code,{children:`code`}),` and a `,_jsx(_components.code,{children:`message`}),` to display to the user. To execute the command, resend the same request including the received `,_jsx(_components.code,{children:`code`}),`. All other commands are executed in a single call.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(_components.h5,{children:_jsx(_components.strong,{children:`Header`})}),`\n`,_jsx(ParamField,{body:`Authorization`,type:`string`,required:`true`,id:`param-authorization`,children:_jsx(_components.p,{children:`The bearer token used to authenticate the company.`})}),`\n`,_jsxs(ParamField,{body:`X-Signature`,type:`string`,required:`true`,id:`param-x-signature`,children:[_jsxs(_components.p,{children:[`HMAC SHA256 signature of the request body, using the application’s `,_jsx(_components.strong,{children:`sign-secret`}),` as the key. The body must be serialized as JSON without extra spaces and with keys sorted alphabetically before generating the signature. See the example below:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: vin, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: command}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`body `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json.dumps(data, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`separators`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\",\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\":\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`sort_keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`signature `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hmac.new(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_SIGN_SECRET_PROVIDED_BY_MOBWAY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, body.encode(), hashlib.sha256).hexdigest()`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`code`}),` field (when sent in the second step of ignition commands) is `,_jsx(_components.strong,{children:`not`}),` part of the signature. Only `,_jsx(_components.code,{children:`vin`}),` and `,_jsx(_components.code,{children:`command`}),` are signed.`]})]}),`\n`,_jsx(_components.h5,{children:_jsx(_components.strong,{children:`Body`})}),`\n`,_jsx(ParamField,{body:`vin`,type:`string`,required:`true`,id:`param-vin`,children:_jsx(_components.p,{children:`The Vehicle Identification Number (VIN) of the vehicle to which the command will be sent.`})}),`\n`,_jsx(ParamField,{body:`command`,type:`string`,required:`true`,id:`param-command`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/en/command/general`,children:`remote command`}),` to execute on the vehicle.`]})}),`\n`,_jsx(ParamField,{body:`code`,type:`string`,id:`param-code`,children:_jsxs(_components.p,{children:[`The 6-digit confirmation code returned in the first step of ignition commands (`,_jsx(_components.code,{children:`enable_ignition`}),` and `,_jsx(_components.code,{children:`disable_ignition`}),`). Provide it to execute the command in the second call. This does not apply to other commands.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The unique identifier (UUID) of the command registered in the mobway system. Use this ID to check the command status later with GET `,_jsx(_components.code,{children:`/vehicle-command/{command_id}`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`vin`,type:`string`,id:`param-vin-1`,children:_jsx(_components.p,{children:`The vehicle’s unique identification number.`})}),`\n`,_jsx(ResponseField,{name:`command`,type:`string`,id:`param-command-1`,children:_jsx(_components.p,{children:`The command that was requested.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`The initial status of the command. It can be “Confirmation”, when an ignition command is waiting for the second confirmation step (resubmission with the `,_jsx(_components.code,{children:`code`}),`), “Pending”, when the command has not yet been processed, or “Error”, when the command was not executed successfully.`]})}),`\n`,_jsx(ResponseField,{name:`created`,type:`datetime`,id:`param-created`,children:_jsx(_components.p,{children:`The date and time when the command was registered in the mobway system [YYYY-MM-DD HH:MM:SS] (UTC-3).`})}),`\n`,_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code-1`,children:_jsxs(_components.p,{children:[`The 6-digit confirmation code. It is present only in the confirmation response (`,_jsx(_components.code,{children:`status: \"Confirmation\"`}),`) for ignition commands. Resend the request with this value in the `,_jsx(_components.code,{children:`code`}),` field to execute the command.`]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`The alert message, in Portuguese, to be displayed to the user before confirming the action. It is present only in the confirmation response.`})}),`\n`,_jsxs(ResponseField,{name:`detail`,type:`string`,id:`param-detail`,children:[_jsx(_components.p,{children:`The cause of the request error. This field is only present when the request fails.`}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`“Invalid VIN. VIN must be a string. At least one VIN is required.”: The request is malformed because the required `,_jsx(_components.code,{children:`vin`}),` parameter is missing.`]}),`\n`,_jsxs(_components.li,{children:[`“Invalid command. Command must be a string. At least one command is required.”: The request is malformed because the required `,_jsx(_components.code,{children:`command`}),` parameter is missing.`]}),`\n`,_jsx(_components.li,{children:`“VIN not found or unauthorized access.”: The requested VIN is invalid, is not associated with your company, or the vehicle ownership type does not allow this action.`}),`\n`,_jsx(_components.li,{children:`“Command not found or unauthorized access.”: The requested command is not available for this vehicle, either because of OEM restrictions or because it is not included in your package plan.`}),`\n`,_jsx(_components.li,{children:`“Sign-secret not found.”: The HMAC signature provided in the X-Signature header does not match any application associated with the company.`}),`\n`,_jsxs(_components.li,{children:[`“X-Signature invalid.”: The HMAC signature provided in the `,_jsx(_components.code,{children:`X-Signature`}),` header does not match the signature calculated from the request body.`]}),`\n`,_jsx(_components.li,{children:`“Failed to send command to the OEM.”: An error occurred while attempting to send the command to the OEM system.`}),`\n`,_jsx(_components.li,{children:`“Failed to initiate command with the OEM or retrieve status URL.”: An error occurred while initiating the command with the OEM or obtaining the URL required to check the status later.`}),`\n`,_jsxs(_components.li,{children:[`“Confirmation invalid”: The provided confirmation code is invalid. Restart the flow by sending the request without the `,_jsx(_components.code,{children:`code`}),` field to obtain a new code.`]}),`\n`,_jsxs(_components.li,{children:[`“Confirmation already used”: The confirmation code has already been used. Each code can be used only once. Restart the flow by sending the request without the `,_jsx(_components.code,{children:`code`}),` field to obtain a new one.`]}),`\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.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"POST vehicle-command","api":"POST https://api.mobway.cloud/vehicle-command","description":"Sends a remote command to a vehicle connected to the company","href":"/en/api-reference/endpoint/command"}}},"mdxSourceWithNoJs":{"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`,h5:`h5`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`This route starts the execution of a remote command for a single specific vehicle. The command is executed in the background. Use the GET `,_jsx(_components.code,{children:`/vehicle-command/{command_id}`}),` route to check the command status.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The ignition commands `,_jsx(_components.code,{children:`enable_ignition`}),` and `,_jsx(_components.code,{children:`disable_ignition`}),` require `,_jsx(_components.strong,{children:`two-step confirmation`}),`. On the first call (without the `,_jsx(_components.code,{children:`code`}),` field), the command is `,_jsx(_components.strong,{children:`not executed`}),`: the response returns `,_jsx(_components.code,{children:`status: \"Confirmation\"`}),` with a 6-digit `,_jsx(_components.code,{children:`code`}),` and a `,_jsx(_components.code,{children:`message`}),` to display to the user. To execute the command, resend the same request including the received `,_jsx(_components.code,{children:`code`}),`. All other commands are executed in a single call.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(_components.h5,{children:_jsx(_components.strong,{children:`Header`})}),`\n`,_jsx(ParamField,{body:`Authorization`,type:`string`,required:`true`,id:`param-authorization`,children:_jsx(_components.p,{children:`The bearer token used to authenticate the company.`})}),`\n`,_jsxs(ParamField,{body:`X-Signature`,type:`string`,required:`true`,id:`param-x-signature`,children:[_jsxs(_components.p,{children:[`HMAC SHA256 signature of the request body, using the application’s `,_jsx(_components.strong,{children:`sign-secret`}),` as the key. The body must be serialized as JSON without extra spaces and with keys sorted alphabetically before generating the signature. See the example below:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: vin, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: command}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`body `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json.dumps(data, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`separators`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\",\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\":\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`sort_keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`signature `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hmac.new(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_SIGN_SECRET_PROVIDED_BY_MOBWAY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, body.encode(), hashlib.sha256).hexdigest()`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`code`}),` field (when sent in the second step of ignition commands) is `,_jsx(_components.strong,{children:`not`}),` part of the signature. Only `,_jsx(_components.code,{children:`vin`}),` and `,_jsx(_components.code,{children:`command`}),` are signed.`]})]}),`\n`,_jsx(_components.h5,{children:_jsx(_components.strong,{children:`Body`})}),`\n`,_jsx(ParamField,{body:`vin`,type:`string`,required:`true`,id:`param-vin`,children:_jsx(_components.p,{children:`The Vehicle Identification Number (VIN) of the vehicle to which the command will be sent.`})}),`\n`,_jsx(ParamField,{body:`command`,type:`string`,required:`true`,id:`param-command`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/en/command/general`,children:`remote command`}),` to execute on the vehicle.`]})}),`\n`,_jsx(ParamField,{body:`code`,type:`string`,id:`param-code`,children:_jsxs(_components.p,{children:[`The 6-digit confirmation code returned in the first step of ignition commands (`,_jsx(_components.code,{children:`enable_ignition`}),` and `,_jsx(_components.code,{children:`disable_ignition`}),`). Provide it to execute the command in the second call. This does not apply to other commands.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`The unique identifier (UUID) of the command registered in the mobway system. Use this ID to check the command status later with GET `,_jsx(_components.code,{children:`/vehicle-command/{command_id}`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`vin`,type:`string`,id:`param-vin-1`,children:_jsx(_components.p,{children:`The vehicle’s unique identification number.`})}),`\n`,_jsx(ResponseField,{name:`command`,type:`string`,id:`param-command-1`,children:_jsx(_components.p,{children:`The command that was requested.`})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`The initial status of the command. It can be “Confirmation”, when an ignition command is waiting for the second confirmation step (resubmission with the `,_jsx(_components.code,{children:`code`}),`), “Pending”, when the command has not yet been processed, or “Error”, when the command was not executed successfully.`]})}),`\n`,_jsx(ResponseField,{name:`created`,type:`datetime`,id:`param-created`,children:_jsx(_components.p,{children:`The date and time when the command was registered in the mobway system [YYYY-MM-DD HH:MM:SS] (UTC-3).`})}),`\n`,_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code-1`,children:_jsxs(_components.p,{children:[`The 6-digit confirmation code. It is present only in the confirmation response (`,_jsx(_components.code,{children:`status: \"Confirmation\"`}),`) for ignition commands. Resend the request with this value in the `,_jsx(_components.code,{children:`code`}),` field to execute the command.`]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`The alert message, in Portuguese, to be displayed to the user before confirming the action. It is present only in the confirmation response.`})}),`\n`,_jsxs(ResponseField,{name:`detail`,type:`string`,id:`param-detail`,children:[_jsx(_components.p,{children:`The cause of the request error. This field is only present when the request fails.`}),_jsx(Warning,{children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`“Invalid VIN. VIN must be a string. At least one VIN is required.”: The request is malformed because the required `,_jsx(_components.code,{children:`vin`}),` parameter is missing.`]}),`\n`,_jsxs(_components.li,{children:[`“Invalid command. Command must be a string. At least one command is required.”: The request is malformed because the required `,_jsx(_components.code,{children:`command`}),` parameter is missing.`]}),`\n`,_jsx(_components.li,{children:`“VIN not found or unauthorized access.”: The requested VIN is invalid, is not associated with your company, or the vehicle ownership type does not allow this action.`}),`\n`,_jsx(_components.li,{children:`“Command not found or unauthorized access.”: The requested command is not available for this vehicle, either because of OEM restrictions or because it is not included in your package plan.`}),`\n`,_jsx(_components.li,{children:`“Sign-secret not found.”: The HMAC signature provided in the X-Signature header does not match any application associated with the company.`}),`\n`,_jsxs(_components.li,{children:[`“X-Signature invalid.”: The HMAC signature provided in the `,_jsx(_components.code,{children:`X-Signature`}),` header does not match the signature calculated from the request body.`]}),`\n`,_jsx(_components.li,{children:`“Failed to send command to the OEM.”: An error occurred while attempting to send the command to the OEM system.`}),`\n`,_jsx(_components.li,{children:`“Failed to initiate command with the OEM or retrieve status URL.”: An error occurred while initiating the command with the OEM or obtaining the URL required to check the status later.`}),`\n`,_jsxs(_components.li,{children:[`“Confirmation invalid”: The provided confirmation code is invalid. Restart the flow by sending the request without the `,_jsx(_components.code,{children:`code`}),` field to obtain a new code.`]}),`\n`,_jsxs(_components.li,{children:[`“Confirmation already used”: The confirmation code has already been used. Each code can be used only once. Restart the flow by sending the request without the `,_jsx(_components.code,{children:`code`}),` field to obtain a new one.`]}),`\n`]})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Request`,numberOfLines:`9`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.mobway.cloud/vehicle-command`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Signature: \u003csignature>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vin\": \"{vin}\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"command\": \"{command}\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Request Confirmation (2nd stage of ignition commands)`,numberOfLines:`10`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.mobway.cloud/vehicle-command`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Signature: \u003csignature>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vin\": \"{vin}\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"command\": \"{command}\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"code\": \"{code}\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Response Pending`,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:[_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8619b2df-1d68-40e1-8760-cf36f06d00b5\"`}),_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:` \"vin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6AHFT68CKAF501652\"`}),_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:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"diagnostics\"`}),_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:`\"Pending\"`}),_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:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-02-14 09:51:48\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response Confirmation`,numberOfLines:`8`,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:`8`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8619b2df-1d68-40e1-8760-cf36f06d00b5\"`}),_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:` \"vin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6AHFT68CKAF501652\"`}),_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:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disable_ignition\"`}),_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:`\"Confirmation\"`}),_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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"559289\"`}),_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:`\"\u003cmensagem de alerta retornada pela API>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response Error`,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:` \"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Signature invalid.\"`})]}),`\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.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"POST vehicle-command","api":"POST https://api.mobway.cloud/vehicle-command","description":"Sends a remote command to a vehicle connected to the company","href":"/en/api-reference/endpoint/command"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","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=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.mobway.cloud/vehicle-command\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'X-Signature: \u0026#x3C;signature>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"vin\": \"{vin}\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"command\": \"{command}\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Request Confirmation (2nd stage of ignition commands)","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=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.mobway.cloud/vehicle-command\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'X-Signature: \u0026#x3C;signature>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"vin\": \"{vin}\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"command\": \"{command}\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"code\": \"{code}\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response Pending","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=\"7\">\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8619b2df-1d68-40e1-8760-cf36f06d00b5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"vin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6AHFT68CKAF501652\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"command\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"diagnostics\"\u003c/span>\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\">\"Pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-02-14 09:51:48\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Response Confirmation","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=\"8\">\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8619b2df-1d68-40e1-8760-cf36f06d00b5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"vin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6AHFT68CKAF501652\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"command\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"disable_ignition\"\u003c/span>\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\">\"Confirmation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"559289\"\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\">\"\u0026#x3C;mensagem de alerta retornada pela API>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Response Error","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=\"3\">\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\"> \"detail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"X-Signature invalid.\"\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":"POST vehicle-command","path":"/vehicle-command","servers":[{"url":"https://api.mobway.cloud"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"Authorization":[{"type":"string","description":"The bearer token used to authenticate the company."}],"X-Signature":[{"type":"string","description":"HMAC SHA256 signature of the request body, using the application’s sign-secret as the key. The body must be serialized as JSON without extra spaces and with keys sorted alphabetically before generating the signature. See the example below: The `code` field (when sent in the second step of ignition commands) is not part of the signature. Only `vin` and `command` are signed."}],"vin":[{"type":"string","description":"The Vehicle Identification Number (VIN) of the vehicle to which the command will be sent."}],"command":[{"type":"string","description":"The remote command to execute on the vehicle."}],"code":[{"type":"string","description":"The 6-digit confirmation code returned in the first step of ignition commands ( `enable_ignition` and `disable_ignition` ). Provide it to execute the command in the second call. This does not apply to other commands."}]}}],"examples":{"example":{"value":{"Authorization":"\u003cstring>","X-Signature":"\u003cstring>","vin":"\u003cstring>","command":"\u003cstring>","code":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"The unique identifier (UUID) of the command registered in the mobway system. Use this ID to check the command status later with GET `/vehicle-command/{command_id}` ."}],"vin":[{"type":"string","description":"The vehicle’s unique identification number."}],"command":[{"type":"string","description":"The command that was requested."}],"status":[{"type":"string","description":"The initial status of the command. It can be “Confirmation”, when an ignition command is waiting for the second confirmation step (resubmission with the `code` ), “Pending”, when the command has not yet been processed, or “Error”, when the command was not executed successfully."}],"created":[{"type":"object","properties":{},"description":"The date and time when the command was registered in the mobway system [YYYY-MM-DD HH:MM:SS] (UTC-3)."}],"code":[{"type":"string","description":"The 6-digit confirmation code. It is present only in the confirmation response ( `status: \"Confirmation\"` ) for ignition commands. Resend the request with this value in the `code` field to execute the command."}],"message":[{"type":"string","description":"The alert message, in Portuguese, to be displayed to the user before confirming the action. It is present only in the confirmation response."}],"detail":[{"type":"string","description":"The cause of the request error. This field is only present when the request fails."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","vin":"\u003cstring>","command":"\u003cstring>","status":"\u003cstring>","created":{},"code":"\u003cstring>","message":"\u003cstring>","detail":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"mobway-56","siteName":"mobway","title":"POST vehicle-command - mobway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/api-reference/endpoint/command","matchLevel":1},"en":{"href":"/en/api-reference/endpoint/command","matchLevel":0}}},"lastModified":"2026-06-29T21:16:27.350Z","originalFileLocation":"en/api-reference/endpoint/command.mdx","locale":"en"},"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=\"Sends a remote command to a vehicle connected to the company\">\u003cmeta data-mint-head name=\"application-name\" content=\"mobway\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"POST vehicle-command - mobway\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a remote command to a vehicle connected to the company\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"mobway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mobway.cloud/en/api-reference/endpoint/command\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mobway-56.mintlify.site/_mintlify/api/og/v2?division=Endpoint\u0026amp;title=POST+vehicle-command\u0026amp;description=Sends+a+remote+command+to+a+vehicle+connected+to+the+company\u0026amp;theme=8f8d85707ab90e1416e89fe9\u0026amp;signature=5fc5287acf655c80b595999d363ffeec337410cba16e59f31d2bb7127b2a9318\">\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=\"POST vehicle-command - mobway\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a remote command to a vehicle connected to the company\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mobway-56.mintlify.site/_mintlify/api/og/v2?division=Endpoint\u0026amp;title=POST+vehicle-command\u0026amp;description=Sends+a+remote+command+to+a+vehicle+connected+to+the+company\u0026amp;theme=8f8d85707ab90e1416e89fe9\u0026amp;signature=5fc5287acf655c80b595999d363ffeec337410cba16e59f31d2bb7127b2a9318\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mobway-56/uhyalmFcw2f9Lrdq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"mobway\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E22945\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mobway.cloud/en/api-reference/endpoint/command\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/endpoint/command.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.mobway.cloud/en/api-reference/endpoint/command\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.mobway.cloud/api-reference/endpoint/command\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.mobway.cloud/api-reference/endpoint/command\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mobway.cloud/#organization\",\"name\":\"mobway\",\"url\":\"https://docs.mobway.cloud\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mobway-56/IbCUF8ABfLSzu1d1/logo/logo-docs-white.svg?fit=max\u0026auto=format\u0026n=IbCUF8ABfLSzu1d1\u0026q=85\u0026s=31811615cf40ed3a22cb49d2e8eee00c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mobway.cloud#website\",\"name\":\"mobway\",\"url\":\"https://docs.mobway.cloud\",\"publisher\":{\"@id\":\"https://docs.mobway.cloud/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command#webpage\",\"url\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command\",\"name\":\"POST vehicle-command\",\"description\":\"Sends a remote command to a vehicle connected to the company\",\"dateModified\":\"2026-06-29T21:16:27.350Z\",\"isPartOf\":{\"@id\":\"https://docs.mobway.cloud#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint\",\"item\":\"https://docs.mobway.cloud/en/api-reference/endpoint/token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"POST vehicle-command\",\"item\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command#apireference\",\"headline\":\"POST vehicle-command\",\"name\":\"POST vehicle-command\",\"description\":\"Sends a remote command to a vehicle connected to the company\",\"url\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mobway.cloud/en/api-reference/endpoint/command#webpage\"},\"dateModified\":\"2026-06-29T21:16:27.350Z\",\"publisher\":{\"@id\":\"https://docs.mobway.cloud/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mobway.cloud#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"mobway\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"mobway\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/endpoint/command.md","siteName":"mobway","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"mailto:support@mobway.cloud","label":"Suporte"}],"primary":{"type":"button","label":"Website","href":"https://www.mobway.cloud/"}},"pages":[{"title":"pt-BR","href":"/api-reference/endpoint/command"}]},{"language":"en","navbar":{"links":[{"href":"mailto:support@mobway.cloud","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://www.mobway.cloud/"}},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/introduction"}]},{"tab":"API Reference","groups":[{"group":"General","pages":[{"title":"OAuth2 Authentication","href":"/en/api-reference/key"},{"title":"Token","href":"/en/api-reference/token"},{"title":"Webhook","href":"/en/api-reference/webhook"},{"title":"Collection","href":"/en/api-reference/collection"}]},{"group":"Endpoint","pages":[{"title":"POST token","api":"POST https://api.mobway.cloud/token","href":"/en/api-reference/endpoint/token"},{"title":"GET vehicle","api":"GET https://api.mobway.cloud/vehicle","href":"/en/api-reference/endpoint/vehicle"},{"title":"GET vehicle/{vin}","api":"GET https://api.mobway.cloud/vehicle/{vin}","href":"/en/api-reference/endpoint/vin"},{"title":"POST vehicle-data","api":"POST https://api.mobway.cloud/vehicle-data","description":"Returns data from vehicles connected to the company","href":"/en/api-reference/endpoint/data"},{"title":"POST vehicle-command","api":"POST https://api.mobway.cloud/vehicle-command","href":"/en/api-reference/endpoint/command"},{"title":"GET vehicle-command/{command_id}","api":"GET https://api.mobway.cloud/vehicle-command/{command_id}","description":"Checks the status of a previously submitted remote command.","href":"/en/api-reference/endpoint/status"}]}]}]}]},"basePath":"","title":"POST vehicle-command - mobway","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js"]}