{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"SDK Reference","type":"markdown"},"seo":{"title":"RESPONSE_OPTIONS","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"response_options","__idx":0},"children":["RESPONSE_OPTIONS"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Built-in ids for ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-ref/cordova-ts-identity-orchestration/functions#submitclientresponse"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["submitClientResponse()"]}]},". Read them from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cordova.tsido.RESPONSE_OPTIONS"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Custom option ids come from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["response.clientResponseOptions"]}," and are passed through as-is. Schema ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," can also be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The plugin maps server snake_case ids onto these tokens: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_input"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientinput"]}," become ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientInput"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action_failure"]}," becomes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fail"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"members","__idx":1},"children":["Members"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Member"},"children":["Member"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CLIENT_INPUT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"clientInput\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Main reply for the step"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCEL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"cancel\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Cancel branch"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAIL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fail\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Failure branch"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RESEND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"resend\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Resend branch, for example a new one-time passcode"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"usage","__idx":2},"children":["Usage"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"await cordova.tsido.submitClientResponse(\n  cordova.tsido.RESPONSE_OPTIONS.CLIENT_INPUT,\n  { passcode: '123456' }\n);\n\nawait cordova.tsido.submitClientResponse(cordova.tsido.RESPONSE_OPTIONS.CANCEL);\n","lang":"javascript"},"children":[]}]},"headings":[{"value":"RESPONSE_OPTIONS","id":"response_options","depth":1},{"value":"Members","id":"members","depth":2},{"value":"Usage","id":"usage","depth":2}],"frontmatter":{"title":"RESPONSE_OPTIONS","seo":{"title":"RESPONSE_OPTIONS"}},"lastModified":"2026-11-01T13:07:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-ref/cordova-ts-identity-orchestration/enums/responseoptions","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}