Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tracy Interview API","colors":{"primary":"#16A34A","light":"#22C55E","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/qodeaansi/NN67d5AYfRV8lWUE/logo/light.svg?fit=max\u0026auto=format\u0026n=NN67d5AYfRV8lWUE\u0026q=85\u0026s=66b25daa4adf3213051e0a044b182c02","dark":"https://mintcdn.com/qodeaansi/NN67d5AYfRV8lWUE/logo/dark.svg?fit=max\u0026auto=format\u0026n=NN67d5AYfRV8lWUE\u0026q=85\u0026s=ae1cddad8af4d4146c2681e2328cb11e"},"favicon":"https://mintcdn.com/qodeaansi/NN67d5AYfRV8lWUE/favicon.svg?fit=max\u0026auto=format\u0026n=NN67d5AYfRV8lWUE\u0026q=85\u0026s=494f02eac0f8c43e11b78c91e214af3d","footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"qodeaansi","hasAudioNarration":false,"actualSubdomain":"qodeaansi","customDomains":["docs.interview.qode.world"],"gitSource":{"type":"github","owner":"thanhlp18-qode","repo":"qode-api-docs-ms-aansi","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95807f034dd2525b1d7b5:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API reference","count":14},{"language":"default","tag":"Interviews","count":5},{"language":"default","tag":"Coding Interviews","count":5},{"language":"default","tag":"Overview","count":3},{"language":"default","tag":"System","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/create-coding-interview","slug":"/api-reference/endpoint/create-coding-interview","pageMetadata":{"title":"Create coding interview","description":"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).","openapi":"POST /coding-interviews","href":"/api-reference/endpoint/create-coding-interview"},"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: \"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create coding interview","description":"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).","openapi":"POST /coding-interviews","href":"/api-reference/endpoint/create-coding-interview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Coding Interviews"],"summary":"Create a coding interview","description":"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).","security":["40fb5e41-5454-43c4-b793-5445fc9f417a"],"requestBody":"951bc68c-0393-4d49-bbd3-7c1c3b33b2d4","responses":{"200":"b63e9199-c06f-4a3f-8eec-0f6bd7c95f1e","401":"8c158509-c04a-4180-bc2c-b74266ea0467","403":"d789d21f-9a4a-4be5-b21e-46736f810b7c","404":"05061081-be08-41dc-ab1a-caabf81a9534","500":"80c1720b-0842-442a-b065-992874ca043c"},"method":"post","type":"path","servers":["314bdacd-6f85-453d-b517-95307712df3f","0c70040a-81d3-494d-bd52-e132100b8965"],"path":"/coding-interviews","baseUrlOptions":["https://interview.qode.world/api/v1","https://interview.gomu.ai/api/v1"],"title":"Create a coding interview","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["candidate_email","candidate_name","cv_link","qodeJobId"],"description":"Provide exactly one of `coding_task_ids` or `generate`.","properties":{"candidate_email":{"type":"string","format":"email","description":"Candidate's email. Used as the interview attendee.","isRequired":true,"uniqueKey":"candidate_email","typeLabel":"string\u003cemail>"},"candidate_name":{"type":"string","minLength":1,"description":"Candidate's full name. Used to build the interview title.","isRequired":true,"uniqueKey":"candidate_name","typeLabel":"string"},"cv_link":{"type":"string","format":"uri","description":"Public URL to the candidate's CV (PDF or DOCX).","isRequired":true,"uniqueKey":"cv_link","typeLabel":"string\u003curi>"},"qodeJobId":{"type":"string","minLength":1,"description":"Job identifier returned by `GET /jobs`.","isRequired":true,"uniqueKey":"qodeJobId","typeLabel":"string"},"ai_assisted":{"type":"boolean","default":false,"description":"Enable AI-assisted autocomplete in the candidate's coding IDE. Defaults to `false` (off).","uniqueKey":"ai_assisted","typeLabel":"boolean"},"coding_task_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"coding_task_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Explicit coding task ids to attach, in order. Mutually exclusive with `generate`.","uniqueKey":"coding_task_ids","typeLabel":"string\u003cuuid>[]"},"generate":{"type":"object","description":"Random-generation spec. Mutually exclusive with `coding_task_ids`.","required":["count"],"properties":{"count":{"type":"integer","minimum":1,"maximum":3,"description":"How many tasks to generate (maximum 3).","isRequired":true,"uniqueKey":"generate.count","typeLabel":"integer"},"topics":{"type":"array","items":{"type":"string","uniqueKey":"generate.topics.items.[INDEX]","typeLabel":"string"},"description":"Restrict generation to these topics — each a `slug` or `name` from `GET /coding-topics`.","uniqueKey":"generate.topics","typeLabel":"string[]"},"difficulty":{"type":"string","enum":["EASY","MEDIUM","HARD"],"description":"Restrict generation to this difficulty.","uniqueKey":"generate.difficulty","typeLabel":"enum\u003cstring>"},"languages":{"type":"array","items":{"type":"string","uniqueKey":"generate.languages.items.[INDEX]","typeLabel":"string"},"description":"Restrict generation to tasks available in these programming languages — each a `slug` or `name` from `GET /coding-languages`.","uniqueKey":"generate.languages","typeLabel":"string[]"}},"uniqueKey":"generate","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"explicitIds":{"title":"explicitIds","value":{"candidate_email":"thanh.le+dev@qode.world","candidate_name":"Le Phuoc Thanh","cv_link":"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume.pdf","qodeJobId":"478e8e8b-87c9-4c2a-926f-ebce52442d39","coding_task_ids":["123e4567-e89b-42d3-a456-426614174000"]}},"randomGeneration":{"title":"randomGeneration","value":{"candidate_email":"thanh.le+dev@qode.world","candidate_name":"Le Phuoc Thanh","cv_link":"https://cdn.qode.gg/ptp-ms-file-store/production/cv_container/resume.pdf","qodeJobId":"478e8e8b-87c9-4c2a-926f-ebce52442d39","ai_assisted":true,"generate":{"topics":["backtracking"],"difficulty":"MEDIUM","languages":["java"],"count":3}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"b63e9199-c06f-4a3f-8eec-0f6bd7c95f1e":{"description":"Coding interview created. A candidate-facing link and the interview id are returned.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"interview_link":{"type":"string","format":"uri","description":"Candidate-facing interview URL. Share this with the candidate.","uniqueKey":"data.interview_link","typeLabel":"string\u003curi>"},"name":{"type":"string","description":"Auto-generated interview title.","uniqueKey":"data.name","typeLabel":"string"},"interview_id":{"type":"string","description":"The coding interview id. Pass to `PATCH /coding-interviews/{interview_id}/coding-tasks` to adjust tasks later.","uniqueKey":"data.interview_id","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"interview_link":"https://qode.world/interview/abc123","name":"Tracy interview | Le Phuoc Thanh - Software Engineer","interview_id":"a1b2c3d4-0000-4000-8000-000000000000"}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"interview_link":"https://qode.world/interview/abc123","name":"Tracy interview | Le Phuoc Thanh - Software Engineer","interview_id":"a1b2c3d4-0000-4000-8000-000000000000"}}}},"exampleType":"examples"}},"exampleType":"examples"},"8c158509-c04a-4180-bc2c-b74266ea0467":{"description":"API key missing, malformed, expired, or revoked.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"errors":{"oneOf":[{"type":"string","description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string | object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":401,"errors":"Invalid API key"},"examples":{"Example":{"title":"Example","value":{"status":401,"errors":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"d789d21f-9a4a-4be5-b21e-46736f810b7c":{"description":"Validation failed — body failed Zod validation, or neither/both of `coding_task_ids` and `generate` were supplied.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"errors":{"oneOf":[{"type":"string","description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string | object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":401,"errors":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"05061081-be08-41dc-ab1a-caabf81a9534":{"description":"The supplied `qodeJobId` does not exist or has no interview template configured.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"errors":{"oneOf":[{"type":"string","description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string | object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":401,"errors":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"80c1720b-0842-442a-b065-992874ca043c":{"description":"Unexpected server-side failure. Safe to retry with exponential backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","example":401,"uniqueKey":"status","typeLabel":"integer"},"errors":{"oneOf":[{"type":"string","description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Either a human-readable string or a list of Zod validation issues.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string | object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":401,"errors":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"40fb5e41-5454-43c4-b793-5445fc9f417a":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"Opaque token (starts with `qint_`)","description":"Provide the API key issued to you by your organization admin. Send it as `Authorization: Bearer \u003capi-key>` on every request.","scopes":[]}}},"servers":{"314bdacd-6f85-453d-b517-95307712df3f":{"url":"https://interview.qode.world/api/v1","description":"Production"},"0c70040a-81d3-494d-bd52-e132100b8965":{"url":"https://interview.gomu.ai/api/v1","description":"Staging"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Opaque token (starts with `qint_`)","description":"Provide the API key issued to you by your organization admin. Send it as `Authorization: Bearer \u003capi-key>` on every request.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Provide the API key issued to you by your organization admin. Send it as `Authorization: Bearer \u003capi-key>` on every request.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"qodeaansi","siteName":"Tracy Interview API","title":"Create coding interview - Tracy Interview API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-04T10:42:43.561Z","originalFileLocation":"api-reference/endpoint/create-coding-interview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tracy Interview API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_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/qodeaansi/dLQwEfxq27yDU080/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create coding interview - Tracy Interview API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tracy Interview API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://qodeaansi.mintlify.site/_mintlify/api/og/v2?division=Coding+Interviews\u0026amp;title=Create+coding+interview\u0026amp;description=Create+a+coding+interview+for+a+candidate+against+a+job+%E2%80%94+supplying+coding+tasks+either+as+explicit+ids+or+a+random-generation+spec+%28topic%2C+difficulty%2C+language\u0026amp;theme=bf760e1b19a78c547eef7ece\u0026amp;signature=c81373ccaf4c222b1bac914ccd16292c84bcb6480f7f55b65e8417f366288fbe\">\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=\"Create coding interview - Tracy Interview API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://qodeaansi.mintlify.site/_mintlify/api/og/v2?division=Coding+Interviews\u0026amp;title=Create+coding+interview\u0026amp;description=Create+a+coding+interview+for+a+candidate+against+a+job+%E2%80%94+supplying+coding+tasks+either+as+explicit+ids+or+a+random-generation+spec+%28topic%2C+difficulty%2C+language\u0026amp;theme=bf760e1b19a78c547eef7ece\u0026amp;signature=c81373ccaf4c222b1bac914ccd16292c84bcb6480f7f55b65e8417f366288fbe\">\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/qodeaansi/dLQwEfxq27yDU080/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tracy Interview API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-coding-interview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.interview.qode.world/#organization\",\"name\":\"Tracy Interview API\",\"url\":\"https://docs.interview.qode.world\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/qodeaansi/NN67d5AYfRV8lWUE/logo/light.svg?fit=max\u0026auto=format\u0026n=NN67d5AYfRV8lWUE\u0026q=85\u0026s=66b25daa4adf3213051e0a044b182c02\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.interview.qode.world#website\",\"name\":\"Tracy Interview API\",\"url\":\"https://docs.interview.qode.world\",\"publisher\":{\"@id\":\"https://docs.interview.qode.world/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview#webpage\",\"url\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview\",\"name\":\"Create coding interview\",\"description\":\"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\",\"dateModified\":\"2026-06-04T10:42:43.561Z\",\"isPartOf\":{\"@id\":\"https://docs.interview.qode.world#website\"},\"breadcrumb\":{\"@id\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Coding Interviews\",\"item\":\"https://docs.interview.qode.world/api-reference/endpoint/list-coding-topics\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create coding interview\",\"item\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview#apireference\",\"headline\":\"Create coding interview\",\"name\":\"Create coding interview\",\"description\":\"Create a coding interview for a candidate against a job — supplying coding tasks either as explicit ids or a random-generation spec (topic, difficulty, language, count).\",\"url\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.interview.qode.world/api-reference/endpoint/create-coding-interview#webpage\"},\"dateModified\":\"2026-06-04T10:42:43.561Z\",\"publisher\":{\"@id\":\"https://docs.interview.qode.world/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.interview.qode.world#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tracy Interview API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Tracy Interview API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/create-coding-interview.md","siteName":"Tracy Interview API","nav":{"global":null,"tabs":[{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Tracy Interview API","icon":"star","href":""},{"title":"API reference","href":"/api-reference/introduction"},{"title":"Job → Interview → Report guide","icon":"route","href":"/job-interview-report-guide"}]},{"group":"Interviews","pages":[{"title":"List jobs","openapi":"GET /jobs","href":"/api-reference/endpoint/list-jobs"},{"title":"Create a job","openapi":"POST /jobs","href":"/api-reference/endpoint/create-a-job"},{"title":"Create interview","openapi":"POST /interviews","href":"/api-reference/endpoint/create-interview"},{"title":"List interviews","openapi":"GET /interviews","href":"/api-reference/endpoint/list-interviews"},{"title":"Get interview report","openapi":"GET /interviews/{meetingId}/report","href":"/api-reference/endpoint/get-interview-report"}]},{"group":"Coding Interviews","pages":[{"title":"List coding topics","openapi":"GET /coding-topics","href":"/api-reference/endpoint/list-coding-topics"},{"title":"List coding languages","openapi":"GET /coding-languages","href":"/api-reference/endpoint/list-coding-languages"},{"title":"List coding tasks","description":"List the coding task bank, filterable by difficulty, topic, and programming language. Paginated; size defaults to 20 and is capped at 100.","openapi":"GET /coding-tasks","href":"/api-reference/endpoint/list-coding-tasks"},{"title":"Create coding interview","openapi":"POST /coding-interviews","href":"/api-reference/endpoint/create-coding-interview"},{"title":"Update coding interview tasks","description":"Replace all coding tasks on an existing coding interview — full replace, accepting either explicit task ids or a random-generation spec.","openapi":"PATCH /coding-interviews/{interview_id}/coding-tasks","href":"/api-reference/endpoint/update-coding-interview-tasks"}]},{"group":"System","pages":[{"title":"Health check","openapi":"GET /healthz","href":"/api-reference/endpoint/healthz"}]}]}]},"basePath":"","title":"Create coding interview - Tracy Interview API","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}