{ "id": "web_iq_xxxxxxxxxxxxxxxx", "template_id": "web_tpl_xxxxxxxxxxxxxxxx", "template_key": "web_tpl_key_xxxxxxxxxxxxxxxx", "template_version": 1, "status": "active", "name": "Example awareness campaign inquiry", "description": "", "query": "Example question the inquiry should resolve from captured browsing.", "fields": [], "acceptance_guide": "## High Acceptance\n\n* Visit an official or primary source page that matches the inquiry topic; capture the section that states the program goals.\n\n---\n\n## Medium Acceptance\n\n* Use a well-known reference article that summarizes the topic; capture the lead paragraph.\n\n---\n\n## Low Acceptance\n\n* Capture a public social post that mentions the topic in passing.\n", "start_url": "https://example.com/topics/example-topic", "return_url": "https://your-app.com/web/inquiry-complete", "capture_type": "screenshot", "max_retries": 3, "metadata": null, "expires_at": "2026-01-20T12:00:00.000Z", "created_at": "2026-01-15T10:00:00.000Z", "updated_at": "2026-01-15T10:00:00.000Z", "deleted_at": null, "subject_id": "user_123"}
Web Inquiry
Create Web Inquiry
Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/<id> using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.
POST
/
web
/
inquiry
Create Web inquiry
curl --request POST \ --url https://platform.inklink.com/api/v1/web/inquiry \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "subject_id": "user_123", "return_url": "<string>", "template_key": "<string>", "name": "<string>", "description": "<string>", "query": "<string>", "fields": [ { "name": "user_full_name", "description": "The full name of the user" } ], "start_url": "<string>", "acceptance_guide": "<string>", "show_acceptance_guide": false, "ai_instruction": "<string>", "capture_type": "screenshot", "metadata": {}}'
{ "id": "web_iq_xxxxxxxxxxxxxxxx", "template_id": "web_tpl_xxxxxxxxxxxxxxxx", "template_key": "web_tpl_key_xxxxxxxxxxxxxxxx", "template_version": 1, "status": "active", "name": "Example awareness campaign inquiry", "description": "", "query": "Example question the inquiry should resolve from captured browsing.", "fields": [], "acceptance_guide": "## High Acceptance\n\n* Visit an official or primary source page that matches the inquiry topic; capture the section that states the program goals.\n\n---\n\n## Medium Acceptance\n\n* Use a well-known reference article that summarizes the topic; capture the lead paragraph.\n\n---\n\n## Low Acceptance\n\n* Capture a public social post that mentions the topic in passing.\n", "start_url": "https://example.com/topics/example-topic", "return_url": "https://your-app.com/web/inquiry-complete", "capture_type": "screenshot", "max_retries": 3, "metadata": null, "expires_at": "2026-01-20T12:00:00.000Z", "created_at": "2026-01-15T10:00:00.000Z", "updated_at": "2026-01-15T10:00:00.000Z", "deleted_at": null, "subject_id": "user_123"}
URL where the user is redirected after the hosted capture flow completes. When template_key is provided, omit this to use the template's return_url, or pass it to override. Required when template_key is not provided.
Key of a published template. When provided, only subject_id is required; the inquiry inherits configuration from the template (including return_url). Any field may be provided as an override.
How evidence is captured. screenshot uses a viewport capture; document uses files obtained from the site (for example PDF and other supported formats), not limited to PDF.
How evidence is captured. screenshot uses a viewport capture; document uses files obtained from the site (for example PDF and other supported formats), not limited to PDF.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Inklink Developer Documentation","colors":{"primary":"#d61930","light":"#f5f5f5","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/light.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=43375c830036c0bb5b629ab372c63b5b","dark":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/dark.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=82ca4f501e8cac2fbfa48adca354aef5"},"favicon":"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/favicon.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=dcc282f902cf54b2fbdaab655d42124d","styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inklink-7e095d72","hasAudioNarration":false,"actualSubdomain":"inklink-7e095d72","customDomains":["docs.inklink.com"],"gitSource":{"type":"github","owner":"inklink-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20cac72c120bcf7effddaa","collectionId":"9da028f7-a6c3-40ea-83dd-7bc10399bc84","schemaVersion":"v2"},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6a20cac72c120bcf7effddaa:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API reference","count":17},{"language":"default","tag":"Web Inquiry","count":12},{"language":"default","tag":"Docs","count":10},{"language":"default","tag":"Webhook","count":6},{"language":"default","tag":"KYC","count":4},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Help \u0026 support","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/web-inquiry-create","slug":"/api-reference/endpoint/web-inquiry-create","pageMetadata":{"title":"Create Web Inquiry","openapi":"/api-reference/openapi.json POST /web/inquiry","description":"Creates a Web inquiry. With `template_key`, only `subject_id` is required; the inquiry inherits configuration from the template, including `return_url`, unless you override fields in the request. Without `template_key`, you must supply the full inquiry configuration (including `return_url`). Redirect the end user to `https://platform.inklink.com/capture/\u003cid>` using the `id` from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (`status` and `inquiry_id`). Use `GET /web/inquiry` to list inquiries for your organization (paginated, with nested `result` per row). For full inquiry detail for one id from your server (configuration, nested `result`, sessions, and evidence), use `GET /web/inquiry/{id}`. See [Web Inquiry Quickstart](/web/quickstart) for the full flow.","href":"/api-reference/endpoint/web-inquiry-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a Web inquiry. With \", _jsx(_components.code, {\n children: \"template_key\"\n }), \", only \", _jsx(_components.code, {\n children: \"subject_id\"\n }), \" is required; the inquiry inherits configuration from the template, including \", _jsx(_components.code, {\n children: \"return_url\"\n }), \", unless you override fields in the request. Without \", _jsx(_components.code, {\n children: \"template_key\"\n }), \", you must supply the full inquiry configuration (including \", _jsx(_components.code, {\n children: \"return_url\"\n }), \"). Redirect the end user to \", _jsx(_components.code, {\n children: \"https://platform.inklink.com/capture/\u003cid>\"\n }), \" using the \", _jsx(_components.code, {\n children: \"id\"\n }), \" from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (\", _jsx(_components.code, {\n children: \"status\"\n }), \" and \", _jsx(_components.code, {\n children: \"inquiry_id\"\n }), \"). Use \", _jsx(_components.code, {\n children: \"GET /web/inquiry\"\n }), \" to list inquiries for your organization (paginated, with nested \", _jsx(_components.code, {\n children: \"result\"\n }), \" per row). For full inquiry detail for one id from your server (configuration, nested \", _jsx(_components.code, {\n children: \"result\"\n }), \", sessions, and evidence), use \", _jsx(_components.code, {\n children: \"GET /web/inquiry/{id}\"\n }), \". See \", _jsx(_components.a, {\n href: \"/web/quickstart\",\n children: \"Web Inquiry Quickstart\"\n }), \" for the full flow.\"]\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create Web Inquiry","openapi":"/api-reference/openapi.json POST /web/inquiry","description":"Creates a Web inquiry. With `template_key`, only `subject_id` is required; the inquiry inherits configuration from the template, including `return_url`, unless you override fields in the request. Without `template_key`, you must supply the full inquiry configuration (including `return_url`). Redirect the end user to `https://platform.inklink.com/capture/\u003cid>` using the `id` from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (`status` and `inquiry_id`). Use `GET /web/inquiry` to list inquiries for your organization (paginated, with nested `result` per row). For full inquiry detail for one id from your server (configuration, nested `result`, sessions, and evidence), use `GET /web/inquiry/{id}`. See [Web Inquiry Quickstart](/web/quickstart) for the full flow.","href":"/api-reference/endpoint/web-inquiry-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create Web inquiry","description":"Creates a Web inquiry. With `template_key`, only `subject_id` is required; the inquiry inherits configuration from the template, including `return_url`, unless you override fields in the request. Without `template_key`, you must supply the full inquiry configuration (including `return_url`). Redirect the end user to `https://platform.inklink.com/capture/\u003cid>` using the `id` from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (`status` and `inquiry_id`). Use `GET /web/inquiry` to list inquiries for your organization (paginated, with nested `result` per row). For full inquiry detail for one id from your server (configuration, nested `result`, sessions, and evidence), use `GET /web/inquiry/{id}`. See [Web Inquiry Quickstart](/web/quickstart) for the full flow.","operationId":"createWebInquiry","parameters":["a6b1d9b0-9932-4abe-bf0c-4c495f0d9ca6"],"requestBody":"909005fe-bc56-440e-8b49-bb076558b37e","responses":{"201":"3202069e-7229-49f9-957d-86cecdb1decf"},"method":"post","type":"path","servers":["a7613153-545d-40f7-83e6-75b5fd083d34"],"security":[],"path":"/web/inquiry","baseUrlOptions":["https://platform.inklink.com/api/v1"],"title":"Create Web inquiry","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a6b1d9b0-9932-4abe-bf0c-4c495f0d9ca6":{"name":"api-key","in":"header","schema":{"type":"string","example":"secret_live_xxx","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject_id":{"type":"string","description":"Your stable identifier for the subject.","example":"user_123","isRequired":true,"uniqueKey":"subject_id","typeLabel":"string"},"return_url":{"type":"string","format":"uri","description":"URL where the user is redirected after the hosted capture flow completes. When `template_key` is provided, omit this to use the template's `return_url`, or pass it to override. Required when `template_key` is not provided.","uniqueKey":"return_url","typeLabel":"string\u003curi>"},"template_key":{"type":"string","description":"Key of a published template. When provided, only `subject_id` is required; the inquiry inherits configuration from the template (including `return_url`). Any field may be provided as an override.","uniqueKey":"template_key","typeLabel":"string"},"name":{"type":"string","description":"Inquiry name. Required when `template_key` is not provided.","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Inquiry description.","uniqueKey":"description","typeLabel":"string"},"query":{"type":"string","description":"What you want to know from this inquiry. Required when `template_key` is not provided.","uniqueKey":"query","typeLabel":"string"},"fields":{"type":"array","description":"Fields to extract from the captured evidence. Required when `template_key` is not provided.","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name in snake_case.","example":"user_full_name","uniqueKey":"fields.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"What this field represents.","example":"The full name of the user","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"start_url":{"type":"string","format":"uri","description":"URL the user is sent to when the capture session starts.","uniqueKey":"start_url","typeLabel":"string\u003curi>"},"acceptance_guide":{"type":"string","description":"Instructions for earning a high acceptance score.","uniqueKey":"acceptance_guide","typeLabel":"string"},"show_acceptance_guide":{"type":"boolean","description":"Whether to show the acceptance guide to the user.","default":false,"uniqueKey":"show_acceptance_guide","typeLabel":"boolean"},"ai_instruction":{"type":"string","description":"Additional instructions for AI processing.","uniqueKey":"ai_instruction","typeLabel":"string"},"capture_type":{"type":"string","enum":["screenshot","document"],"description":"How evidence is captured. `screenshot` uses a viewport capture; `document` uses files obtained from the site (for example PDF and other supported formats), not limited to PDF.","default":"screenshot","uniqueKey":"capture_type","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Arbitrary key-value metadata attached to the inquiry.","uniqueKey":"metadata","typeLabel":"object"}},"required":["subject_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"subject_id":"user_123","return_url":"\u003cstring>","template_key":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","query":"\u003cstring>","fields":[{"name":"user_full_name","description":"The full name of the user"}],"start_url":"\u003cstring>","acceptance_guide":"\u003cstring>","show_acceptance_guide":false,"ai_instruction":"\u003cstring>","capture_type":"screenshot","metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3202069e-7229-49f9-957d-86cecdb1decf":{"description":"Inquiry created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Web inquiry id (`web_iq_...`).","example":"web_iq_xxxxxxxxxxxxxxxx","uniqueKey":"id","typeLabel":"string"},"subject_id":{"type":"string","description":"Your stable identifier for the subject (echoed from the create request).","example":"user_123","uniqueKey":"subject_id","typeLabel":"string"},"template_id":{"oneOf":[{"type":"string","description":"Resolved template id when the inquiry was created from a template.","example":"web_tpl_xxxxxxxxxxxxxxxx","uniqueKey":"template_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Resolved template id when the inquiry was created from a template.","example":"web_tpl_xxxxxxxxxxxxxxxx","uniqueKey":"template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"template_id","typeLabel":"string | null"},"template_key":{"oneOf":[{"type":"string","description":"Template key when the inquiry was created from a template.","example":"web_tpl_key_xxxxxxxxxxxxxxxx","uniqueKey":"template_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Template key when the inquiry was created from a template.","example":"web_tpl_key_xxxxxxxxxxxxxxxx","uniqueKey":"template_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"template_key","typeLabel":"string | null"},"template_version":{"type":"integer","description":"Template version used when resolving configuration.","example":1,"uniqueKey":"template_version","typeLabel":"integer"},"status":{"type":"string","enum":["active","expired","cancelled","completed"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Display name of the inquiry.","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Inquiry description.","uniqueKey":"description","typeLabel":"string"},"query":{"type":"string","description":"What the inquiry is trying to establish from captured evidence.","uniqueKey":"query","typeLabel":"string"},"fields":{"type":"array","description":"Configured extraction fields.","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name in snake_case.","uniqueKey":"fields.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"What this field represents.","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"acceptance_guide":{"type":"string","description":"Markdown acceptance guide shown or used for scoring.","uniqueKey":"acceptance_guide","typeLabel":"string"},"start_url":{"type":"string","format":"uri","description":"URL the user is sent to when the capture session starts.","uniqueKey":"start_url","typeLabel":"string\u003curi>"},"return_url":{"type":"string","format":"uri","description":"URL where the user is redirected after the hosted capture flow completes.","uniqueKey":"return_url","typeLabel":"string\u003curi>"},"capture_type":{"type":"string","enum":["screenshot","document"],"description":"How evidence is captured. `screenshot` uses a viewport capture; `document` uses files obtained from the site (for example PDF and other supported formats), not limited to PDF.","uniqueKey":"capture_type","typeLabel":"enum\u003cstring>"},"max_retries":{"type":"integer","description":"Maximum capture or processing retries allowed for this inquiry.","uniqueKey":"max_retries","typeLabel":"integer"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Arbitrary metadata attached to the inquiry.","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Arbitrary metadata attached to the inquiry.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"expires_at":{"type":"string","format":"date-time","uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"deleted_at":{"oneOf":[{"type":"string","format":"date-time","description":"Present when the inquiry has been soft-deleted.","uniqueKey":"deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Present when the inquiry has been soft-deleted.","uniqueKey":"deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"deleted_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"web_iq_xxxxxxxxxxxxxxxx","template_id":"web_tpl_xxxxxxxxxxxxxxxx","template_key":"web_tpl_key_xxxxxxxxxxxxxxxx","template_version":1,"status":"active","name":"Example awareness campaign inquiry","description":"","query":"Example question the inquiry should resolve from captured browsing.","fields":[],"acceptance_guide":"## High Acceptance\n\n* Visit an official or primary source page that matches the inquiry topic; capture the section that states the program goals.\n\n---\n\n## Medium Acceptance\n\n* Use a well-known reference article that summarizes the topic; capture the lead paragraph.\n\n---\n\n## Low Acceptance\n\n* Capture a public social post that mentions the topic in passing.\n","start_url":"https://example.com/topics/example-topic","return_url":"https://your-app.com/web/inquiry-complete","capture_type":"screenshot","max_retries":3,"metadata":null,"expires_at":"2026-01-20T12:00:00.000Z","created_at":"2026-01-15T10:00:00.000Z","updated_at":"2026-01-15T10:00:00.000Z","deleted_at":null,"subject_id":"user_123"},"examples":{"Example":{"title":"Example","value":{"id":"web_iq_xxxxxxxxxxxxxxxx","template_id":"web_tpl_xxxxxxxxxxxxxxxx","template_key":"web_tpl_key_xxxxxxxxxxxxxxxx","template_version":1,"status":"active","name":"Example awareness campaign inquiry","description":"","query":"Example question the inquiry should resolve from captured browsing.","fields":[],"acceptance_guide":"## High Acceptance\n\n* Visit an official or primary source page that matches the inquiry topic; capture the section that states the program goals.\n\n---\n\n## Medium Acceptance\n\n* Use a well-known reference article that summarizes the topic; capture the lead paragraph.\n\n---\n\n## Low Acceptance\n\n* Capture a public social post that mentions the topic in passing.\n","start_url":"https://example.com/topics/example-topic","return_url":"https://your-app.com/web/inquiry-complete","capture_type":"screenshot","max_retries":3,"metadata":null,"expires_at":"2026-01-20T12:00:00.000Z","created_at":"2026-01-15T10:00:00.000Z","updated_at":"2026-01-15T10:00:00.000Z","deleted_at":null,"subject_id":"user_123"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"a7613153-545d-40f7-83e6-75b5fd083d34":{"url":"https://platform.inklink.com/api/v1"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"inklink-7e095d72","siteName":"Inklink Developer Documentation","title":"Create Web Inquiry - Inklink Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-11T18:56:06.999Z","originalFileLocation":"api-reference/endpoint/web-inquiry-create.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=\"Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/ using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Web Inquiry - Inklink Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/ using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inklink-7e095d72.mintlify.app/_mintlify/api/og/v2?division=Web+Inquiry\u0026amp;title=Create+Web+Inquiry\u0026amp;description=Creates+a+Web+inquiry.+With+%60template_key%60%2C+only+%60subject_id%60+is+required%3B+the+inquiry+inherits+configuration+from+the+template%2C+including+%60return_url%60%2C+unless+\u0026amp;theme=6e124ab3126841292ea9b56d\u0026amp;signature=3e934d7323c0df56ac33ba8bc465548d20a19403c7d1d1acba31e9058004a15d\">\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 Web Inquiry - Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/ using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inklink-7e095d72.mintlify.app/_mintlify/api/og/v2?division=Web+Inquiry\u0026amp;title=Create+Web+Inquiry\u0026amp;description=Creates+a+Web+inquiry.+With+%60template_key%60%2C+only+%60subject_id%60+is+required%3B+the+inquiry+inherits+configuration+from+the+template%2C+including+%60return_url%60%2C+unless+\u0026amp;theme=6e124ab3126841292ea9b56d\u0026amp;signature=3e934d7323c0df56ac33ba8bc465548d20a19403c7d1d1acba31e9058004a15d\">\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/inklink-7e095d72/n_9iJNOFUZV4achf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inklink Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d61930\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\">\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/web-inquiry-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.inklink.com/#organization\",\"name\":\"Inklink Developer Documentation\",\"url\":\"https://docs.inklink.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inklink-7e095d72/VnKeQ-fvUnGWMehN/logo/light.svg?fit=max\u0026auto=format\u0026n=VnKeQ-fvUnGWMehN\u0026q=85\u0026s=43375c830036c0bb5b629ab372c63b5b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.inklink.com#website\",\"name\":\"Inklink Developer Documentation\",\"url\":\"https://docs.inklink.com\",\"publisher\":{\"@id\":\"https://docs.inklink.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create#webpage\",\"url\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\",\"name\":\"Create Web Inquiry\",\"description\":\"Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/ using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.\",\"dateModified\":\"2026-05-11T18:56:06.999Z\",\"isPartOf\":{\"@id\":\"https://docs.inklink.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inklink Developer Documentation\",\"item\":\"https://docs.inklink.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Web Inquiry\",\"item\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create#apireference\",\"headline\":\"Create Web Inquiry\",\"name\":\"Create Web Inquiry\",\"description\":\"Creates a Web inquiry. With template_key, only subject_id is required; the inquiry inherits configuration from the template, including return_url, unless you override fields in the request. Without template_key, you must supply the full inquiry configuration (including return_url). Redirect the end user to https://platform.inklink.com/capture/ using the id from this response as the trailing path segment. When the hosted flow finishes, the user is returned to the configured return URL with the outcome in the query string (status and inquiry_id). Use GET /web/inquiry to list inquiries for your organization (paginated, with nested result per row). For full inquiry detail for one id from your server (configuration, nested result, sessions, and evidence), use GET /web/inquiry/{id}. See Web Inquiry Quickstart for the full flow.\",\"url\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.inklink.com/api-reference/endpoint/web-inquiry-create#webpage\"},\"dateModified\":\"2026-05-11T18:56:06.999Z\",\"publisher\":{\"@id\":\"https://docs.inklink.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.inklink.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Inklink Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Inklink Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API reference","groups":[{"group":"KYC","icon":"shield-check","pages":[{"title":"Create KYC inquiry","openapi":"/api-reference/openapi.json POST /kyc/inquiry","href":"/api-reference/endpoint/kyc-inquiry-create"},{"title":"Get KYC inquiry result","openapi":"/api-reference/openapi.json GET /kyc/inquiry/{id}/result","description":"Returns the inquiry's **`status`** and lightweight metadata - enough to drive your server logic, not a full case file. For full details information, use the InkLink dashboard. **Richer payloads here are on the roadmap**; when they ship, we will keep the response **backwards compatible** with today's fields.","href":"/api-reference/endpoint/kyc-inquiry-result"}]},{"group":"Web Inquiry","icon":"globe","pages":[{"title":"Create Web Inquiry","openapi":"/api-reference/openapi.json POST /web/inquiry","href":"/api-reference/endpoint/web-inquiry-create"},{"title":"List Web Inquiries","description":"List web inquiries for your organization with nested latest results, paginated by keyset cursor.","openapi":"/api-reference/openapi.json GET /web/inquiry","href":"/api-reference/endpoint/web-inquiry-list"},{"title":"Get Web Inquiry","openapi":"/api-reference/openapi.json GET /web/inquiry/{id}","href":"/api-reference/endpoint/web-inquiry-get"},{"title":"List Web Templates","openapi":"/api-reference/openapi.json GET /web/template","href":"/api-reference/endpoint/web-template-list"},{"title":"Create Web Template","openapi":"/api-reference/openapi.json POST /web/template","href":"/api-reference/endpoint/web-template-create"},{"title":"List Web Template Versions","openapi":"/api-reference/openapi.json GET /web/template/{key}","href":"/api-reference/endpoint/web-template-versions"},{"title":"Update Web Template Draft","openapi":"/api-reference/openapi.json PATCH /web/template/{key}","href":"/api-reference/endpoint/web-template-update-draft"},{"title":"Create a Draft from Published Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/draft","href":"/api-reference/endpoint/web-template-create-draft"},{"title":"Publish Web Template","openapi":"/api-reference/openapi.json POST /web/template/{key}/publish","href":"/api-reference/endpoint/web-template-publish"}]},{"group":"Webhook","icon":"webhook","pages":[{"title":"List webhook endpoints","openapi":"/api-reference/openapi.json GET /webhook/endpoints","href":"/api-reference/endpoint/webhook-endpoints-list"},{"title":"Create webhook endpoint","openapi":"/api-reference/openapi.json POST /webhook/endpoints","href":"/api-reference/endpoint/webhook-endpoints-create"},{"title":"Get webhook endpoint","openapi":"/api-reference/openapi.json GET /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-get"},{"title":"Update webhook endpoint","openapi":"/api-reference/openapi.json PATCH /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-update"},{"title":"Delete webhook endpoint","openapi":"/api-reference/openapi.json DELETE /webhook/endpoints/{id}","href":"/api-reference/endpoint/webhook-endpoint-delete"},{"title":"Rotate webhook signing secret","openapi":"/api-reference/openapi.json POST /webhook/endpoints/{id}/rotate-secret","href":"/api-reference/endpoint/webhook-endpoint-rotate-secret"}]}]}]},"title":"Create Web Inquiry - Inklink Developer Documentation","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}