{"id":178040,"date":"2025-09-29T16:19:19","date_gmt":"2025-09-29T07:19:19","guid":{"rendered":"https:\/\/support.questetra.com\/?p=178040"},"modified":"2025-10-23T16:43:51","modified_gmt":"2025-10-23T07:43:51","slug":"qguide-request-to-openai-api-2025","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-2025\/","title":{"rendered":"qGuide: Request to OpenAI API"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-background\" style=\"background-color:#ffc69b;margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--20);padding-bottom:0;padding-left:var(--wp--preset--spacing--20)\"><strong>qGuide: Request to OpenAI API<\/strong><\/h4>\n\n\n\n<p class=\"has-text-align-right has-background has-small-font-size mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffc69b;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/support.questetra.com\/en\/deco-ja\/qguide-request-to-openai-api-2025\/\"><span class=\"material-icons\">translate<\/span> qGuide: OpenAI API \u306b\u30ea\u30af\u30a8\u30b9\u30c8<\/a><\/p>\n\n\n\n<p class=\"has-background mt-0 pt-0 wp-block-paragraph\" style=\"background-color:#ffe5ce;margin-top:0;margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">Send the Input-string and ApiKey-string to the Responses API via CORS. The responses (the sentence generated by the model) will be displayed in streaming format. Depending on the prompt settings, various support functions to assist task operators can be provided, such as a typo check function, a text rewrite function, and a list of possible reasons for rejection.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Input \/ Output<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2190 STRING (STRING_TEXTFIELD) <code>q_input<\/code><\/li>\n\n\n\n<li>\u2190 STRING (STRING_TEXTFIELD) <code>q_instruction<\/code><\/li>\n\n\n\n<li>\u2190 STRING (STRING_TEXTFIELD) <code>q_openAiApiKey<\/code><\/li>\n\n\n\n<li>\u2192 <code>pre#user_result<\/code><\/li>\n\n\n\n<li>\u2192 <code>div#user_status<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Code Example<\/span><\/h3>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details open><summary class=\"wp-block-coblocks-accordion-item__title has-background\" style=\"background-color:#ffe5ce\">HTML\/JavaScript (click to close)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\" style=\"border-color:#ffe5ce\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;style&gt;\n\/* AI\u547c\u3073\u51fa\u3057\u30dc\u30bf\u30f3 *\/\n.user_aiBtn {\n  border: 1px solid #ccc;\n  background-color: #fff;\n  padding: 6px 12px;\n  border-radius: 20px;\n  cursor: pointer;\n  font-size: 13px;\n  transition: all 0.2s ease;\n  color: #333;\n  margin-right: 8px; \/* \u30dc\u30bf\u30f3\u9593\u306e\u4f59\u767d *\/\n  margin-bottom: 12px;\n}\n.user_aiBtn:hover {\n  background-color: #f0f0f0;\n  border-color: #bbb;\n}\n.user_aiBtn:disabled {\n  opacity: 0.5;\n  cursor: not-allowed;\n  background-color: #eee;\n}\n\n\/* \u7d50\u679c\u8868\u793a\u30a8\u30ea\u30a2 *\/\n#user_result {\n  background-color: #f9f9f9;\n  border: 1px solid #ddd;\n  border-radius: 4px;\n  padding: 12px;\n  min-height: 8em;\n  white-space: pre-wrap;\n  word-break: break-word;\n  font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\n  font-size: 14px;\n  line-height: 1.6;\n  color: #222;\n  margin-top: 4px;\n}\n\n\/* \u30b9\u30c6\u30fc\u30bf\u30b9\u8868\u793a\u30a8\u30ea\u30a2 *\/\n#user_status {\n  font: 12px\/1.4 system-ui, sans-serif;\n  opacity: 0.75;\n  margin-top: 8px;\n  min-height: 1.4em;\n}\n\n\/* \u30bf\u30a4\u30d4\u30f3\u30b0\u30ab\u30fc\u30bd\u30eb\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3 *\/\n@keyframes blink {\n  50% { opacity: 0; }\n}\n.user_cursor {\n  display: inline-block;\n  width: 8px;\n  height: 1em;\n  background-color: #333;\n  margin-left: 2px;\n  animation: blink 1s step-end infinite;\n  vertical-align: text-bottom;\n}\n&lt;\/style&gt;\n\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-nano&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-mini&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-codex&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-4o&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-4o-mini&lt;\/button&gt;\n\n&lt;pre id=&quot;user_result&quot;&gt;&lt;\/pre&gt;\n&lt;div id=&quot;user_status&quot;&gt;&lt;\/div&gt;\n\n\n&lt;script&gt;\n\/\/ --- \u5168\u3066\u306e\u30dc\u30bf\u30f3\u306b\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u3092\u8a2d\u5b9a ---\nconst aiButtons = document.querySelectorAll(&quot;.user_aiBtn&quot;);\naiButtons.forEach(button =&gt; {\n  button.addEventListener(&quot;click&quot;, async (event) =&gt; {\n    \/\/ --- Questetra\u306e\u30c7\u30fc\u30bf\u9805\u76ee\u304b\u3089\u5024\u3092\u53d6\u5f97 ---\n    const strKey = qbpms.form.get(&quot;q_openAiApiKey&quot;);\n    const strInstruction = qbpms.form.get(&quot;q_instruction&quot;) || &quot;&quot;; \/\/ \u4efb\u610f\n    const strInput = qbpms.form.get(&quot;q_input&quot;);\n\n    \/\/ --- \u5fc5\u8981\u306aHTML\u8981\u7d20\u3092\u53d6\u5f97 ---\n    const resultElement = document.getElementById(&quot;user_result&quot;);\n    const statusElement = document.getElementById(&quot;user_status&quot;);\n\n    \/\/ --- \u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u30dc\u30bf\u30f3\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30e2\u30c7\u30eb\u540d\u3068\u3057\u3066\u53d6\u5f97 ---\n    const modelName = event.currentTarget.innerText.trim();\n\n    \/\/ --- \u5165\u529b\u30c1\u30a7\u30c3\u30af ---\n    if (!strKey || !strInput) {\n      statusElement.innerText = &quot;API\u30ad\u30fc\u3068\u5165\u529b\u5185\u5bb9\u306f\u5fc5\u9808\u3067\u3059\u3002&quot;;\n      resultElement.innerText = &quot;&quot;;\n      return;\n    }\n\n    \/\/ --- UI\u3092\u51e6\u7406\u4e2d\u72b6\u614b\u306b\u66f4\u65b0 ---\n    aiButtons.forEach(btn =&gt; btn.disabled = true);\n    statusElement.innerText = &quot;AI\u306b\u63a5\u7d9a\u4e2d...&quot;;\n    resultElement.innerHTML = &#39;&lt;span class=&quot;user_cursor&quot;&gt;&lt;\/span&gt;&#39;;\n    const cursor = resultElement.querySelector(&quot;.user_cursor&quot;);\n\n    try {\n      \/\/ --- API\u30ea\u30af\u30a8\u30b9\u30c8\uff08Responses API \/ SSE \u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\uff09 ---\n      const response = await fetch(&quot;https:\/\/api.openai.com\/v1\/responses&quot;, {\n        method: &quot;POST&quot;,\n        headers: {\n          &quot;Content-Type&quot;: &quot;application\/json&quot;,\n          &quot;Authorization&quot;: `Bearer ${strKey}`\n        },\n        body: JSON.stringify({\n          model: modelName,\n          instructions: strInstruction,\n          input: strInput,\n          stream: true\n        })\n      });\n\n      \/\/ --- \u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u51e6\u7406 ---\n      if (!response.ok) {\n        let msg = `API Error: ${response.status}`;\n        try {\n          const err = await response.json();\n          msg += `\\n${JSON.stringify(err, null, 2)}`;\n        } catch (_) {}\n        throw new Error(msg);\n      }\n\n      statusElement.innerText = &quot;AI\u304c\u6587\u7ae0\u3092\u751f\u6210\u4e2d...&quot;;\n\n      \/\/ --- Responses API \u306eSSE\u3092\u8aad\u307f\u53d6\u308a\uff08event: \u3068 data: \u3092\u51e6\u7406\uff09---\n      const reader = response.body.getReader();\n      const decoder = new TextDecoder();\n      let buffer = &quot;&quot;;\n      let currentEvent = &quot;&quot;;\n\n      const flushLines = (chunkText) =&gt; {\n        buffer += chunkText;\n        const lines = buffer.split(\/\\r?\\n\/);\n        buffer = lines.pop() || &quot;&quot;; \/\/ \u6700\u5f8c\u306e\u4e0d\u5b8c\u5168\u884c\u306fbuffer\u306b\u623b\u3059\n\n        for (const line of lines) {\n          if (!line.trim()) continue;\n          if (line.startsWith(&quot;event:&quot;)) {\n            currentEvent = line.replace(\/^event:\\s*\/, &quot;&quot;).trim();\n            continue;\n          }\n          if (line.startsWith(&quot;data:&quot;)) {\n            const dataRaw = line.replace(\/^data:\\s*\/, &quot;&quot;).trim();\n            if (dataRaw === &quot;[DONE]&quot;) {\n              \/\/ \u516c\u5f0f\u306e\u7d42\u7aef\u30c8\u30fc\u30af\u30f3\n              return &quot;DONE&quot;;\n            }\n            try {\n              const data = JSON.parse(dataRaw);\n              if (currentEvent === &quot;response.output_text.delta&quot; && data.delta) {\n                cursor.insertAdjacentText(&quot;beforebegin&quot;, data.delta);\n              }\n              \/\/ \u30e2\u30c7\u30eb\u5074\u3067\u6700\u7d42\u5316\u30a4\u30d9\u30f3\u30c8\n              if (currentEvent === &quot;response.completed&quot;) {\n                return &quot;DONE&quot;;\n              }\n              \/\/ \u30a8\u30e9\u30fc\u30a4\u30d9\u30f3\u30c8\uff08\u307e\u308c\uff09\n              if (currentEvent === &quot;response.error&quot;) {\n                throw new Error(data?.error?.message || &quot;Unknown streaming error&quot;);\n              }\n            } catch (e) {\n              \/\/ JSON\u3067\u306a\u3044\u884c\u306f\u7121\u8996\uff08\u30ad\u30fc\u30d7\u30a2\u30e9\u30a4\u30d6\u7b49\uff09\n              console.error(&quot;SSE JSON parse error:&quot;, dataRaw, e);\n            }\n          }\n        }\n      };\n\n      while (true) {\n        const { done, value } = await reader.read();\n        if (done) break;\n        const text = decoder.decode(value, { stream: true });\n        const status = flushLines(text);\n        if (status === &quot;DONE&quot;) break;\n      }\n\n      statusElement.innerText = &quot;\u751f\u6210\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002&quot;;\n\n    } catch (error) {\n      console.error(&quot;Request failed:&quot;, error);\n      statusElement.innerText = &quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot;;\n      document.getElementById(&quot;user_result&quot;).innerText = String(error.message || error);\n    } finally {\n      \/\/ --- UI\u3092\u5143\u306b\u623b\u3059 ---\n      const c = document.querySelector(&quot;#user_result .user_cursor&quot;);\n      c?.remove();\n      aiButtons.forEach(btn =&gt; btn.disabled = false);\n    }\n  });\n});\n&lt;\/script&gt;<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n\n\n\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title has-background\" style=\"background-color:#ffe5ce\">HTML\/JavaScript (chat completions API version)<\/summary><div class=\"wp-block-coblocks-accordion-item__content\" style=\"border-color:#ffe5ce\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;style&gt;\n\/* AI\u547c\u3073\u51fa\u3057\u30dc\u30bf\u30f3 *\/\n.user_aiBtn {\n  border: 1px solid #ccc;\n  background-color: #fff;\n  padding: 6px 12px;\n  border-radius: 20px;\n  cursor: pointer;\n  font-size: 13px;\n  transition: all 0.2s ease;\n  color: #333;\n  margin-right: 8px; \/* \u30dc\u30bf\u30f3\u9593\u306e\u4f59\u767d *\/\n  margin-bottom: 12px;\n}\n.user_aiBtn:hover {\n  background-color: #f0f0f0;\n  border-color: #bbb;\n}\n.user_aiBtn:disabled {\n  opacity: 0.5;\n  cursor: not-allowed;\n  background-color: #eee;\n}\n\n\/* \u7d50\u679c\u8868\u793a\u30a8\u30ea\u30a2 *\/\n#user_result {\n  background-color: #f9f9f9;\n  border: 1px solid #ddd;\n  border-radius: 4px;\n  padding: 12px;\n  min-height: 8em;\n  white-space: pre-wrap;\n  word-break: break-word;\n  font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\n  font-size: 14px;\n  line-height: 1.6;\n  color: #222;\n  margin-top: 4px;\n}\n\n\/* \u30b9\u30c6\u30fc\u30bf\u30b9\u8868\u793a\u30a8\u30ea\u30a2 *\/\n#user_status {\n  font: 12px\/1.4 system-ui, sans-serif;\n  opacity: 0.75;\n  margin-top: 8px;\n  min-height: 1.4em;\n}\n\n\/* \u30bf\u30a4\u30d4\u30f3\u30b0\u30ab\u30fc\u30bd\u30eb\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3 *\/\n@keyframes blink {\n  50% { opacity: 0; }\n}\n.user_cursor {\n  display: inline-block;\n  width: 8px;\n  height: 1em;\n  background-color: #333;\n  margin-left: 2px;\n  animation: blink 1s step-end infinite;\n  vertical-align: text-bottom;\n}\n&lt;\/style&gt;\n\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-nano&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-mini&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-5-codex&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-4o&lt;\/button&gt;\n&lt;button type=&quot;button&quot; class=&quot;user_aiBtn&quot;&gt;gpt-4o-mini&lt;\/button&gt;\n\n&lt;pre id=&quot;user_result&quot;&gt;&lt;\/pre&gt;\n&lt;div id=&quot;user_status&quot;&gt;&lt;\/div&gt;\n\n\n&lt;script&gt;\n\/\/ --- \u5168\u3066\u306e\u30dc\u30bf\u30f3\u306b\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u3092\u8a2d\u5b9a ---\nconst aiButtons = document.querySelectorAll(&quot;.user_aiBtn&quot;);\naiButtons.forEach(button =&gt; {\n  button.addEventListener(&quot;click&quot;, async (event) =&gt; {\n    \/\/ --- Questetra\u306e\u30c7\u30fc\u30bf\u9805\u76ee\u304b\u3089\u5024\u3092\u53d6\u5f97 ---\n    const strKey = qbpms.form.get(&quot;q_openAiApiKey&quot;);\n    const strInstruction = qbpms.form.get(&quot;q_instruction&quot;);\n    const strInput = qbpms.form.get(&quot;q_input&quot;);\n\n    \/\/ --- \u5fc5\u8981\u306aHTML\u8981\u7d20\u3092\u53d6\u5f97 ---\n    const resultElement = document.getElementById(&quot;user_result&quot;);\n    const statusElement = document.getElementById(&quot;user_status&quot;);\n\n    \/\/ --- \u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u30dc\u30bf\u30f3\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u30e2\u30c7\u30eb\u540d\u3068\u3057\u3066\u53d6\u5f97 ---\n    const modelName = event.currentTarget.innerText.trim();\n\n    \/\/ --- \u5165\u529b\u30c1\u30a7\u30c3\u30af ---\n    if (!strKey || !strInput) {\n      statusElement.innerText = &quot;API\u30ad\u30fc\u3068\u5165\u529b\u5185\u5bb9\u306f\u5fc5\u9808\u3067\u3059\u3002&quot;;\n      resultElement.innerText = &quot;&quot;;\n      return;\n    }\n\n    \/\/ --- UI\u3092\u51e6\u7406\u4e2d\u72b6\u614b\u306b\u66f4\u65b0 ---\n    aiButtons.forEach(btn =&gt; btn.disabled = true);\n    statusElement.innerText = &quot;AI\u306b\u63a5\u7d9a\u4e2d...&quot;;\n    resultElement.innerHTML = &#39;&lt;span class=&quot;user_cursor&quot;&gt;&lt;\/span&gt;&#39;;\n    const cursor = resultElement.querySelector(&quot;.user_cursor&quot;);\n\n    try {\n      \/\/ --- API\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1 ---\n      const response = await fetch(&quot;https:\/\/api.openai.com\/v1\/chat\/completions&quot;, {\n        method: &quot;POST&quot;,\n        headers: {\n          &quot;Content-Type&quot;: &quot;application\/json&quot;,\n          &quot;Authorization&quot;: `Bearer ${strKey}`\n        },\n        body: JSON.stringify({\n          model: modelName,\n          messages: [\n            { role: &quot;system&quot;, content: strInstruction },\n            { role: &quot;user&quot;, content: strInput }\n          ],\n          stream: true\n        })\n      });\n\n      \/\/ --- \u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u51e6\u7406 ---\n      if (!response.ok) {\n        const errorData = await response.json();\n        throw new Error(`API Error: ${response.status}\\n${JSON.stringify(errorData, null, 2)}`);\n      }\n\n      statusElement.innerText = &quot;AI\u304c\u6587\u7ae0\u3092\u751f\u6210\u4e2d...&quot;;\n\n      \/\/ --- \u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3067\u51e6\u7406 ---\n      const reader = response.body.getReader();\n      const decoder = new TextDecoder();\n\n      while (true) {\n        const { done, value } = await reader.read();\n        if (done) break;\n\n        const chunk = decoder.decode(value);\n        const lines = chunk.split(&quot;\\n&quot;).filter(line =&gt; line.trim().startsWith(&quot;data:&quot;));\n\n        for (const line of lines) {\n          const rawJson = line.replace(\/^data: \/, &quot;&quot;).trim();\n          if (rawJson === &quot;[DONE]&quot;) break;\n\n          try {\n            const parsed = JSON.parse(rawJson);\n            const content = parsed.choices[0]?.delta?.content || &quot;&quot;;\n            if (content) {\n              cursor.insertAdjacentText(&#39;beforebegin&#39;, content);\n            }\n          } catch (e) {\n            console.error(&quot;JSON parse error:&quot;, rawJson, e);\n          }\n        }\n      }\n      statusElement.innerText = &quot;\u751f\u6210\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002&quot;;\n\n    } catch (error) {\n      console.error(&quot;Request failed:&quot;, error);\n      statusElement.innerText = &quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot;;\n      resultElement.innerText = error.message;\n    } finally {\n      \/\/ --- UI\u3092\u5143\u306b\u623b\u3059 ---\n      cursor?.remove();\n      aiButtons.forEach(btn =&gt; btn.disabled = false);\n    }\n  });\n});\n&lt;\/script&gt;<\/code><\/pre><\/div>\n<\/div><\/details><\/div>\n<\/div>\n\n\n\n<div class=\"has-small-font-size\" style=\"text-align: right;\"><div style=\"display: inline-block; background: #FBE7DD; text-align: center;\">\n<span class=\"material-icons\">warning<\/span> Freely modifiable HTML\/JavaScript code, MIT License. No warranty of any kind.<br>\n(<em><strong>Decoration using JavaScript<\/strong><\/em> is only available in the <em><strong><span style=\"color: #1970B9\">Professional<\/span><\/strong><\/em> edition: <a href=\"https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002245252-M213\">M213<\/a>)\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>Capture<\/span><\/h3>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a9ec24f68a20&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a9ec24f68a20\" class=\"wp-block-image aligncenter size-full has-lightbox wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"628\" data-attachment-id=\"178043\" data-permalink=\"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-2025\/attachment\/qguide-request-to-openai-api-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&amp;ssl=1\" data-orig-size=\"1200,628\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"qGuide-Request-to-OpenAI-API-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1024%2C536&amp;ssl=1\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=1200%2C628&#038;ssl=1\" alt=\"\" class=\"wp-image-178043\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=600%2C315&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=1024%2C536&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=768%2C402&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" data-attachment-id=\"178376\" data-permalink=\"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-2025\/attachment\/ai-decoration-gpt-4o-mini-inu\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-gpt-4o-mini-inu.gif?fit=1280%2C720&amp;ssl=1\" data-orig-size=\"1280,720\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ai-decoration-gpt-4o-mini-inu\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-gpt-4o-mini-inu.gif?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-gpt-4o-mini-inu.gif?resize=1280%2C720&#038;ssl=1\" alt=\"\" class=\"wp-image-178376\"\/><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a9ec24f69096&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a9ec24f69096\" class=\"wp-block-image aligncenter size-full is-style-default has-lightbox wp-lightbox-container\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" data-attachment-id=\"178046\" data-permalink=\"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-2025\/attachment\/ai-decoration-side-gpt-4o-mini\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-side-gpt-4o-mini.gif?fit=1280%2C720&amp;ssl=1\" data-orig-size=\"1280,720\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ai-decoration-side-gpt-4o-mini\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-side-gpt-4o-mini.gif?fit=1024%2C576&amp;ssl=1\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/ai-decoration-side-gpt-4o-mini.gif?resize=1280%2C720&#038;ssl=1\" alt=\"\" class=\"wp-image-178046\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:var(--wp--preset--spacing--30)\"><span>See also<\/span><\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"VJCdQEsy7z\"><a href=\"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-with-image-2025\/\">qGuide: Request to OpenAI API with Image<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;qGuide: Request to OpenAI API with Image&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/deco\/qguide-request-to-openai-api-with-image-2025\/embed\/#?secret=iXbq5lwust#?secret=VJCdQEsy7z\" data-secret=\"VJCdQEsy7z\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"iXPe6xWwwZ\"><a href=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-openai-chatgpt-chat\/\">OpenAI ChatGPT: Chat<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;OpenAI ChatGPT: Chat&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/bpmn-icons\/service-task-openai-chatgpt-chat\/embed\/#?secret=7EztyG8zos#?secret=iXPe6xWwwZ\" data-secret=\"iXPe6xWwwZ\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Send the Input-string and ApiKey-string to the Responses API via CORS. The responses (the sentence generated by the model) will be displayed in streaming format. Depending on the prompt settings, various support functions to assist task operators can be provided, such as a typo check function, a text rewrite function, and a list of possible reasons for rejection.<\/p>\n","protected":false},"author":2,"featured_media":178043,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[3439],"tags":[],"faq_section":[],"class_list":["post-178040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deco"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&ssl=1",1200,628,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=600%2C315&ssl=1",600,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=768%2C402&ssl=1",768,402,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1024%2C536&ssl=1",1024,536,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&ssl=1",1200,628,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=900%2C628&ssl=1",900,628,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=1200%2C628&ssl=1",1200,628,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=600%2C628&ssl=1",600,628,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=800%2C628&ssl=1",800,628,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&ssl=1",1200,628,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":2,"uagb_excerpt":"Send the Input-string and ApiKey-string to the Responses API via CORS. The responses (the sentence generated by the model) will be displayed in streaming format. Depending on the prompt settings, various support functions to assist task operators can be provided, such as a typo check function, a text rewrite function, and a list of possible&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-KjC","jetpack-related-posts":[{"id":70010,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/receive-task-webhook-twilio\/","url_meta":{"origin":178040,"position":0},"title":"Automatically Making a Phone Call in the Middle of a Workflow","author":"HatanakaAkihiro","date":"2018-06-26","format":false,"excerpt":"Making a phone call automatically in the middle of the Workflow by using the new function of v11.7, \"Receive Task (Webhook): Correspond so that content of HTTP response can be configured\" and Twilio in combination.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/06\/receive-task-webhook-twilio-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/06\/receive-task-webhook-twilio-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/06\/receive-task-webhook-twilio-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/06\/receive-task-webhook-twilio-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/06\/receive-task-webhook-twilio-1200x675-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":77675,"url":"https:\/\/support.questetra.com\/en\/templates\/translation-time-measurement-20160627\/","url_meta":{"origin":178040,"position":1},"title":"Translation-Time Measurement","author":"Hirotaka NISHI","date":"2021-02-22","format":false,"excerpt":"Translates the text of the manuscript. The sentences entered in [1 Translation request] will be delivered to the translator. On the Operating screen of [2 Translation work], scripts that are for measuring the working time by the stopwatch button and for counting the number of input characters have been set,\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-translation-time-measurement-20160627-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-translation-time-measurement-20160627-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-translation-time-measurement-20160627-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-translation-time-measurement-20160627-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-translation-time-measurement-20160627-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":70597,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/choices-salesforce\/","url_meta":{"origin":178040,"position":2},"title":"How to Use Customer Data in Salesforce as Options","author":"HatanakaAkihiro","date":"2018-08-16","format":false,"excerpt":"How to check details of selected customer data on Salesforce.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/salesforce-choices-1200x675-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":182066,"url":"https:\/\/support.questetra.com\/en\/deco\/qguide-request-to-openai-api-using-localstorage-2026\/","url_meta":{"origin":178040,"position":3},"title":"qGuide: Request to OpenAI API using localStorage","author":"IMAMURA, Genichi","date":"2026-04-02","format":false,"excerpt":"Sends the Input-string to the Responses API via CORS. The responses (the sentence generated by the model) will be displayed in streaming format. Depending on the prompt settings, various support functions to assist task operators can be provided, such as a typo check function, a text rewrite function, and a\u2026","rel":"","context":"In &quot;Task Form Decoration&quot;","block_context":{"text":"Task Form Decoration","link":"https:\/\/support.questetra.com\/en\/category\/deco\/"},"img":{"alt_text":"qGuide: Request to OpenAI API using localStorage","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/04\/deco-Request-to-OpenAI-API-using-localStorage-en.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/04\/deco-Request-to-OpenAI-API-using-localStorage-en.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/04\/deco-Request-to-OpenAI-API-using-localStorage-en.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/04\/deco-Request-to-OpenAI-API-using-localStorage-en.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2026\/04\/deco-Request-to-OpenAI-API-using-localStorage-en.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76130,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/message-start-event-http\/","url_meta":{"origin":178040,"position":4},"title":"Message Start Event (HTTP)","author":"Hirotaka NISHI","date":"2019-04-05","format":false,"excerpt":"Issues a URL that awaits an HTTP request. Starts a new Process automatically when an HTTP request is received. Capable of inserting values accepted as receive parameters to Business Data.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-message-start-event-http-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-message-start-event-http-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-message-start-event-http-1200x675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-message-start-event-http-1200x675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-message-start-event-http-1200x675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":68592,"url":"https:\/\/support.questetra.com\/en\/versions\/version-1160\/","url_meta":{"origin":178040,"position":5},"title":"v11.6 2018-03-12 Corresponds to HTTP Start which can Receive Request Body as It Is","author":"Hirotaka NISHI","date":"2018-02-26","format":false,"excerpt":"Release Overview Date Release Mon. Mar. 12th, 2018 Changes to be Noted Accessing to Developer APIs in OAuth 1.0 will be abolished Please change to connection using OAuth 2.0, which is available since version 11.1 With the elimination of OAuth 1.0 access to the software development API, the following external\u2026","rel":"","context":"In &quot;Version Info&quot;","block_context":{"text":"Version Info","link":"https:\/\/support.questetra.com\/en\/category\/versions\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/02\/version-1160-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/02\/version-1160-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/02\/version-1160-fi-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/02\/version-1160-fi-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/02\/version-1160-fi-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2025\/09\/qGuide-Request-to-OpenAI-API-en.png?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=178040"}],"version-history":[{"count":14,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178040\/revisions"}],"predecessor-version":[{"id":178518,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/178040\/revisions\/178518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/178043"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=178040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=178040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=178040"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=178040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}