Languages available at this location. An array of ISO 639 / BCP 47 language codes (e.g. "en", "et", "fr-CA"). Must include "en". No duplicates allowed. Order is preserved. Defaults to ["en"] if omitted.
Custom input fields to create with the location. If omitted, three default fields are created (first name, last name, phone number). Must include at least one FIRST_NAME and one LAST_NAME field. Each field uses the same schema as POST /input-fields, but without location and visibleForLines.
Custom lines (queues) to create with the location. If omitted, two default lines are created ("Main Service" and "Information"). Uses the same schema as POST /locations/{id}/lines, but without appointmentSettings.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Qminder API","colors":{"primary":"#9665FF","light":"#9665FF","dark":"#9665FF"},"logo":"https://mintcdn.com/qminder/lRy8vXyzyVrsUc5I/images/qminder-logo.svg?fit=max\u0026auto=format\u0026n=lRy8vXyzyVrsUc5I\u0026q=85\u0026s=9fd4c6551d8d6b40da0cc917661f57c8","favicon":"https://mintcdn.com/qminder/lRy8vXyzyVrsUc5I/images/favicon.svg?fit=max\u0026auto=format\u0026n=lRy8vXyzyVrsUc5I\u0026q=85\u0026s=1665c8e187fd5c7b4606ec1345f0475d","api":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"qminder","hasAudioNarration":false,"actualSubdomain":"qminder","customDomains":["developer.qminder.com"],"gitSource":{"type":"github","owner":"qminder","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae945dbe58e14fb792658c6:success","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":97},{"language":"default","tag":"GraphQL API","count":76},{"language":"default","tag":"API Endpoints","count":53},{"language":"default","tag":"Tickets","count":25},{"language":"default","tag":"Subscriptions","count":24},{"language":"default","tag":"Queries","count":17},{"language":"default","tag":"RESTful API","count":14},{"language":"default","tag":"Types","count":12},{"language":"default","tag":"Lines","count":11},{"language":"default","tag":"Enums","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/locations/create-a-location","slug":"/api-reference/locations/create-a-location","pageMetadata":{"title":"Create a location","description":"Creates a new location in the account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /locations","href":"/api-reference/locations/create-a-location","autogeneratedByOpenApi":true},"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: \"Creates a new location in the account.\"\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 a location","description":"Creates a new location in the account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /locations","href":"/api-reference/locations/create-a-location","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a location","description":"Creates a new location in the account.","operationId":"create-location","parameters":["7ac5facd-51c6-4048-a06c-1fd4c82f3013"],"requestBody":"83ed5386-d4a4-4e35-8f68-ec29c9d749a0","responses":{"201":"8502e6fc-bf33-4757-9622-eeac62e1d821","400":"753a131c-8ef1-4ec2-b52b-03b614dab1ce"},"x-readme":{"code-samples":[{"language":"curl","code":"curl -X POST https://api.qminder.com/locations \\\n -H \"X-Qminder-REST-API-Key: KEY\" \\\n -H \"X-Qminder-API-Version: 2020-09-01\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"SF City Hall\",\n \"latitude\": 37.7792792,\n \"longitude\": -122.4214304,\n \"address\": \"1 Dr Carlton B Goodlett Pl, San Francisco, CA 94102, United States\",\n \"country\": \"US\"\n }'"}],"samples-languages":["curl"]},"tags":["Locations"],"method":"post","type":"path","servers":["371ac1db-d16a-4c49-8113-72c65802c755"],"security":["77167569-f9ef-4c98-bb35-dc91ec78d5b7"],"path":"/locations","baseUrlOptions":["https://api.qminder.com"],"title":"Create a location","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7ac5facd-51c6-4048-a06c-1fd4c82f3013":{"name":"X-Qminder-API-Version","in":"header","description":"API version. Must be set to `2020-09-01`.","required":true,"schema":{"type":"string","enum":["2020-09-01"],"default":"2020-09-01","isRequired":true,"description":"API version. Must be set to `2020-09-01`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","latitude","longitude","address","country"],"properties":{"name":{"type":"string","maxLength":30,"description":"Location name (max 30 characters).","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Geographical latitude (-90 to 90).","isRequired":true,"uniqueKey":"latitude","typeLabel":"number"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Geographical longitude (-180 to 180).","isRequired":true,"uniqueKey":"longitude","typeLabel":"number"},"address":{"type":"string","maxLength":300,"description":"Postal address (max 300 characters).","isRequired":true,"uniqueKey":"address","typeLabel":"string"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 country code (e.g. \"US\", \"CA\").","isRequired":true,"uniqueKey":"country","typeLabel":"string"},"languages":{"type":"array","items":{"type":"string","uniqueKey":"languages.items.[INDEX]","typeLabel":"string"},"description":"Languages available at this location. An array of ISO 639 / BCP 47 language codes (e.g. \"en\", \"et\", \"fr-CA\"). Must include \"en\". No duplicates allowed. Order is preserved. Defaults to [\"en\"] if omitted.","uniqueKey":"languages","typeLabel":"string[]"},"inputFields":{"type":"array","description":"Custom input fields to create with the location. If omitted, three default fields are created (first name, last name, phone number). Must include at least one FIRST_NAME and one LAST_NAME field. Each field uses the same schema as POST /input-fields, but without location and visibleForLines.","maxItems":50,"items":{"type":"object","description":"An input field to create with the location. Uses the same schema as POST /input-fields, but without `location` (auto-set) and `visibleForLines` (lines don't exist yet).","required":["id","type","isMandatoryBeforeAdded","isMandatoryBeforeServed","isMandatoryInRemoteSignIn","isVisibleInWaitingDrawer","isVisibleInServingDrawer","showInRemoteSignIn"],"properties":{"id":{"type":"string","format":"uuid","description":"Client-generated UUID for the input field.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","TEXT","SELECT","URL","DATE","NUMERIC"],"description":"Input field type.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"isMandatoryBeforeAdded":{"type":"boolean","description":"Must be filled before ticket is added.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].isMandatoryBeforeAdded","typeLabel":"boolean"},"isMandatoryBeforeServed":{"type":"boolean","description":"Must be filled before ticket is served.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].isMandatoryBeforeServed","typeLabel":"boolean"},"isMandatoryInRemoteSignIn":{"type":"boolean","description":"Must be filled in remote sign-in.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].isMandatoryInRemoteSignIn","typeLabel":"boolean"},"isVisibleInWaitingDrawer":{"type":"boolean","description":"Shown in the waiting drawer.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].isVisibleInWaitingDrawer","typeLabel":"boolean"},"isVisibleInServingDrawer":{"type":"boolean","description":"Shown in the serving drawer.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].isVisibleInServingDrawer","typeLabel":"boolean"},"showInRemoteSignIn":{"type":"boolean","description":"Show in remote sign-in. Always treated as false for URL fields.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].showInRemoteSignIn","typeLabel":"boolean"},"title":{"type":"string","description":"Display title. Required for TEXT, SELECT, URL, DATE, and NUMERIC types.","uniqueKey":"inputFields.items.[INDEX].title","typeLabel":"string"},"visitorFacingTitle":{"type":"string","description":"Title shown to visitors. Available for TEXT, SELECT, DATE, and NUMERIC types.","uniqueKey":"inputFields.items.[INDEX].visitorFacingTitle","typeLabel":"string"},"multiSelect":{"type":"boolean","description":"Allow multiple selections. Required for SELECT type.","uniqueKey":"inputFields.items.[INDEX].multiSelect","typeLabel":"boolean"},"options":{"type":"array","description":"Select options. Required for SELECT type.","items":{"type":"object","required":["id","title"],"properties":{"id":{"type":"string","format":"uuid","description":"Client-generated UUID for the option.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].options.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"title":{"type":"string","description":"Option display title.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].options.items.[INDEX].title","typeLabel":"string"},"color":{"type":"string","description":"Option color in hex format (#RRGGBB).","uniqueKey":"inputFields.items.[INDEX].options.items.[INDEX].color","typeLabel":"string"}},"uniqueKey":"inputFields.items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"inputFields.items.[INDEX].options","typeLabel":"object[]"},"constraints":{"type":"object","description":"Numeric constraints. Available for NUMERIC type.","required":["scale"],"properties":{"scale":{"type":"integer","description":"Number of decimal places.","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].constraints.scale","typeLabel":"integer"},"min":{"type":"number","description":"Minimum allowed value.","uniqueKey":"inputFields.items.[INDEX].constraints.min","typeLabel":"number"},"max":{"type":"number","description":"Maximum allowed value.","uniqueKey":"inputFields.items.[INDEX].constraints.max","typeLabel":"number"}},"uniqueKey":"inputFields.items.[INDEX].constraints","typeLabel":"object"},"translations":{"type":"array","description":"Translations. Available for TEXT, SELECT, URL, DATE, and NUMERIC types. Referenced language codes must be included in the location's languages field.","items":{"type":"object","required":["languageCode"],"properties":{"languageCode":{"type":"string","description":"Language code (e.g. \"fr\", \"es\").","isRequired":true,"uniqueKey":"inputFields.items.[INDEX].translations.items.[INDEX].languageCode","typeLabel":"string"},"title":{"type":"string","description":"Translated field title.","uniqueKey":"inputFields.items.[INDEX].translations.items.[INDEX].title","typeLabel":"string"},"visitorFacingTitle":{"type":"string","description":"Translated visitor-facing title.","uniqueKey":"inputFields.items.[INDEX].translations.items.[INDEX].visitorFacingTitle","typeLabel":"string"}},"uniqueKey":"inputFields.items.[INDEX].translations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"inputFields.items.[INDEX].translations","typeLabel":"object[]"},"isRequiredInAppointments":{"type":"boolean","description":"Whether required in appointments. Available for LAST_NAME and EMAIL types.","uniqueKey":"inputFields.items.[INDEX].isRequiredInAppointments","typeLabel":"boolean"}},"uniqueKey":"inputFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"inputFields","typeLabel":"object[]"},"lines":{"type":"array","description":"Custom lines (queues) to create with the location. If omitted, two default lines are created (\"Main Service\" and \"Information\"). Uses the same schema as POST /locations/{id}/lines, but without appointmentSettings.","minItems":1,"maxItems":50,"items":{"type":"object","description":"A line (service) to create with the location.","required":["name","color"],"properties":{"name":{"type":"string","maxLength":30,"description":"Line name (max 30 characters, trimmed).","isRequired":true,"uniqueKey":"lines.items.[INDEX].name","typeLabel":"string"},"color":{"type":"string","enum":["VIOLET","LAVENDER","MARSHMALLOW","TEAL","MINT","CORAL","YELLOW","ROSE","INDIGO","BLUE"],"description":"Line color.","isRequired":true,"uniqueKey":"lines.items.[INDEX].color","typeLabel":"enum\u003cstring>"},"disabled":{"type":"boolean","description":"Whether the line starts disabled (default: false).","uniqueKey":"lines.items.[INDEX].disabled","typeLabel":"boolean"},"translations":{"type":"array","description":"Name translations for multi-language support. Referenced language codes must be included in the location's languages field.","items":{"type":"object","description":"A name translation for a line.","required":["languageCode"],"properties":{"languageCode":{"type":"string","description":"Language code (e.g. \"fr\", \"es\").","isRequired":true,"uniqueKey":"lines.items.[INDEX].translations.items.[INDEX].languageCode","typeLabel":"string"},"name":{"oneOf":[{"type":"string","maxLength":30,"description":"Translated line name (max 30 characters). Can be null as a placeholder.","uniqueKey":"lines.items.[INDEX].translations.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":30,"description":"Translated line name (max 30 characters). Can be null as a placeholder.","uniqueKey":"lines.items.[INDEX].translations.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"lines.items.[INDEX].translations.items.[INDEX].name","typeLabel":"string | null"}},"uniqueKey":"lines.items.[INDEX].translations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lines.items.[INDEX].translations","typeLabel":"object[]"}},"uniqueKey":"lines.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lines","typeLabel":"object[]"},"openingHours":{"type":"object","description":"Opening hours configuration. If omitted, the location defaults to 24/7 (00:00–23:59 every day).","properties":{"regular":{"type":"object","description":"Weekly schedule with keys: mon, tue, wed, thu, fri, sat, sun.","properties":{"mon":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.mon.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.mon.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.mon.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.mon","typeLabel":"object"},"tue":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.tue.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.tue.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.tue.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.tue","typeLabel":"object"},"wed":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.wed.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.wed.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.wed.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.wed","typeLabel":"object"},"thu":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.thu.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.thu.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.thu.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.thu","typeLabel":"object"},"fri":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.fri.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.fri.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.fri.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.fri","typeLabel":"object"},"sat":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.sat.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.sat.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.sat.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.sat","typeLabel":"object"},"sun":{"type":"object","description":"Schedule for a single day. Either set businessHours or closed.","properties":{"businessHours":{"type":"array","description":"Time ranges when the location is open.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.regular.sun.businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.regular.sun.businessHours","typeLabel":"object[]"},"closed":{"type":"boolean","description":"If true, the location is closed this day.","uniqueKey":"openingHours.regular.sun.closed","typeLabel":"boolean"}},"uniqueKey":"openingHours.regular.sun","typeLabel":"object"}},"uniqueKey":"openingHours.regular","typeLabel":"object"},"exceptions":{"type":"array","description":"Date-specific overrides.","items":{"type":"object","required":["date"],"properties":{"date":{"type":"string","format":"date","description":"ISO 8601 date (e.g. \"2026-05-01\").","isRequired":true,"uniqueKey":"openingHours.exceptions.items.[INDEX].date","typeLabel":"string\u003cdate>"},"closed":{"type":"boolean","description":"If true, the location is closed on this date.","uniqueKey":"openingHours.exceptions.items.[INDEX].closed","typeLabel":"boolean"},"closedReason":{"type":"string","description":"Reason for closure (e.g. \"Holiday\").","uniqueKey":"openingHours.exceptions.items.[INDEX].closedReason","typeLabel":"string"},"businessHours":{"type":"array","description":"Custom hours for this date.","items":{"type":"object","description":"A time range with opening and closing times.","properties":{"opens":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].opens.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].opens.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].opens","typeLabel":"object"},"closes":{"type":"object","description":"A time of day.","properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"description":"Hour (0-23).","uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].closes.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Minutes (0-59).","uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].closes.minutes","typeLabel":"integer"}},"uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX].closes","typeLabel":"object"}},"uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.exceptions.items.[INDEX].businessHours","typeLabel":"object[]"}},"uniqueKey":"openingHours.exceptions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"openingHours.exceptions","typeLabel":"object[]"}},"uniqueKey":"openingHours","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"SF City Hall","latitude":37.7792792,"longitude":-122.4214304,"address":"1 Dr Carlton B Goodlett Pl, San Francisco, CA 94102, United States","country":"US","languages":["en","et","fr-CA"],"inputFields":[{"id":"550e8400-e29b-41d4-a716-446655440001","type":"FIRST_NAME","isMandatoryBeforeAdded":false,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true},{"id":"550e8400-e29b-41d4-a716-446655440002","type":"LAST_NAME","isMandatoryBeforeAdded":false,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true},{"id":"550e8400-e29b-41d4-a716-446655440003","type":"TEXT","title":"Reason for visit","isMandatoryBeforeAdded":true,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true}],"lines":[{"name":"Customer Support","color":"TEAL"},{"name":"Returns","color":"CORAL"}],"openingHours":{"regular":{"mon":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"tue":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"wed":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"thu":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"fri":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"sat":{"closed":true},"sun":{"closed":true}},"exceptions":[{"date":"2026-05-01","closed":true,"closedReason":"Holiday"}]}},"examples":{"Example":{"title":"Example","value":{"name":"SF City Hall","latitude":37.7792792,"longitude":-122.4214304,"address":"1 Dr Carlton B Goodlett Pl, San Francisco, CA 94102, United States","country":"US","languages":["en","et","fr-CA"],"inputFields":[{"id":"550e8400-e29b-41d4-a716-446655440001","type":"FIRST_NAME","isMandatoryBeforeAdded":false,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true},{"id":"550e8400-e29b-41d4-a716-446655440002","type":"LAST_NAME","isMandatoryBeforeAdded":false,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true},{"id":"550e8400-e29b-41d4-a716-446655440003","type":"TEXT","title":"Reason for visit","isMandatoryBeforeAdded":true,"isMandatoryBeforeServed":false,"isMandatoryInRemoteSignIn":false,"isVisibleInWaitingDrawer":true,"isVisibleInServingDrawer":true,"showInRemoteSignIn":true}],"lines":[{"name":"Customer Support","color":"TEAL"},{"name":"Returns","color":"CORAL"}],"openingHours":{"regular":{"mon":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"tue":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"wed":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"thu":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"fri":{"businessHours":[{"opens":{"hours":9,"minutes":0},"closes":{"hours":17,"minutes":0}}]},"sat":{"closed":true},"sun":{"closed":true}},"exceptions":[{"date":"2026-05-01","closed":true,"closedReason":"Holiday"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"8502e6fc-bf33-4757-9622-eeac62e1d821":{"description":"Location created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the created location.","example":"12345","uniqueKey":"id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"12345"},"examples":{"Example":{"title":"Example","value":{"id":"12345"}}},"exampleType":"examples"}},"exampleType":"examples"},"753a131c-8ef1-4ec2-b52b-03b614dab1ce":{"description":"Validation error - invalid input data","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"77167569-f9ef-4c98-bb35-dc91ec78d5b7":{"sec0":{"type":"apiKey","in":"header","name":"X-Qminder-REST-API-Key","x-default":"yourbusinessapikey","scopes":[]}}},"servers":{"371ac1db-d16a-4c49-8113-72c65802c755":{"url":"https://api.qminder.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Qminder-REST-API-Key","x-default":"yourbusinessapikey","scopes":[]},"schema":{"title":"X-Qminder-REST-API-Key","type":"string","isRequired":true,"default":"yourbusinessapikey","typeLabel":"string","deprecated":false},"schemeName":"sec0","name":"X-Qminder-REST-API-Key"}],"title":"sec0"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"qminder","siteName":"Qminder API","title":"Create a location - Qminder API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-14T11:14:44.899Z","originalFileLocation":"api-reference/locations/create-a-location.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 new location in the account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Qminder 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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_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/qminder/HYl8SNxSvfnBXOXP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a location - Qminder API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new location in the account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Qminder API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.qminder.com/api-reference/locations/create-a-location\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://qminder.mintlify.site/_mintlify/api/og/v2?division=Locations\u0026amp;title=Create+a+location\u0026amp;description=Creates+a+new+location+in+the+account.\u0026amp;theme=94e3641d25206656bfde430c\u0026amp;signature=b69b5591bf43034aacf83f393fe17ed0cf02471a5c4a97b3fbcba7042ccfb369\">\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 a location - Qminder API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new location in the account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://qminder.mintlify.site/_mintlify/api/og/v2?division=Locations\u0026amp;title=Create+a+location\u0026amp;description=Creates+a+new+location+in+the+account.\u0026amp;theme=94e3641d25206656bfde430c\u0026amp;signature=b69b5591bf43034aacf83f393fe17ed0cf02471a5c4a97b3fbcba7042ccfb369\">\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/qminder/HYl8SNxSvfnBXOXP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Qminder API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9665FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.qminder.com/api-reference/locations/create-a-location\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/locations/create-a-location.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.qminder.com/#organization\",\"name\":\"Qminder API\",\"url\":\"https://developer.qminder.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/qminder/lRy8vXyzyVrsUc5I/images/qminder-logo.svg?fit=max\u0026auto=format\u0026n=lRy8vXyzyVrsUc5I\u0026q=85\u0026s=9fd4c6551d8d6b40da0cc917661f57c8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.qminder.com#website\",\"name\":\"Qminder API\",\"url\":\"https://developer.qminder.com\",\"publisher\":{\"@id\":\"https://developer.qminder.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.qminder.com/api-reference/locations/create-a-location#webpage\",\"url\":\"https://developer.qminder.com/api-reference/locations/create-a-location\",\"name\":\"Create a location\",\"description\":\"Creates a new location in the account.\",\"dateModified\":\"2026-07-14T11:14:44.899Z\",\"isPartOf\":{\"@id\":\"https://developer.qminder.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.qminder.com/api-reference/locations/create-a-location#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.qminder.com/api-reference/locations/create-a-location#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Locations\",\"item\":\"https://developer.qminder.com/api-reference/locations/get-the-list-of-locations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a location\",\"item\":\"https://developer.qminder.com/api-reference/locations/create-a-location\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.qminder.com/api-reference/locations/create-a-location#apireference\",\"headline\":\"Create a location\",\"name\":\"Create a location\",\"description\":\"Creates a new location in the account.\",\"url\":\"https://developer.qminder.com/api-reference/locations/create-a-location\",\"mainEntityOfPage\":{\"@id\":\"https://developer.qminder.com/api-reference/locations/create-a-location#webpage\"},\"dateModified\":\"2026-07-14T11:14:44.899Z\",\"publisher\":{\"@id\":\"https://developer.qminder.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.qminder.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Qminder API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Qminder API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/locations/create-a-location.md","siteName":"Qminder API","nav":{"global":null,"tabs":[{"tab":"API Reference","pages":[{"title":"API Reference","href":"/reference/overview"}]},{"tab":"API Endpoints","pages":[{"group":"Locations","pages":[{"title":"Get the list of locations","description":"","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/locations","href":"/api-reference/locations/get-the-list-of-locations"},{"title":"Create a location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /locations","href":"/api-reference/locations/create-a-location"},{"title":"Edit a location","description":"Updates an existing location. Only include the fields you want to change. Omitted fields remain unchanged.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /locations/{locationId}","href":"/api-reference/locations/edit-a-location"},{"title":"Get details of a location","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/locations/{id}","href":"/api-reference/locations/get-details-of-a-location"},{"title":"Get desks of a Location","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/locations/{id}/desks","href":"/api-reference/locations/get-desks-of-a-location"}]},{"group":"Lines","pages":[{"title":"Get list of lines","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/locations/{id}/lines","href":"/api-reference/lines/get-list-of-lines"},{"title":"Create a line","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/locations/{id}/lines","href":"/api-reference/lines/create-a-line"},{"title":"Get details of a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/lines/{id}","href":"/api-reference/lines/get-details-of-a-line"},{"title":"Editing a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/lines/{id}","href":"/api-reference/lines/editing-a-line"},{"title":"Enabling a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/lines/{id}/enable","href":"/api-reference/lines/enabling-a-line"},{"title":"Disabling a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/lines/{id}/disable","href":"/api-reference/lines/disabling-a-line"},{"title":"Archiving a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/lines/{id}/archive","href":"/api-reference/lines/archiving-a-line"},{"title":"Unarchiving a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/lines/{id}/unarchive","href":"/api-reference/lines/unarchiving-a-line"},{"title":"Deletion of a line","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json delete /v1/lines/{id}","href":"/api-reference/lines/deletion-of-a-line"}]},{"group":"Input Fields","pages":[{"title":"Create an input field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /input-fields","href":"/api-reference/input-fields/create-an-input-field"},{"title":"Edit an input field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /input-fields/{inputFieldId}","href":"/api-reference/input-fields/edit-an-input-field"}]},{"group":"Tickets","pages":[{"title":"Create a ticket","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tickets","href":"/api-reference/tickets/create-a-ticket"},{"title":"Searching tickets","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/tickets/search","href":"/api-reference/tickets/searching-tickets"},{"title":"Counting tickets","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/count","href":"/api-reference/tickets/counting-tickets"},{"title":"Get details of a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/tickets/{id}","href":"/api-reference/tickets/get-details-of-a-ticket"},{"title":"Editing a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json patch /tickets/{ticketId}","href":"/api-reference/tickets/editing-a-ticket"},{"title":"Calling a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/call","href":"/api-reference/tickets/calling-a-ticket"},{"title":"Re-calling a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/recall","href":"/api-reference/tickets/re-calling-a-ticket"},{"title":"Marking a ticket as served","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/markserved","href":"/api-reference/tickets/marking-a-ticket-as-served"},{"title":"Marking a ticket as no-show","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/marknoshow","href":"/api-reference/tickets/marking-a-ticket-as-no-show"},{"title":"Removing a ticket from the queue","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/cancel","href":"/api-reference/tickets/removing-a-ticket-from-the-queue"},{"title":"Returning a ticket to the queue","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/returntoqueue","href":"/api-reference/tickets/returning-a-ticket-to-the-queue"},{"title":"Forwarding a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/forward","href":"/api-reference/tickets/forwarding-a-ticket"},{"title":"Adding a label","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/labels/add","href":"/api-reference/tickets/adding-a-label"},{"title":"Removing a label","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/labels/remove","href":"/api-reference/tickets/removing-a-label"},{"title":"Assigning a ticket to a user","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/assign","href":"/api-reference/tickets/assigning-a-ticket-to-a-user"},{"title":"Un-assigning a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/unassign","href":"/api-reference/tickets/un-assigning-a-ticket"},{"title":"Reordering a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/reorder","href":"/api-reference/tickets/reordering-a-ticket"},{"title":"Get messages of a ticket","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/tickets/{id}/messages","href":"/api-reference/tickets/get-messages-of-a-ticket"},{"title":"Sending an SMS message","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{id}/messages","href":"/api-reference/tickets/sending-an-sms-message"},{"title":"Save ticket input field value","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tickets/{ticketId}/fields/{inputFieldId}","href":"/api-reference/tickets/save-ticket-input-field-value"},{"title":"Remove ticket input field value","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/tickets/{ticketId}/fields/{inputFieldId}","href":"/api-reference/tickets/remove-ticket-input-field-value"}]},{"group":"Appointments","pages":[{"title":"Create an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/appointments","href":"/api-reference/appointments/create-an-appointment"},{"title":"Create an auto-assigning appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/appointments/auto-assign","href":"/api-reference/appointments/create-an-auto-assigning-appointment"},{"title":"Edit an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/appointments/{ticketId}","href":"/api-reference/appointments/edit-an-appointment"},{"title":"Cancel an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/appointments/{ticketId}/cancel","href":"/api-reference/appointments/cancel-an-appointment"},{"title":"Check in an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/appointments/{ticketId}/checkin","href":"/api-reference/appointments/check-in-an-appointment"},{"title":"Mark appointment as no-show","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/appointments/{ticketId}/marknoshow","href":"/api-reference/appointments/mark-appointment-as-no-show"}]},{"group":"Users","pages":[{"title":"Getting a list of users","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/locations/{id}/users","href":"/api-reference/users/getting-a-list-of-users"},{"title":"Creating a user","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/users","href":"/api-reference/users/creating-a-user"},{"title":"Getting details of a User","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/users/{id}","href":"/api-reference/users/getting-details-of-a-user"},{"title":"Getting user's selected desk id","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/users/{id}/desk","href":"/api-reference/users/getting-users-selected-desk-id"},{"title":"Changing the user's selected desk","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/users/{id}/desk","href":"/api-reference/users/changing-the-users-selected-desk"},{"title":"Clearing the user's selected desk","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json delete /v1/users/{id}/desk","href":"/api-reference/users/clearing-the-users-selected-desk"},{"title":"Getting the user's selected lines","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/users/{id}/lines","href":"/api-reference/users/getting-the-users-selected-lines"},{"title":"Selecting lines","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/users/{id}/lines","href":"/api-reference/users/selecting-lines"}]},{"group":"Webhooks","pages":[{"title":"Adding a webhook","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/adding-a-webhook"},{"title":"Removing a webhook","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/removing-a-webhook"}]}]}]},"basePath":"","title":"Create a location - Qminder API","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}