{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"PathStack","colors":{"primary":"#2047FA","light":"#203dfa","dark":"#2047FA"},"favicon":"https://mintcdn.com/nuonic-39/IvvWU3allt6PGoB1/favicon.png?fit=max\u0026auto=format\u0026n=IvvWU3allt6PGoB1\u0026q=85\u0026s=13af1d1deb3e464f07af03b3c326ddd3","logo":{"light":"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/light.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=9b03c378d1fa1bbd0bfce37ccf17175c","dark":"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/dark.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=2e04739478900956a06ad5d8f726dfb1","href":"https://pathstack.io"},"api":{"openapi":["api-reference/openapi_2024-03-27.json","api-reference/openapi_2024-03-26.json"]},"navbar":{"links":[{"label":"Support","href":"mailto:support@pathstack.io"}],"primary":{"type":"button","label":"Sign up","href":"https://pathstack.io/register"}},"footer":{"socials":{"linkedin":"https://au.linkedin.com/company/nuonic"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nuonic-39","hasAudioNarration":false,"actualSubdomain":"nuonic-39","customDomains":["docs.pathstack.io"],"gitSource":{"type":"github","owner":"nuonic","repo":"midland-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aa22862cf3ab925e991028c","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":83},{"language":"default","tag":"Endpoints","count":82},{"language":"default","tag":"Provider access guides","count":18},{"language":"default","tag":"Connections","count":14},{"language":"default","tag":"Milestones","count":12},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Devices","count":10},{"language":"default","tag":"Webhooks","count":10},{"language":"default","tag":"Legal","count":10},{"language":"default","tag":"Guides","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/2024-03-26/connections/connection-by-id","slug":"/api-reference/2024-03-26/connections/connection-by-id","pageMetadata":{"openapi":"openapi_2024-03-26 get /connection/{connection_id}","title":"Connection By Id","description":"This endpoint returns a Connection by ID.","href":"/api-reference/2024-03-26/connections/connection-by-id"},"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: \"This endpoint returns a Connection by ID.\"\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":{"openapi":"openapi_2024-03-26 get /connection/{connection_id}","title":"Connection By Id","description":"This endpoint returns a Connection by ID.","href":"/api-reference/2024-03-26/connections/connection-by-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Connections"],"summary":"Connection By Id","description":"This endpoint returns a Connection by ID.","operationId":"connection_by_id_connection__connection_id__get","security":["bda4fb66-d6d3-40cc-a84f-8171c02505f0"],"parameters":["6f6cfe91-41e2-4b85-9ffb-f4936eb1c5d5","d6c66ee6-e91e-4e19-956a-1ed9c54e0658"],"responses":{"200":"de09b605-cfac-4c05-b3c0-5788abfcc6cf","400":"f75aefd1-5f56-4601-a91f-90251b49d92a","401":"cd5f88f8-7526-4a22-81d7-6b067776720f","403":"0e90d646-8521-42c3-8444-7641e6e0ea60","404":"9e4bf385-c95f-43f5-a0dc-cd992cdc8628","422":"2b4e7401-25a6-410f-8b68-42e7ecd9b1e7"},"method":"get","type":"path","servers":["526eb86f-4f2f-4596-9901-1ab1dd1a4293"],"path":"/connection/{connection_id}","baseUrlOptions":["https://api.pathstack.io"],"title":"Connection By Id","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6f6cfe91-41e2-4b85-9ffb-f4936eb1c5d5":{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection ID","description":"Connection ID of the Connection to be returned","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Connection ID of the Connection to be returned"},"d6c66ee6-e91e-4e19-956a-1ed9c54e0658":{"name":"x-api-version","in":"header","required":false,"schema":{"type":"string","format":"date","default":"2024-03-26","title":"X-Api-Version","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate>"},"examples":{"default":{"value":"2024-03-26"}}}},"responses":{"de09b605-cfac-4c05-b3c0-5788abfcc6cf":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"integration_name":{"type":"string","enum":["mtdata","geotab","navman","mixtelematics","radius","verizon_connect","volvo","fleetsu","digital_matter","netstar","netstar_v2","webfleet","scania","linxio","geoforce","michelin_connected_fleet","navixy","netcorp","mapon","v_daq"],"title":"ProviderEnum","isRequired":true,"uniqueKey":"data.integration_name","typeLabel":"enum\u003cstring>"},"business_name":{"oneOf":[{"type":"string","title":"Business Name","isRequired":true,"uniqueKey":"data.business_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Business Name","isRequired":true,"uniqueKey":"data.business_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.business_name","typeLabel":"string | null"},"abn":{"oneOf":[{"type":"string","title":"Abn","isRequired":true,"uniqueKey":"data.abn.oneOf.0","typeLabel":"string"},{"type":"null","title":"Abn","isRequired":true,"uniqueKey":"data.abn.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.abn","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","isRequired":true,"uniqueKey":"data.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","isRequired":true,"uniqueKey":"data.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.email","typeLabel":"string | null"},"active":{"type":"boolean","title":"Active","isRequired":true,"uniqueKey":"data.active","typeLabel":"boolean"},"id":{"type":"string","format":"uuid4","title":"Id","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid4>"},"tenant_id":{"type":"string","format":"uuid4","title":"Tenant Id","isRequired":true,"uniqueKey":"data.tenant_id","typeLabel":"string\u003cuuid4>"},"collection_start_time":{"oneOf":[{"type":"string","title":"Collection Start Time","format":"date-time","isRequired":true,"uniqueKey":"data.collection_start_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Collection Start Time","isRequired":true,"uniqueKey":"data.collection_start_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.collection_start_time","typeLabel":"string\u003cdate-time> | null"},"collection_end_time":{"oneOf":[{"type":"string","title":"Collection End Time","format":"date-time","isRequired":true,"uniqueKey":"data.collection_end_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Collection End Time","isRequired":true,"uniqueKey":"data.collection_end_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.collection_end_time","typeLabel":"string\u003cdate-time> | null"},"configuration":{"oneOf":[{"type":"object","title":"Configuration","additionalProperties":true,"isRequired":true,"uniqueKey":"data.configuration.oneOf.0","typeLabel":"Configuration · object"},{"type":"null","title":"Configuration","isRequired":true,"uniqueKey":"data.configuration.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.configuration","typeLabel":"Configuration · object | null"}},"type":"object","required":["integration_name","business_name","abn","email","active","id","tenant_id","collection_start_time","collection_end_time","configuration"],"title":"ConnectionNoCredentials","isRequired":true,"uniqueKey":"data","typeLabel":"ConnectionNoCredentials · object"}},"type":"object","required":["data"],"title":"ConnectionSuccessResponse","uniqueKey":"","typeLabel":"ConnectionSuccessResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":{"integration_name":"mtdata","business_name":"\u003cstring>","abn":"\u003cstring>","email":"\u003cstring>","active":true,"id":"\u003cstring>","tenant_id":"\u003cstring>","collection_start_time":"2023-11-07T05:31:56Z","collection_end_time":"2023-11-07T05:31:56Z","configuration":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f75aefd1-5f56-4601-a91f-90251b49d92a":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":400,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Invalid JWT format","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":400,"message":"Invalid JWT format"}}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"cd5f88f8-7526-4a22-81d7-6b067776720f":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":401,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Authentication header is missing, or token is invalid/expired.","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"Authentication header is missing, or token is invalid/expired."}}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"0e90d646-8521-42c3-8444-7641e6e0ea60":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":403,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"You do not have access to this resource","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":403,"message":"You do not have access to this resource"}}}},"exampleType":"generated"}},"description":"Forbidden","exampleType":"generated"},"9e4bf385-c95f-43f5-a0dc-cd992cdc8628":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":404,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Connection with ID \u003cconnection_id> not found","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Connection with ID \u003cconnection_id> not found"}}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"2b4e7401-25a6-410f-8b68-42e7ecd9b1e7":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":422,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Field required","title":"Error message","uniqueKey":"error.message","typeLabel":"string"},"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"error.loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","uniqueKey":"error.loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","uniqueKey":"error.msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":422,"message":"Field required","loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Unprocessable Entity","exampleType":"generated"}},"security":{"bda4fb66-d6d3-40cc-a84f-8171c02505f0":{"JWTBearer":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"526eb86f-4f2f-4596-9901-1ab1dd1a4293":{"url":"https://api.pathstack.io","description":"PathStack production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"JWTBearer","name":"Authorization"}],"title":"JWTBearer"}]},"originalFileLocation":"api-reference/openapi_2024-03-26.json"},"subdomain":"nuonic-39","siteName":"PathStack","title":"Connection By Id - PathStack","navMaps":{"firstHrefInVersion":{"2024-03-27":{"href":"/api-reference/2024-03-27/connections/connection-by-id","matchLevel":1},"2024-03-26":{"href":"/api-reference/2024-03-26/connections/connection-by-id","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2025-09-09T05:07:57.368Z","originalFileLocation":"api-reference/2024-03-26/connections/connection-by-id.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=\"This endpoint returns a Connection by ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PathStack\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connection By Id - PathStack\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint returns a Connection by ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PathStack\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nuonic-39.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Connection+By+Id\u0026amp;description=This+endpoint+returns+a+Connection+by+ID.\u0026amp;theme=a7ca01a8ea725ca933abf4b0\u0026amp;signature=ebb7814516da6cbd6731d688bb5875af2d50989d154517281bda275a672f7d5a\">\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=\"Connection By Id - PathStack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint returns a Connection by ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nuonic-39.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Connection+By+Id\u0026amp;description=This+endpoint+returns+a+Connection+by+ID.\u0026amp;theme=a7ca01a8ea725ca933abf4b0\u0026amp;signature=ebb7814516da6cbd6731d688bb5875af2d50989d154517281bda275a672f7d5a\">\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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PathStack\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2047FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/2024-03-26/connections/connection-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pathstack.io/#organization\",\"name\":\"PathStack\",\"url\":\"https://docs.pathstack.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/light.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=9b03c378d1fa1bbd0bfce37ccf17175c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pathstack.io#website\",\"name\":\"PathStack\",\"url\":\"https://docs.pathstack.io\",\"publisher\":{\"@id\":\"https://docs.pathstack.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id#webpage\",\"url\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id\",\"name\":\"Connection By Id\",\"description\":\"This endpoint returns a Connection by ID.\",\"dateModified\":\"2025-09-09T05:07:57.368Z\",\"isPartOf\":{\"@id\":\"https://docs.pathstack.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/account/account-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connections\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Connection By Id\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id#apireference\",\"headline\":\"Connection By Id\",\"name\":\"Connection By Id\",\"description\":\"This endpoint returns a Connection by ID.\",\"url\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connection-by-id#webpage\"},\"dateModified\":\"2025-09-09T05:07:57.368Z\",\"publisher\":{\"@id\":\"https://docs.pathstack.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pathstack.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PathStack\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"PathStack\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/2024-03-26/connections/connection-by-id.md","siteName":"PathStack","nav":{"global":null,"versions":[{"version":"2024-03-27","pages":[{"title":"2024-03-27","href":"/api-reference/2024-03-27/connections/connection-by-id"}]},{"version":"2024-03-26","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"openapi":"openapi_2024-03-26 get /account/summary","title":"Account Summary","href":"/api-reference/2024-03-26/account/account-summary"},{"openapi":"openapi_2024-03-26 get /account/activity-summary","title":"Account Activity Summary","href":"/api-reference/2024-03-26/account/account-activity-summary"}]},{"group":"Auth","pages":[{"openapi":"openapi_2024-03-26 post /token","title":"Login","href":"/api-reference/2024-03-26/auth/login"},{"openapi":"openapi_2024-03-26 post /refresh","title":"Refresh","href":"/api-reference/2024-03-26/auth/refresh"}]},{"group":"Connections","pages":[{"openapi":"openapi_2024-03-26 get /connection","title":"Connections","href":"/api-reference/2024-03-26/connections/connections"},{"openapi":"openapi_2024-03-26 post /connection","title":"Create Connection","description":"This endpoint takes attributes for a new Connection and a tenant_id and creates and returns a new Connection.\n\nThe allowed values for integration_name can be found under ProviderEnum.","href":"/api-reference/2024-03-26/connections/create-connection"},{"openapi":"openapi_2024-03-26 get /connection/{connection_id}","title":"Connection By Id","href":"/api-reference/2024-03-26/connections/connection-by-id"},{"openapi":"openapi_2024-03-26 patch /connection/{connection_id}","title":"Update Connection","description":"Update connection metadata (active toggle, tag assignment, business_name, abn, email).\nOnly the owning tenant may update a connection.\n\n- Omitting a field leaves it unchanged.\n- Sending null or [] for tags clears all tag assignments.\n- Sending null for business_name, abn, or email clears that field.\n- Sending null for active is not allowed (active is always a bool).","href":"/api-reference/2024-03-26/connections/update-connection"},{"openapi":"openapi_2024-03-26 get /connection/{connection_id}/credentials","title":"Connection Credentials By Id","href":"/api-reference/2024-03-26/connections/connection-credentials-by-id"},{"openapi":"openapi_2024-03-26 patch /connection/{connection_id}/credentials","title":"Update Connection Credentials","href":"/api-reference/2024-03-26/connections/update-connection-credentials"},{"openapi":"openapi_2024-03-26 get /connection-tag","title":"List Connection Tags","href":"/api-reference/2024-03-26/connections/list-connection-tags"}]},{"group":"Devices","pages":[{"openapi":"openapi_2024-03-26 get /device","title":"Devices","href":"/api-reference/2024-03-26/devices/devices"},{"openapi":"openapi_2024-03-26 post /device","title":"Create Device","href":"/api-reference/2024-03-26/devices/create-device"},{"openapi":"openapi_2024-03-26 get /device/{device_id}","title":"Device By Id","href":"/api-reference/2024-03-26/devices/device-by-id"},{"openapi":"openapi_2024-03-26 delete /device/{device_id}","title":"Delete Device By Id","href":"/api-reference/2024-03-26/devices/delete-device-by-id"},{"openapi":"openapi_2024-03-26 patch /device/{device_id}","title":"Update Device By Id","href":"/api-reference/2024-03-26/devices/update-device-by-id"}]},{"group":"Trips","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/trip","title":"Trips","href":"/api-reference/2024-03-26/trips/trips"},{"openapi":"openapi_2024-03-26 get /trip/{trip_id}","title":"Trip By Id","href":"/api-reference/2024-03-26/trips/trip-by-id"}]},{"group":"Positions","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/position","title":"Positions","href":"/api-reference/2024-03-26/positions/positions"},{"openapi":"openapi_2024-03-26 get /trip/{trip_id}/position","title":"Positions By Trip Id","href":"/api-reference/2024-03-26/positions/positions-by-trip-id"}]},{"group":"Real-time","pages":[{"openapi":"openapi_2024-03-26 post /realtime/device","title":"Get Realtime Positions","href":"/api-reference/2024-03-26/real-time/get-realtime-positions"},{"openapi":"openapi_2024-03-26 get /realtime/connect","title":"Get Connect","href":"/api-reference/2024-03-26/real-time/get-connect"}]},{"group":"Webhooks","pages":[{"openapi":"openapi_2024-03-26 get /webhook","title":"Get Webhooks","href":"/api-reference/2024-03-26/webhooks/get-webhooks"},{"openapi":"openapi_2024-03-26 post /webhook","title":"Create Webhook","href":"/api-reference/2024-03-26/webhooks/create-webhook"},{"openapi":"openapi_2024-03-26 get /webhook/{webhook_id}","title":"Get Webhook","href":"/api-reference/2024-03-26/webhooks/get-webhook"},{"openapi":"openapi_2024-03-26 delete /webhook/{webhook_id}","title":"Delete Webhook","href":"/api-reference/2024-03-26/webhooks/delete-webhook"},{"openapi":"openapi_2024-03-26 patch /webhook/{webhook_id}","title":"Patch Webhook","href":"/api-reference/2024-03-26/webhooks/patch-webhook"}]},{"group":"Tags","pages":[{"openapi":"openapi_2024-03-26 get /tag","title":"Get Tags","href":"/api-reference/2024-03-26/tags/get-tags"}]},{"group":"Events","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/event","title":"Events","href":"/api-reference/2024-03-26/events/events"},{"openapi":"openapi_2024-03-26 get /event/{event_id}","title":"Event By Id","href":"/api-reference/2024-03-26/events/event-by-id"}]},{"group":"Tenants","pages":[{"openapi":"openapi_2024-03-26 get /tenant","title":"Tenant By Id","href":"/api-reference/2024-03-26/tenants/tenant-by-id"},{"openapi":"openapi_2024-03-26 patch /tenant","title":"Update Tenant By Id","href":"/api-reference/2024-03-26/tenants/update-tenant-by-id"},{"openapi":"openapi_2024-03-26 get /tenant/configuration","title":"Tenant Configuration","href":"/api-reference/2024-03-26/tenants/tenant-configuration"}]},{"group":"Milestones","pages":[{"openapi":"openapi_2024-03-26 get /milestone","title":null,"href":"/api-reference/2024-03-26/milestones/get-milestones"},{"openapi":"openapi_2024-03-26 post /milestone","title":null,"href":"/api-reference/2024-03-26/milestones/create-milestone"},{"openapi":"openapi_2024-03-26 get /milestone/{milestone_id}","title":"Get Milestone","href":"/api-reference/2024-03-26/milestones/get-milestone"},{"openapi":"openapi_2024-03-26 delete /milestone/{milestone_id}","title":"Delete Milestone","href":"/api-reference/2024-03-26/milestones/delete-milestone"},{"openapi":"openapi_2024-03-26 patch /milestone/{milestone_id}","title":"Patch Milestone","href":"/api-reference/2024-03-26/milestones/patch-milestone"},{"openapi":"openapi_2024-03-26 get /milestone/{milestone_id}/update","title":"Get Milestone Update","href":"/api-reference/2024-03-26/milestones/get-milestone-update"}]},{"group":"Consumer","pages":[{"openapi":"openapi_2024-03-26 get /consumer/connection/share_request","title":"Get Share Requests","href":"/api-reference/2024-03-26/consumer/get-share-requests"},{"openapi":"openapi_2024-03-26 post /consumer/connection/share_request","title":"Create Share Request","href":"/api-reference/2024-03-26/consumer/create-share-request"}]}]}]},{"tab":"Provider access guides","pages":[{"title":"Provider access guides","href":"/integration-guides/verizon"}]},{"tab":"Legal","pages":[{"title":"Legal","href":"/legal/data-provider-terms"}]}]}]},"basePath":"","title":"Connection By Id - PathStack","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}