Create custom language
POST {{base_url}}/custom-languages
Once your custom language is created, you can apply it to any form using the custom_language_id
value.
Refer to Forms --> Update a form --> Use custom language within the API documentation for more information.
Request Body
{"name"=>"My Custom Language", "base_language"=>"en-US", "values"=>{"form-page.actions.answer-type-picker"=>"How would you like to answer?", "form-page.actions.video-type"=>"video", "form-page.actions.audio-type"=>"audio", "form-page.actions.text-type"=>"text", "form-page.actions.long-video-type"=>"Record your answer", "form-page.actions.long-audio-type"=>"Record your answer", "form-page.text-field.placeholder-text"=>"Type here...", "form-page.video-recorder.record-prompt"=>"Hit RECORD to start!", "form-page.video-audio.support-prompt"=>"✌️ You can practice before sending", "form-page.confirmation.approve-button"=>"YES", "form-page.confirmation.reject-button"=>"NO", "form-page.confirmation.prompt"=>"Ready to send?", "form-page.video-recorder.loading-text"=>"Firing up...", "form-page.audio-recorder.loading-text"=>"Firing up...", "form-page.poll-single-tip"=>"Choose 1 of ", "form-page.poll-multi-tip"=>"Choose up to", "form-page.poll-tip-options"=>"options", "form-page.voice-speak_prompt"=>"Speak", "form-page.voice-thinking_prompt"=>"Thinking", "form-page.voice-not_understood"=>"I did not understand", "form-page.voice-try_again"=>"Try again", "form-page.actions.calendar-type"=>"Book a meeting", "form-page.thankyou.visual-or-text"=>"🙌", "form-page.thankyou.success-message"=>"All done! Thank you for answering.", "form-page.contact-form.prompt-singleStep"=>"Before you go, please leave your contact details so we can get back to you...", "form-page.contact-form.prompt-multiStep"=>"Before you go, please leave your contact details so we can get back to you...", "form-page.contact-form.placeholder-name"=>"Your name", "form-page.contact-form.placeholder-email"=>"Your email", "form-page.contact-form.placeholder-phone-number"=>"Your phone number", "form-page.contact-form.placeholder-product-name"=>"Your product name", "form-page.contact-form.invalid-email-message"=>"This e-mail looks badly formatted.", "form-page.contact-form.invalid-phone-number-message"=>"This phone number looks incorrect.", "form-page.contact-form.missing-consent"=>"Accept the terms & conditions", "form-page.contact-form.final-step-cta"=>"Send your answer", "form-page.contact-form.next-step-cta"=>"Next step", "form-page.uploading-screen.title"=>"Sending...", "form-page.uploading-screen.description-uploading"=>"We're currently uploading your response.", "form-page.uploading-screen.leaving-warning"=>"Please don't leave this page!", "form-page.uploading-banner.upload-message"=>"Uploading", "form-page.uploading-banner.leaving-warning"=>"Please don't leave this page!", "form-page.actions.time-to-interact"=>"Interact in ${seconds}s", "form-page.redirecting-screen.title"=>"Redirecting...", "form-page.uploading-screen.description-redirect-part-0"=>"We'll automatically redirect you to", "form-page.uploading-screen.description-redirect-part-1-link"=>"this url", "form-page.uploading-screen.description-redirect-part-2"=>"once the upload is finished.", "form-page.barbones-renderer.fallback-cta"=>"Reply", "form-page.live-retry.description"=>"Bummer! Looks like no one is available to take your call.", "form-page.live-retry.cta"=>"Retry call", "form-page.live-retry.rejection"=>"Never mind, let's continue", "form-page.recording-permissions.title"=>"To record video, your browser will need to request access to your camera & microphone.", "form-page.recording-permissions.button"=>"Request permissions", "form-page.in-app-instructions.dots-icon-browser"=>"To answer, please tap the <b>" icon</b> and then select <b>"Open in Browser"</b>", "form-page.in-app-instructions.dots-icon-safari"=>"To answer, please tap the <b>" icon</b> and then select <b>"Open in Safari"</b>", "form-page.in-app-instructions.dots-icon-chrome"=>"To answer, please tap the <b>" icon</b> and then select <b>"Open in Chrome"</b>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
Organization-Id | string |
RESPONSES
status: Created
{"custom_language_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","organization_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"My Custom Language","base_language":"en-US","values":{"form-page.actions.answer-type-picker":"How would you like to answer?","form-page.actions.video-type":"video","form-page.actions.audio-type":"audio","form-page.actions.text-type":"text","form-page.actions.long-video-type":"Record your answer","form-page.actions.long-audio-type":"Record your answer","form-page.text-field.placeholder-text":"Type here...","form-page.video-recorder.record-prompt":"Hit RECORD to start!","form-page.video-audio.support-prompt":"✌️ You can practice before sending","form-page.confirmation.approve-button":"YES","form-page.confirmation.reject-button":"NO","form-page.confirmation.prompt":"Ready to send?","form-page.video-recorder.loading-text":"Firing up...","form-page.audio-recorder.loading-text":"Firing up...","form-page.poll-single-tip":"Choose 1 of ","form-page.poll-multi-tip":"Choose up to","form-page.poll-tip-options":"options","form-page.voice-speak_prompt":"Speak","form-page.voice-thinking_prompt":"Thinking","form-page.voice-not_understood":"I did not understand","form-page.voice-try_again":"Try again","form-page.actions.calendar-type":"Book a meeting","form-page.thankyou.visual-or-text":"🙌","form-page.thankyou.success-message":"All done! Thank you for answering.","form-page.contact-form.prompt-singleStep":"Before you go, please leave your contact details so we can get back to you...","form-page.contact-form.prompt-multiStep":"Before you go, please leave your contact details so we can get back to you...","form-page.contact-form.placeholder-name":"Your name","form-page.contact-form.placeholder-email":"Your email","form-page.contact-form.placeholder-phone-number":"Your phone number","form-page.contact-form.placeholder-product-name":"Your product name","form-page.contact-form.invalid-email-message":"This e-mail looks badly formatted.","form-page.contact-form.invalid-phone-number-message":"This phone number looks incorrect.","form-page.contact-form.missing-consent":"Accept the terms \u0026 conditions","form-page.contact-form.final-step-cta":"Send your answer","form-page.contact-form.next-step-cta":"Next step","form-page.uploading-screen.title":"Sending...","form-page.uploading-screen.description-uploading":"We're currently uploading your response.","form-page.uploading-screen.leaving-warning":"Please don't leave this page!","form-page.uploading-banner.upload-message":"Uploading","form-page.uploading-banner.leaving-warning":"Please don't leave this page!","form-page.actions.time-to-interact":"Interact in ${seconds}s","form-page.redirecting-screen.title":"Redirecting...","form-page.uploading-screen.description-redirect-part-0":"We'll automatically redirect you to","form-page.uploading-screen.description-redirect-part-1-link":"this url","form-page.uploading-screen.description-redirect-part-2":"once the upload is finished.","form-page.barbones-renderer.fallback-cta":"Reply","form-page.live-retry.description":"Bummer! Looks like no one is available to take your call.","form-page.live-retry.cta":"Retry call","form-page.live-retry.rejection":"Never mind, let's continue","form-page.recording-permissions.title":"To record video, your browser will need to request access to your camera \u0026 microphone.","form-page.recording-permissions.button":"Request permissions","form-page.in-app-instructions.dots-icon-browser":"To answer, please tap the \u003cb\u003e\u0026quot; icon\u003c/b\u003e and then select \u003cb\u003e\u0026quot;Open in Browser\u0026quot;\u003c/b\u003e","form-page.in-app-instructions.dots-icon-safari":"To answer, please tap the \u003cb\u003e\u0026quot; icon\u003c/b\u003e and then select \u003cb\u003e\u0026quot;Open in Safari\u0026quot;\u003c/b\u003e","form-page.in-app-instructions.dots-icon-chrome":"To answer, please tap the \u003cb\u003e\u0026quot; icon\u003c/b\u003e and then select \u003cb\u003e\u0026quot;Open in Chrome\u0026quot;\u003c/b\u003e"}}