{
"code": "bad_request",
"message": "Invalid request body",
"detail": [
{
"message": "'vehicleId' property must be a valid ulid",
"path": "{requestQuery}.vehicleId",
"suggestion": "Please ensure you submit a valid 'vehicleId' property",
"context": {}
}
]
}
{
"code": "unauthorized",
"message": "Unauthorized Request",
"detail": "Please ensure you have a valid API key"
}
{
"code": "forbidden",
"message": "Forbidden Request",
"detail": "Please ensure the connection token matches the resource you are attempting to access."
}
{
"code": "not_found",
"message": "Resource not found",
"detail": "Could not find resource with ID: 2342342"
}
{
"code": "too_many_requests",
"message": "Too Many Requests",
"retryAfter": 60,
"detail": "You have exceeded your rate limit. Please try again later."
}
{
"code": "internal_server_error",
"message": "Internal Server Error",
"detail": "Something went wrong"
}
Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer’s TSP.
{
"code": "bad_request",
"message": "Invalid request body",
"detail": [
{
"message": "'vehicleId' property must be a valid ulid",
"path": "{requestQuery}.vehicleId",
"suggestion": "Please ensure you submit a valid 'vehicleId' property",
"context": {}
}
]
}
{
"code": "unauthorized",
"message": "Unauthorized Request",
"detail": "Please ensure you have a valid API key"
}
{
"code": "forbidden",
"message": "Forbidden Request",
"detail": "Please ensure the connection token matches the resource you are attempting to access."
}
{
"code": "not_found",
"message": "Resource not found",
"detail": "Could not find resource with ID: 2342342"
}
{
"code": "too_many_requests",
"message": "Too Many Requests",
"retryAfter": 60,
"detail": "You have exceeded your rate limit. Please try again later."
}
{
"code": "internal_server_error",
"message": "Internal Server Error",
"detail": "Something went wrong"
}
An optional ID from your system that can be used to reference connections.
Example:
"1234"
sourceId
string
The ID used in the source system to represent the account this connection has or had access to.
This may be an organizationId or accountId.
Note: not all systems expose this information, in which case it may be undefined.
Example:
"123456789"
tags
string[]
An optional list of tags from your system that can be used to reference connections.
filters
object
Filters applied to connection data. Across all lists, the maximum is about 8,000 IDs. A larger update is rejected with 422 and is not saved. If one list contains most vehicles or drivers, use the opposite list: excludeIds for the ones to skip, or includeIds for the ones to keep.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Terminal","colors":{"primary":"#0C5DFF","light":"#4684FF","dark":"#0C5DFF"},"logo":{"light":"https://mintcdn.com/terminal-docs/Pfa4hlnVUUtjY2OJ/logo/light.svg?fit=max\u0026auto=format\u0026n=Pfa4hlnVUUtjY2OJ\u0026q=85\u0026s=9cef1cf6544af4b9a6af143a7ca8a7b8","dark":"https://mintcdn.com/terminal-docs/Pfa4hlnVUUtjY2OJ/logo/dark.svg?fit=max\u0026auto=format\u0026n=Pfa4hlnVUUtjY2OJ\u0026q=85\u0026s=9eb834794ce0fccc722a09696c1c47a0"},"favicon":"https://mintcdn.com/terminal-docs/XMROIdknlI2ksy8J/favicon.png?fit=max\u0026auto=format\u0026n=XMROIdknlI2ksy8J\u0026q=85\u0026s=aa609b3517927b87b7f41bde9523eba8","api":{"openapi":["terminal.openapi.json","link.openapi.json"],"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.withterminal.com/tsp/v1"}},"appearance":{"default":"system"},"background":{"color":{"light":"#FFFFFF","dark":"#00173E"}},"navbar":{"primary":{"type":"button","label":"Book a Demo","href":"https://calendly.com/d/d2tk-y35-kb2/discovery-call"}},"footer":{"socials":{"website":"https://www.withterminal.com/","linkedin":"https://www.linkedin.com/company/terminal-api"}},"fonts":{"heading":{"family":"Britti Sans","weight":600,"source":"fonts/britti-sans-semibold.woff2","format":"woff2"},"body":{"family":"Inter"}},"integrations":{"posthog":{"apiKey":"phc_DOA2tdBw0QwwhIudbHy0FjnOESXJoSsnqgZbJ4hFK4j"},"cookies":{"key":"TERMINAL_COOKIE_CONSENT_STATUS","value":"CONSENTED"}},"contextual":{"options":["copy","chatgpt","claude","mcp","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"terminal-docs","hasAudioNarration":false,"actualSubdomain":"terminal-docs","customDomains":["docs.withterminal.com"],"gitSource":{"type":"github","owner":"terminal-api","repo":"terminal","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b097d4425348186d60ac47c","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Supported Providers","count":357},{"language":"default","tag":"Provider Details","count":355},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Common Models","count":48},{"language":"default","tag":"Documentation","count":40},{"language":"default","tag":"Webhook Events","count":33},{"language":"default","tag":"Working With Data","count":13},{"language":"default","tag":"Time Series Data","count":11},{"language":"default","tag":"Connect Your Customers","count":10},{"language":"default","tag":"Data Management","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--terminal-primary: rgb(var(--primary));--terminal-primary-text: rgb(var(--primary));--terminal-primary-hover: #0050f0;--terminal-destructive: #d91f1f;--terminal-error-foreground: #a81818;--terminal-destructive-hover: var(\n --terminal-error-foreground\n );--terminal-error-background: #fff1f1;--terminal-navy: #00173e;--terminal-border: #00173e14;--terminal-border-dark: #ffffff1f;--terminal-radius: 0.25rem}.dark{--terminal-primary-text: rgb(var(--primary-light));--terminal-destructive: #ff2929;--terminal-destructive-hover: #ff5c5c}@font-face{font-family:'Britti Sans Fallback';src:local('Arial'), local('Liberation Sans');ascent-override:78.01%;descent-override:19.5%;line-gap-override:0%;size-adjust:102.55%}body{color:var(--terminal-navy);font-family:Inter, ui-sans-serif, system-ui, sans-serif}h1,h2,h3,h4,h5,h6{color:var(--terminal-navy)!important;font-family:'Britti Sans', 'Britti Sans Fallback', Inter, ui-sans-serif, system-ui,\n sans-serif}a[class*=\"focus:outline-primary\"]:focus-visible{outline-offset:-2px!important}button,input,select,textarea,[role=\"button\"],[class*=\"button\"],[class*=\"Button\"],[class*=\"card\"],[class*=\"Card\"],[class*=\"callout\"],[class*=\"Callout\"]{border-radius:var(--terminal-radius)!important}[role=\"group\"]>button:not(:only-child),[role=\"group\"]>[role=\"button\"]:not(:only-child),[class*=\"button-group\"]>button:not(:only-child),[class*=\"ButtonGroup\"]>button:not(:only-child){border-radius:0!important}[role=\"group\"]>button:first-child:not(:only-child),[role=\"group\"]>[role=\"button\"]:first-child:not(:only-child),[class*=\"button-group\"]>button:first-child:not(:only-child),[class*=\"ButtonGroup\"]>button:first-child:not(:only-child){border-top-left-radius:var(--terminal-radius)!important;border-bottom-left-radius:var(--terminal-radius)!important}[role=\"group\"]>button:last-child:not(:only-child),[role=\"group\"]>[role=\"button\"]:last-child:not(:only-child),[class*=\"button-group\"]>button:last-child:not(:only-child),[class*=\"ButtonGroup\"]>button:last-child:not(:only-child){border-top-right-radius:var(--terminal-radius)!important;border-bottom-right-radius:var(--terminal-radius)!important}button[class*=\"border-r-0\"]{border-top-right-radius:0!important;border-bottom-right-radius:0!important}button[class*=\"border-r-0\"]+button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}[class*=\"card\"],[class*=\"Card\"],[class*=\"callout\"],[class*=\"Callout\"],[class*=\"step\"],[class*=\"Step\"]{border-color:var(--terminal-border)!important}.dark [class*=\"card\"],.dark [class*=\"Card\"],.dark [class*=\"callout\"],.dark [class*=\"Callout\"],.dark [class*=\"step\"],.dark [class*=\"Step\"]{border-color:var(--terminal-border-dark)!important}.dark body,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6,.dark #navigation-items a[aria-current=\"page\"],.dark div.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],.dark a.nav-anchor[aria-current=\"location\"],.dark .eyebrow,.dark ul.toc li.toc-item[data-active]>a,.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][aria-selected=\"true\"],.dark [data-component-part=\"update-label\"],.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#fff!important}.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{border-bottom-color:rgb(var(--primary-light))}.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"false\"]{color:#9fa1a6}.dark #navigation-items a[aria-current=\"page\"]{box-shadow:inset 2px 0 0 rgb(var(--primary-light))}html:not(.dark) [data-component-part=\"field-required-pill\"]{background-color:var(--terminal-error-background);color:var(--terminal-error-foreground)}.dark #navigation-items a[aria-current=\"page\"] .bg-\\[\\#2AB673\\]{background-color:#18804f}.dark #navigation-items a[aria-current=\"page\"] .bg-\\[\\#DA622B\\]{background-color:#b8521d}@layer utilities{.dark div.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"] a{color:#93c5fd!important}}.dark details.accordion{background-color:var(--terminal-navy)!important}.dark details.accordion>summary:hover{background-color:rgba(255, 255, 255, 0.06)!important}#topbar-cta-button a{border-radius:var(--terminal-radius)!important}#topbar-cta-button a span.rounded-xl{border-radius:var(--terminal-radius)!important}.provider-explorer{margin-bottom:2rem}.provider-explorer-sticky{position:sticky;top:120px;z-index:20;background:#fff;padding-top:8px;padding-bottom:4px;margin:0 -2px;padding-left:2px;padding-right:2px}@media (min-width: 1024px){.provider-explorer-sticky{top:64px}}.dark .provider-explorer-sticky{background:rgb(var(--background-dark))}.provider-explorer-toggle{display:flex;align-items:center;gap:4px;width:100%;padding:8px 0;margin-top:8px;background:none;border:none;border-top:1px solid #e5e7eb;cursor:pointer;color:#374151;font-size:14px;font-weight:600;transition:color 0.15s}.dark .provider-explorer-toggle{border-top-color:#374151;color:#d1d5db}.provider-explorer-toggle:hover{color:var(--terminal-primary-text)}.provider-explorer-toggle-label{display:flex;align-items:center;gap:8px}.provider-explorer-toggle-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;border-radius:var(--terminal-radius);background:var(--terminal-primary);color:#fff;line-height:1}.provider-explorer-toggle-chevron{transition:transform 0.2s;color:#9ca3af;flex-shrink:0}.provider-explorer-toggle-chevron.open{transform:rotate(90deg)}.provider-explorer-collapsible{padding-bottom:4px}.provider-explorer-input-wrapper{position:relative;display:flex;align-items:center}.provider-explorer-icon{position:absolute;left:12px;width:20px;height:20px;color:#9ca3af;pointer-events:none}.provider-explorer-input{width:100%;padding:12px 40px 12px 44px;font-size:16px;border:1px solid var(--terminal-border);border-radius:var(--terminal-radius);outline:none;transition:border-color 0.15s,\n box-shadow 0.15s;background-color:#fff}.dark .provider-explorer-input{background-color:rgb(var(--background-dark));border-color:#374151;color:#f9fafb}.provider-explorer-input:focus{border-color:var(--terminal-primary);box-shadow:0 0 0 3px rgb(var(--primary) / 0.15)}.provider-explorer-input::placeholder{color:#9ca3af}.provider-explorer-clear{position:absolute;right:8px;padding:4px;background:none;border:none;cursor:pointer;color:#9ca3af;display:flex;align-items:center;justify-content:center;border-radius:var(--terminal-radius);transition:color 0.15s,\n background-color 0.15s}.provider-explorer-clear:hover{color:#6b7280;background-color:#f3f4f6}.dark .provider-explorer-clear:hover{color:#d1d5db;background-color:#374151}.provider-explorer-clear svg{width:20px;height:20px}.provider-explorer-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.provider-explorer-filters-label{font-size:13px;color:#6b7280;margin-right:4px}.dark .provider-explorer-filters-label{color:#9ca3af}.provider-explorer-filter-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.provider-explorer-chip-group{display:contents}.provider-explorer-chip-divider{width:1px;height:16px;background:#d1d5db;margin:0 2px;flex-shrink:0}.dark .provider-explorer-chip-divider{background:#4b5563}.provider-explorer-chip{padding:4px 10px;font-size:12px;font-weight:500;border:1px solid #bfdbfe;border-radius:var(--terminal-radius);background:#eff6ff;color:#1e40af;cursor:pointer;transition:all 0.15s}.dark .provider-explorer-chip{background:rgba(59, 130, 246, 0.15);border-color:#3b82f6;color:#93c5fd}.provider-explorer-chip:hover{border-color:var(--terminal-primary);color:var(--terminal-primary-text)}.provider-explorer-chip.active{background:var(--terminal-primary);border-color:var(--terminal-primary);color:#fff}.provider-explorer-chip-special{border-style:dashed;background:#fef3c7;border-color:#d97706;color:#92400e}.dark .provider-explorer-chip-special{background:rgba(217, 119, 6, 0.15);border-color:#d97706;color:#fbbf24}.provider-explorer-chip-special:hover{border-color:#b45309;color:#b45309}.provider-explorer-chip-special.active{background:#d97706;border-color:#d97706;border-style:solid;color:#fff}.provider-explorer-clear-all{padding:4px 10px;font-size:12px;color:var(--terminal-destructive);background:none;border:none;cursor:pointer;transition:color 0.15s}.provider-explorer-clear-all:hover{color:var(--terminal-destructive-hover);text-decoration:underline}.provider-explorer-select{padding:4px 24px 4px 8px;font-size:12px;font-weight:500;border:1px solid #e5e7eb;border-radius:var(--terminal-radius);background:#fff;color:#374151;cursor:pointer;outline:none;appearance:none;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 5l3 3 3-3'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right 6px center;transition:border-color 0.15s,\n box-shadow 0.15s}.dark .provider-explorer-select{background-color:rgb(var(--background-dark));border-color:#374151;color:#d1d5db;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M3 5l3 3 3-3'/%3E%3C/svg%3E\")}.provider-explorer-select:focus{border-color:var(--terminal-primary);box-shadow:0 0 0 2px rgb(var(--primary) / 0.15)}.provider-explorer-select.active{border-color:var(--terminal-primary);background-color:#eff6ff;color:#1e40af}.dark .provider-explorer-select.active{background-color:rgba(59, 130, 246, 0.15);border-color:#3b82f6;color:#93c5fd}.provider-explorer-results-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 8px}.provider-explorer-count{font-size:14px;color:#6b7280}.dark .provider-explorer-count{color:#9ca3af}.provider-explorer-count-number{font-size:20px;font-weight:700;color:#111827}.dark .provider-explorer-count-number{color:#f9fafb}.provider-explorer-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:48px 24px;color:#6b7280}.dark .provider-explorer-empty{color:#9ca3af}.provider-explorer-empty p{margin:0}.provider-explorer-empty-button{padding:8px 16px;font-size:14px;color:var(--terminal-primary-text);background:none;border:1px solid var(--terminal-primary);border-radius:var(--terminal-radius);cursor:pointer;transition:background-color 0.15s,\n color 0.15s}.provider-explorer-empty-button:hover{background-color:var(--terminal-primary);color:#fff}.ps-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:8px}.ps-tile{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--terminal-border);border-radius:var(--terminal-radius);color:inherit;cursor:pointer;text-decoration:none!important;transition:border-color 0.15s,\n box-shadow 0.15s}.dark .ps-tile{border-color:#374151}.ps-tile *{margin:0;padding:0}.ps-tile img{margin:0!important}.ps-tile:hover{border-color:var(--terminal-primary);box-shadow:0 1px 4px rgb(var(--primary) / 0.12)}.dark .ps-tile:hover{box-shadow:0 1px 4px rgb(var(--primary) / 0.2)}.ps-tile:hover .ps-tile-name{color:var(--terminal-primary-text)}.ps-tile-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0}.ps-tile-name{font-weight:500;font-size:14px;line-height:1.3;transition:color 0.15s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-tile-unsupported{border-style:dashed;opacity:0.55}.ps-tile-unsupported:hover{opacity:1}.ps-search{margin-bottom:12px}.ps-scrollable{display:flex;flex-direction:column}.ps-scrollable .ps-search{flex-shrink:0}.ps-scroll-list{max-height:22rem;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}.ps-group-label{margin:16px 0 8px;font-size:12px;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;color:#6b7280}.ps-search-empty{margin:0;font-size:14px;color:#6b7280}.dark .ps-group-label,.dark .ps-search-empty{color:#9ca3af}.chat-assistant-floating-input{display:none!important;pointer-events:none!important}"},{"filePath":"cookies/cc.css","content":"#cc-main{background:transparent;color:var(--cc-primary-color);font-family:var(--cc-font-family);font-size:16px;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.15;position:relative;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;position:fixed;z-index:var(--cc-z-index)}#cc-main :after,#cc-main :before,#cc-main a,#cc-main button,#cc-main div,#cc-main h2,#cc-main input,#cc-main p,#cc-main span{all:unset;box-sizing:border-box}#cc-main .pm__badge,#cc-main button{all:initial;box-sizing:border-box;color:unset;visibility:unset}#cc-main .pm__badge,#cc-main a,#cc-main button,#cc-main input{-webkit-appearance:none;appearance:none;cursor:pointer;font-family:inherit;font-size:100%;line-height:normal;margin:0;outline:revert;outline-offset:2px;overflow:hidden}#cc-main table,#cc-main tbody,#cc-main td,#cc-main th,#cc-main thead,#cc-main tr{all:revert;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit}:root{--cc-font-family:\n -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';--cc-modal-border-radius: 0.5rem;--cc-btn-border-radius: 0.4rem;--cc-modal-transition-duration: 0.25s;--cc-link-color: var(--cc-btn-primary-bg);--cc-modal-margin: 1rem;--cc-z-index: 2147483647;--cc-bg: #fff;--cc-primary-color: #2c2f31;--cc-secondary-color: #5e6266;--cc-btn-primary-bg: #30363c;--cc-btn-primary-color: #fff;--cc-btn-primary-border-color: var(--cc-btn-primary-bg);--cc-btn-primary-hover-bg: #000;--cc-btn-primary-hover-color: #fff;--cc-btn-primary-hover-border-color: var(--cc-btn-primary-hover-bg);--cc-btn-secondary-bg: #eaeff2;--cc-btn-secondary-color: var(--cc-primary-color);--cc-btn-secondary-border-color: var(--cc-btn-secondary-bg);--cc-btn-secondary-hover-bg: #d4dae0;--cc-btn-secondary-hover-color: #000;--cc-btn-secondary-hover-border-color: #d4dae0;--cc-separator-border-color: #f0f4f7;--cc-toggle-on-bg: var(--cc-btn-primary-bg);--cc-toggle-off-bg: #667481;--cc-toggle-on-knob-bg: #fff;--cc-toggle-off-knob-bg: var(--cc-toggle-on-knob-bg);--cc-toggle-enabled-icon-color: var(--cc-bg);--cc-toggle-disabled-icon-color: var(--cc-bg);--cc-toggle-readonly-bg: #d5dee2;--cc-toggle-readonly-knob-bg: #fff;--cc-toggle-readonly-knob-icon-color: var(--cc-toggle-readonly-bg);--cc-section-category-border: var(--cc-cookie-category-block-bg);--cc-cookie-category-block-bg: #f0f4f7;--cc-cookie-category-block-border: #f0f4f7;--cc-cookie-category-block-hover-bg: #e9eff4;--cc-cookie-category-block-hover-border: #e9eff4;--cc-cookie-category-expanded-block-bg: transparent;--cc-cookie-category-expanded-block-hover-bg: #dee4e9;--cc-overlay-bg: rgba(0, 0, 0, 0.65);--cc-webkit-scrollbar-bg: var(--cc-section-category-border);--cc-webkit-scrollbar-hover-bg: var(--cc-btn-primary-hover-bg);--cc-footer-bg: var(--cc-btn-secondary-bg);--cc-footer-color: var(--cc-secondary-color);--cc-footer-border-color: #e4eaed;--cc-pm-toggle-border-radius: 4em}#cc-main.cc--rtl{direction:rtl}#cc-main .cm__title,#cc-main a,#cc-main b,#cc-main em,#cc-main strong{font-weight:600}#cc-main button>span{pointer-events:none}#cc-main .cc__link,#cc-main a{background-image:linear-gradient(currentColor, currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0 1px;font-weight:600;position:relative;transition:background-size 0.25s,\n color 0.25s ease}#cc-main .cc__link:hover,#cc-main a:hover{background-size:100% 1px;color:var(--cc-primary-color)}#cc-main .cc__link{color:var(--cc-link-color)}#cc-main .cm__desc,#cc-main .pm__body{overscroll-behavior:auto contain;scrollbar-width:thin}@media screen and (min-width: 640px){#cc-main ::-webkit-scrollbar,#cc-main ::-webkit-scrollbar-thumb,#cc-main ::-webkit-scrollbar-track{all:revert}#cc-main ::-webkit-scrollbar-thumb{-webkit-background-clip:padding-box;background-clip:padding-box;background:var(--cc-toggle-readonly-bg);border:0.25rem solid var(--cc-bg);border-radius:1rem}#cc-main ::-webkit-scrollbar-thumb:hover{background:var(--cc-toggle-off-bg)}#cc-main ::-webkit-scrollbar{background:transparent;width:12px}}html.disable--interaction.show--consent,html.disable--interaction.show--consent body{height:auto!important;overflow:hidden!important}@media (prefers-reduced-motion){#cc-main{--cc-modal-transition-duration: 0s}}.cc--darkmode{--cc-bg: #161a1c;--cc-primary-color: #ebf3f6;--cc-secondary-color: #aebbc5;--cc-btn-primary-bg: #c2d0e0;--cc-btn-primary-color: var(--cc-bg);--cc-btn-primary-border-color: var(--cc-btn-primary-bg);--cc-btn-primary-hover-bg: #98a7b6;--cc-btn-primary-hover-color: #000;--cc-btn-primary-hover-border-color: var(--cc-btn-primary-hover-bg);--cc-btn-secondary-bg: #242c31;--cc-btn-secondary-color: var(--cc-primary-color);--cc-btn-secondary-border-color: var(--cc-btn-secondary-bg);--cc-btn-secondary-hover-bg: #353d43;--cc-btn-secondary-hover-color: #fff;--cc-btn-secondary-hover-border-color: var(--cc-btn-secondary-hover-bg);--cc-separator-border-color: #222a30;--cc-toggle-on-bg: var(--cc-btn-primary-bg);--cc-toggle-off-bg: #525f6b;--cc-toggle-on-knob-bg: var(--cc-btn-primary-color);--cc-toggle-off-knob-bg: var(--cc-btn-primary-color);--cc-toggle-enabled-icon-color: var(--cc-btn-primary-color);--cc-toggle-disabled-icon-color: var(--cc-btn-primary-color);--cc-toggle-readonly-bg: #343e45;--cc-toggle-readonly-knob-bg: #5f6b72;--cc-toggle-readonly-knob-icon-color: var(--cc-toggle-readonly-bg);--cc-section-category-border: #1e2428;--cc-cookie-category-block-bg: #1e2428;--cc-cookie-category-block-border: var(--cc-section-category-border);--cc-cookie-category-block-hover-bg: #242c31;--cc-cookie-category-block-hover-border: #232a2f;--cc-cookie-category-expanded-block-bg: transparent;--cc-cookie-category-expanded-block-hover-bg: var(--cc-toggle-readonly-bg);--cc-overlay-bg: rgba(0, 0, 0, 0.65);--cc-webkit-scrollbar-bg: var(--cc-section-category-border);--cc-webkit-scrollbar-hover-bg: var(--cc-btn-primary-hover-bg);--cc-footer-bg: #0c0e0f;--cc-footer-color: var(--cc-secondary-color);--cc-footer-border-color: #060809}.cc--darkmode #cc-main{color-scheme:dark}#cc-main .cm{background:var(--cc-bg);border-radius:var(--cc-modal-border-radius);box-shadow:0 0.625em 1.875em rgba(0, 0, 2, 0.3);display:flex;flex-direction:column;max-width:24rem;opacity:0;overflow:hidden;position:fixed;transform:translateY(1.6em);visibility:hidden;z-index:1}#cc-main .cm--top{top:var(--cc-modal-margin)}#cc-main .cm--middle{top:50%;transform:translateY(calc(-50% + 1.6em))}#cc-main .cm--bottom{bottom:var(--cc-modal-margin)}#cc-main .cm--center{left:var(--cc-modal-margin);margin:0 auto;right:var(--cc-modal-margin);width:unset}#cc-main .cm--left{left:var(--cc-modal-margin);margin-right:var(--cc-modal-margin)}#cc-main .cm--right{margin-left:var(--cc-modal-margin);right:var(--cc-modal-margin)}#cc-main .cm__body{display:flex;flex-direction:column;justify-content:space-between;position:relative}#cc-main .cm__btns,#cc-main .cm__links{padding:1rem 1.3rem;width:unset}#cc-main .cm__texts{display:flex;flex:1;flex-direction:column;justify-content:center;padding:1rem 0 0}#cc-main .cm__desc,#cc-main .cm__title{padding:0 1.3rem}#cc-main .cm__title{font-size:1.05em}#cc-main .cm__title+.cm__desc{margin-top:1.1em}#cc-main .cm__desc{color:var(--cc-secondary-color);font-size:0.9em;line-height:1.5;max-height:40vh;overflow-x:visible;overflow-y:auto;padding-bottom:1em}#cc-main .cm__btns{border-top:1px solid var(--cc-separator-border-color);display:flex;flex-direction:column;justify-content:center}#cc-main .cm__btn-group{display:grid;grid-auto-columns:minmax(0, 1fr)}#cc-main .cm__btn+.cm__btn,#cc-main .cm__btn-group+.cm__btn-group{margin-top:0.375rem}#cc-main .cm--flip .cm__btn+.cm__btn,#cc-main .cm--flip .cm__btn-group+.cm__btn-group{margin-bottom:0.375rem;margin-top:0}#cc-main .cm--inline .cm__btn+.cm__btn{margin-left:0.375rem;margin-top:0}#cc-main .cm--inline.cm--flip .cm__btn+.cm__btn{margin-bottom:0;margin-left:0;margin-right:0.375rem}#cc-main .cm--inline.cm--flip .cm__btn-group+.cm__btn-group{margin-bottom:0.375rem;margin-right:0}#cc-main .cm--wide .cm__btn+.cm__btn,#cc-main .cm--wide .cm__btn-group+.cm__btn-group{margin-left:0.375rem;margin-top:0}#cc-main .cm--wide.cm--flip .cm__btn+.cm__btn,#cc-main .cm--wide.cm--flip .cm__btn-group+.cm__btn-group{margin-bottom:0;margin-right:0.375rem}#cc-main .cm--bar:not(.cm--inline) .cm__btn-group--uneven,#cc-main .cm--wide .cm__btn-group--uneven{display:flex;flex:1;justify-content:space-between}#cc-main .cm--bar:not(.cm--inline).cm--flip .cm__btn-group--uneven,#cc-main .cm--wide.cm--flip .cm__btn-group--uneven{flex-direction:row-reverse}#cc-main .cm__btn{background:var(--cc-btn-primary-bg);border:1px solid var(--cc-btn-primary-border-color);border-radius:var(--cc-btn-border-radius);color:var(--cc-btn-primary-color);font-size:0.82em;font-weight:600;min-height:42px;padding:0.5em 1em;text-align:center}#cc-main .cm__btn:hover{background:var(--cc-btn-primary-hover-bg);border-color:var(--cc-btn-primary-hover-border-color);color:var(--cc-btn-primary-hover-color)}#cc-main .cm__btn--secondary{background:var(--cc-btn-secondary-bg);border-color:var(--cc-btn-secondary-border-color);color:var(--cc-btn-secondary-color)}#cc-main .cm__btn--secondary:hover{background:var(--cc-btn-secondary-hover-bg);border-color:var(--cc-btn-secondary-hover-border-color);color:var(--cc-btn-secondary-hover-color)}#cc-main .cm__btn--close{border-radius:0;border-bottom-left-radius:var(--cc-btn-border-radius);border-right:none;border-top:none;display:none;font-size:1em;height:42px;min-width:auto!important;overflow:hidden;padding:0!important;position:absolute;right:0;top:0;width:42px}#cc-main .cm__btn--close svg{stroke:var(--cc-btn-primary-color);transform:scale(0.5);transition:stroke 0.15s ease}#cc-main .cm__btn--close:hover svg{stroke:var(--cc-btn-primary-hover-color)}#cc-main .cm__btn--close.cm__btn--secondary svg{stroke:var(--cc-btn-secondary-color)}#cc-main .cm__btn--close.cm__btn--secondary:hover svg{stroke:var(--cc-btn-secondary-hover-color)}#cc-main .cm__btn--close+.cm__texts .cm__title{padding-right:3rem}#cc-main .cm--inline .cm__btn-group{grid-auto-flow:column}#cc-main .cm__footer{background:var(--cc-footer-bg);border-top:1px solid var(--cc-footer-border-color);color:var(--cc-footer-color);padding:0.4em 0 0.5em}#cc-main .cm__links{display:flex;flex-direction:row;padding-bottom:0;padding-top:0}#cc-main .cm__link-group{display:flex;flex-direction:row;font-size:0.8em;width:100%}#cc-main .cm__link-group>*+*{margin-left:1.3rem}#cc-main .cm--flip .cm__btn:last-child{grid-row:1}#cc-main .cm--inline.cm--flip .cm__btn:last-child{grid-column:1}#cc-main .cm--box .cm__btn--close{display:block}#cc-main .cm--box.cm--flip .cm__btns{flex-direction:column-reverse}#cc-main .cm--box.cm--wide{max-width:36em}#cc-main .cm--box.cm--wide .cm__btns{flex-direction:row;justify-content:space-between}#cc-main .cm--box.cm--wide .cm__btn-group{grid-auto-flow:column}#cc-main .cm--box.cm--wide .cm__btn{min-width:120px;padding-left:1.8em;padding-right:1.8em}#cc-main .cm--box.cm--wide.cm--flip .cm__btns{flex-direction:row-reverse}#cc-main .cm--box.cm--wide.cm--flip .cm__btn:last-child{grid-column:1}#cc-main .cm--cloud{max-width:54em;width:unset}#cc-main .cm--cloud .cm__body{flex-direction:row}#cc-main .cm--cloud .cm__texts{flex:1}#cc-main .cm--cloud .cm__desc{max-height:9.4em}#cc-main .cm--cloud .cm__btns{border-left:1px solid var(--cc-separator-border-color);border-top:none;max-width:23em}#cc-main .cm--cloud .cm__btn-group{flex-direction:column}#cc-main .cm--cloud .cm__btn{min-width:19em}#cc-main .cm--cloud.cm--flip .cm__btn-group,#cc-main .cm--cloud.cm--flip .cm__btns{flex-direction:column-reverse}#cc-main .cm--cloud.cm--inline .cm__btn-group{flex-direction:row}#cc-main .cm--cloud.cm--inline .cm__btn{min-width:10em}#cc-main .cm--cloud.cm--inline.cm--flip .cm__btn-group{flex-direction:row-reverse}#cc-main .cm--bar{border-radius:0;left:0;margin:0;max-width:unset;opacity:1;right:0;transform:translateY(0);width:100vw;--cc-modal-transition-duration: 0.35s}#cc-main .cm--bar.cm--top{top:0;transform:translateY(-100%)}#cc-main .cm--bar.cm--bottom{bottom:0;transform:translateY(100%)}#cc-main .cm--bar .cm__body,#cc-main .cm--bar .cm__links{margin:0 auto;max-width:55em;width:100%}#cc-main .cm--bar .cm__body{padding:0.5em 0 0.9em}#cc-main .cm--bar .cm__btns{border-top:none;flex-direction:row;justify-content:space-between}#cc-main .cm--bar .cm__btn-group{grid-auto-flow:column}#cc-main .cm--bar:not(.cm--inline) .cm__btn+.cm__btn,#cc-main .cm--bar:not(.cm--inline) .cm__btn-group+.cm__btn-group{margin-left:0.375rem;margin-top:0}#cc-main .cm--bar .cm__btn{min-width:120px;padding-left:2em;padding-right:2em}#cc-main .cm--bar.cm--flip:not(.cm--inline) .cm__btn+.cm__btn,#cc-main .cm--bar.cm--flip:not(.cm--inline) .cm__btn-group+.cm__btn-group{margin-bottom:0;margin-left:0;margin-right:0.375rem}#cc-main .cm--bar.cm--flip .cm__btns{flex-direction:row-reverse}#cc-main .cm--bar.cm--flip .cm__btn:last-child{grid-column:1}#cc-main .cm--bar.cm--inline .cm__body,#cc-main .cm--bar.cm--inline .cm__links{max-width:74em}#cc-main .cm--bar.cm--inline .cm__body{flex-direction:row;padding:0}#cc-main .cm--bar.cm--inline .cm__btns{flex-direction:column;justify-content:center;max-width:23em}#cc-main .cm--bar.cm--inline.cm--flip .cm__btns{flex-direction:column-reverse}#cc-main .cc--anim .cm,#cc-main .cc--anim.cm-wrapper:before{transition:opacity var(--cc-modal-transition-duration) ease,\n visibility var(--cc-modal-transition-duration) ease,\n transform var(--cc-modal-transition-duration) ease}#cc-main .cc--anim .cm__btn,#cc-main .cc--anim .cm__close{transition:background-color 0.15s ease,\n border-color 0.15s ease,\n color 0.15s ease}.disable--interaction #cc-main .cm-wrapper:before{background:var(--cc-overlay-bg);bottom:0;content:'';left:0;opacity:0;position:fixed;right:0;top:0;visibility:hidden;z-index:0}.show--consent #cc-main .cc--anim .cm{opacity:1;transform:translateY(0);visibility:visible!important}.show--consent #cc-main .cc--anim .cm--middle{transform:translateY(-50%)}.show--consent #cc-main .cc--anim .cm--bar{transform:translateY(0)}.show--consent #cc-main .cc--anim.cm-wrapper:before{opacity:1;visibility:visible}#cc-main.cc--rtl .cm__btn--close{border-bottom-left-radius:unset;border-bottom-right-radius:var(--cc-btn-border-radius);left:0;right:unset}#cc-main.cc--rtl .cm__btn--close+.cm__texts .cm__title{padding-left:3rem!important;padding-right:1.3rem}#cc-main.cc--rtl .cm--inline .cm__btn+.cm__btn{margin-left:0;margin-right:0.375rem}#cc-main.cc--rtl .cm--inline.cm--flip .cm__btn+.cm__btn{margin-left:0.375rem;margin-right:0}#cc-main.cc--rtl .cm:not(.cm--inline).cm--bar .cm__btn+.cm__btn,#cc-main.cc--rtl .cm:not(.cm--inline).cm--bar .cm__btn-group+.cm__btn-group,#cc-main.cc--rtl .cm:not(.cm--inline).cm--wide .cm__btn+.cm__btn,#cc-main.cc--rtl .cm:not(.cm--inline).cm--wide .cm__btn-group+.cm__btn-group{margin-left:0;margin-right:0.375rem}#cc-main.cc--rtl .cm:not(.cm--inline).cm--bar.cm--flip .cm__btn+.cm__btn,#cc-main.cc--rtl .cm:not(.cm--inline).cm--wide.cm--flip .cm__btn+.cm__btn{margin-left:0.375rem;margin-right:0}#cc-main.cc--rtl .cm__link-group>*+*{margin-left:0;margin-right:1.3rem}@media screen and (max-width: 640px){#cc-main{--cc-modal-margin: 0.5em}#cc-main .cm{max-width:none!important;width:auto!important}#cc-main .cm__body{flex-direction:column!important;padding:0!important}#cc-main .cm__btns,#cc-main .cm__desc,#cc-main .cm__links,#cc-main .cm__title{padding-left:1.1rem!important;padding-right:1.1rem!important}#cc-main .cm__btns{border-left:none!important;border-top:1px solid var(--cc-separator-border-color)!important;flex-direction:column!important;max-width:none!important;min-width:auto!important}#cc-main .cm__btn+.cm__btn,#cc-main .cm__btn-group+.cm__btn-group{margin:0.375rem 0 0!important}#cc-main .cm--flip .cm__btn+.cm__btn,#cc-main .cm--flip .cm__btn-group+.cm__btn-group{margin-bottom:0.375rem!important;margin-top:0!important}#cc-main .cm__btn-group{display:flex!important;flex-direction:column!important;min-width:auto!important}#cc-main .cm__btn{flex:auto!important}#cc-main .cm__link-group{justify-content:center!important}#cc-main .cm--flip .cm__btn-group,#cc-main .cm--flip .cm__btns{flex-direction:column-reverse!important}}#cc-main .pm-wrapper{position:relative;z-index:2}#cc-main .pm{background:var(--cc-bg);border-radius:var(--cc-modal-border-radius);box-shadow:0 0.625em 1.875em rgba(0, 0, 2, 0.3);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:fixed;visibility:hidden;width:100%;width:unset;z-index:1}#cc-main svg{fill:none;width:100%}#cc-main .pm__body,#cc-main .pm__footer,#cc-main .pm__header{padding:1em 1.4em}#cc-main .pm__header{align-items:center;border-bottom:1px solid var(--cc-separator-border-color);display:flex;justify-content:space-between}#cc-main .pm__title{align-items:center;display:flex;flex:1;font-weight:600;margin-right:2em}#cc-main .pm__close-btn{background:var(--cc-btn-secondary-bg);border:1px solid var(--cc-btn-secondary-border-color);border-radius:var(--cc-btn-border-radius);height:40px;position:relative;transition:all 0.15s ease;width:40px}#cc-main .pm__close-btn span{display:flex;height:100%;width:100%}#cc-main .pm__close-btn svg{stroke:var(--cc-btn-secondary-color);transform:scale(0.5);transition:stroke 0.15s ease}#cc-main .pm__close-btn:hover{background:var(--cc-btn-secondary-hover-bg);border-color:var(--cc-btn-secondary-hover-border-color)}#cc-main .pm__close-btn:hover svg{stroke:var(--cc-btn-secondary-hover-color)}#cc-main .pm__body{flex:1;overflow-y:auto;overflow-y:overlay}#cc-main .pm__section,#cc-main .pm__section--toggle{border-radius:var(--cc-btn-border-radius);display:flex;flex-direction:column;margin-bottom:0.5em}#cc-main .pm__section--toggle .pm__section-desc-wrapper{border:1px solid var(--cc-cookie-category-block-border);border-radius:var(--cc-btn-border-radius);border-top:none;border-top-left-radius:0;border-top-right-radius:0;display:none;margin-top:0!important;overflow:hidden}#cc-main .pm__section{border:1px solid var(--cc-separator-border-color);padding:1em;transition:background-color 0.25s ease,\n border-color 0.25s ease}#cc-main .pm__section:first-child{border:none;margin-bottom:2em;margin-top:0;padding:0;transition:none}#cc-main .pm__section:not(:first-child):hover{background:var(--cc-cookie-category-block-bg);border-color:var(--cc-cookie-category-block-border)}#cc-main .pm__section-toggles+.pm__section{margin-top:2em}#cc-main .pm__section--toggle{background:var(--cc-cookie-category-block-bg);border-top:none;margin-bottom:0.375rem}#cc-main .pm__section--toggle .pm__section-title{align-items:center;background:var(--cc-cookie-category-block-bg);border:1px solid var(--cc-cookie-category-block-border);display:flex;justify-content:space-between;min-height:58px;padding:1.1em 5.4em 1.1em 1.2em;position:relative;transition:background-color 0.25s ease,\n border-color 0.25s ease;width:100%}#cc-main .pm__section--toggle .pm__section-title:hover{background:var(--cc-cookie-category-block-hover-bg);border-color:var(--cc-cookie-category-block-hover-border)}#cc-main .pm__section--toggle .pm__section-desc{margin-top:0;padding:1em}#cc-main .pm__section--toggle.is-expanded{--cc-cookie-category-block-bg: var(--cc-cookie-category-expanded-block-bg);--cc-cookie-category-block-border: var(\n --cc-cookie-category-expanded-block-hover-bg\n )}#cc-main .pm__section--toggle.is-expanded .pm__section-title{border-bottom-left-radius:0;border-bottom-right-radius:0}#cc-main .pm__section--toggle.is-expanded .pm__section-arrow svg{transform:scale(0.5) rotate(180deg)}#cc-main .pm__section--toggle.is-expanded .pm__section-desc-wrapper{display:flex}#cc-main .pm__section--expandable .pm__section-title{cursor:pointer;padding-left:3.4em}#cc-main .pm__section--expandable .pm__section-arrow{background:var(--cc-toggle-readonly-bg);border-radius:100%;display:flex;height:20px;justify-content:center;left:18px;pointer-events:none;position:absolute;width:20px}#cc-main .pm__section--expandable .pm__section-arrow svg{stroke:var(--cc-btn-secondary-color);transform:scale(0.5)}#cc-main .pm__section-title-wrapper{align-items:center;display:flex;position:relative}#cc-main .pm__section-title-wrapper+.pm__section-desc-wrapper{margin-top:0.85em}#cc-main .pm__section-title{border-radius:var(--cc-btn-border-radius);font-size:0.95em;font-weight:600}#cc-main .pm__badge{align-items:center;background:var(--cc-btn-secondary-bg);border-radius:5em;color:var(--cc-secondary-color);display:flex;flex:none;font-size:0.8em;font-weight:600;height:23px;justify-content:center;margin-left:1em;min-width:23px;overflow:hidden;padding:0 0.6em 1px;position:relative;text-align:center;white-space:nowrap;width:auto}#cc-main .pm__service-counter{background:var(--cc-btn-primary-bg);color:var(--cc-btn-primary-color);padding:0;width:23px}#cc-main .pm__service-counter[data-counterlabel]{padding:0 0.6em 1px;width:auto}#cc-main .section__toggle,#cc-main .section__toggle-wrapper,#cc-main .toggle__icon,#cc-main .toggle__label{border-radius:var(--cc-pm-toggle-border-radius);height:23px;transform:translateZ(0);width:50px}#cc-main .section__toggle-wrapper{cursor:pointer;position:absolute;right:18px;z-index:1}#cc-main .toggle-service{height:19px;position:relative;right:0;width:42px}#cc-main .toggle-service .section__toggle,#cc-main .toggle-service .toggle__icon,#cc-main .toggle-service .toggle__label{height:19px;width:42px}#cc-main .toggle-service .toggle__icon{position:relative}#cc-main .toggle-service .toggle__icon-circle{height:19px;width:19px}#cc-main .toggle-service .section__toggle:checked~.toggle__icon .toggle__icon-circle{transform:translateX(23px)}#cc-main .pm__section--toggle:nth-child(2) .section__toggle-wrapper:after{display:none!important}#cc-main .section__toggle{border:0;cursor:pointer;display:block;left:0;margin:0;position:absolute;top:0}#cc-main .section__toggle:disabled{cursor:not-allowed}#cc-main .toggle__icon{background:var(--cc-toggle-off-bg);box-shadow:0 0 0 1px var(--cc-toggle-off-bg);display:flex;flex-direction:row;pointer-events:none;position:absolute;transition:all 0.25s ease}#cc-main .toggle__icon-circle{background:var(--cc-toggle-off-knob-bg);border:none;border-radius:var(--cc-pm-toggle-border-radius);box-shadow:0 1px 2px rgba(24, 32, 3, 0.36);display:block;height:23px;left:0;position:absolute;top:0;transition:transform 0.25s ease,\n background-color 0.25s ease;width:23px}#cc-main .toggle__icon-off,#cc-main .toggle__icon-on{height:100%;position:absolute;transition:opacity 0.15s ease;width:100%}#cc-main .toggle__icon-on{opacity:0;transform:rotate(45deg)}#cc-main .toggle__icon-on svg{stroke:var(--cc-toggle-on-bg);transform:scale(0.55) rotate(-45deg)}#cc-main .toggle__icon-off{opacity:1}#cc-main .toggle__icon-off svg{stroke:var(--cc-toggle-off-bg);transform:scale(0.55)}#cc-main .section__toggle:checked~.toggle__icon{background:var(--cc-toggle-on-bg);box-shadow:0 0 0 1px var(--cc-toggle-on-bg)}#cc-main .section__toggle:checked~.toggle__icon .toggle__icon-circle{background-color:var(--cc-toggle-on-knob-bg);transform:translateX(27px)}#cc-main .section__toggle:checked~.toggle__icon .toggle__icon-on{opacity:1}#cc-main .section__toggle:checked~.toggle__icon .toggle__icon-off{opacity:0}#cc-main .section__toggle:checked:disabled~.toggle__icon{background:var(--cc-toggle-readonly-bg);box-shadow:0 0 0 1px var(--cc-toggle-readonly-bg)}#cc-main .section__toggle:checked:disabled~.toggle__icon .toggle__icon-circle{background:var(--cc-toggle-readonly-knob-bg);box-shadow:none}#cc-main .section__toggle:checked:disabled~.toggle__icon svg{stroke:var(--cc-toggle-readonly-knob-icon-color)}#cc-main .toggle__label{opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;z-index:-1}#cc-main .pm__section-desc-wrapper{color:var(--cc-secondary-color);display:flex;flex-direction:column;font-size:0.9em}#cc-main .pm__section-desc-wrapper>:not(:last-child){border-bottom:1px solid var(--cc-cookie-category-block-border)}#cc-main .pm__section-services{display:flex;flex-direction:column}#cc-main .pm__service{align-items:center;display:flex;justify-content:space-between;padding:0.4em 1.2em;position:relative;transition:background-color 0.15s ease}#cc-main .pm__service:hover{background-color:var(--cc-cookie-category-block-hover-bg)}#cc-main .pm__service-header{align-items:center;display:flex;margin-right:1em;width:100%}#cc-main .pm__service-icon{border:2px solid;border-radius:100%;height:8px;margin-left:6px;margin-right:20px;margin-top:1px;min-width:8px}#cc-main .pm__service-title{font-size:0.95em;width:100%;word-break:break-word}#cc-main .pm__section-desc{line-height:1.5em}#cc-main .pm__section-table{border-collapse:collapse;font-size:0.9em;margin:0;overflow:hidden;padding:0;text-align:left;width:100%}#cc-main .pm__table-caption{text-align:left}#cc-main .pm__table-caption,#cc-main .pm__table-head>tr{border-bottom:1px dashed var(--cc-separator-border-color);color:var(--cc-primary-color);font-weight:600}#cc-main .pm__table-tr{transition:background-color 0.15s ease}#cc-main .pm__table-tr:hover{background:var(--cc-cookie-category-block-hover-bg)}#cc-main .pm__table-caption,#cc-main .pm__table-td,#cc-main .pm__table-th{padding:0.625em 0.625em 0.625em 1.2em;vertical-align:top}#cc-main .pm__footer{border-top:1px solid var(--cc-separator-border-color);display:flex;justify-content:space-between}#cc-main .pm__btn-group{display:flex}#cc-main .pm__btn+.pm__btn,#cc-main .pm__btn-group+.pm__btn-group{margin-left:0.375rem}#cc-main .pm--flip .pm__btn+.pm__btn,#cc-main .pm--flip .pm__btn-group+.pm__btn-group{margin-left:0;margin-right:0.375rem}#cc-main .pm__btn{background:var(--cc-btn-primary-bg);border:1px solid var(--cc-btn-primary-border-color);border-radius:var(--cc-btn-border-radius);color:var(--cc-btn-primary-color);flex:auto;font-size:0.82em;font-weight:600;min-height:42px;min-width:110px;padding:0.5em 1.5em;text-align:center;transition:background-color 0.15s ease,\n border-color 0.15s ease,\n color 0.15s ease}#cc-main .pm__btn:hover{background:var(--cc-btn-primary-hover-bg);border-color:var(--cc-btn-primary-hover-border-color);color:var(--cc-btn-primary-hover-color)}#cc-main .pm__btn--secondary{background:var(--cc-btn-secondary-bg);border-color:var(--cc-btn-secondary-border-color);color:var(--cc-btn-secondary-color)}#cc-main .pm__btn--secondary:hover{background:var(--cc-btn-secondary-hover-bg);border-color:var(--cc-btn-secondary-hover-border-color);color:var(--cc-btn-secondary-hover-color)}#cc-main .pm--box{height:calc(100% - 2em);left:var(--cc-modal-margin);margin:0 auto;max-height:37.5em;max-width:43em;right:var(--cc-modal-margin);top:50%;transform:translateY(calc(-50% + 1.6em))}#cc-main .pm--box.pm--flip .pm__btn-group,#cc-main .pm--box.pm--flip .pm__footer{flex-direction:row-reverse}#cc-main .pm--bar{border-radius:0;bottom:0;height:100%;margin:0;max-height:none;max-width:29em;opacity:1;top:0;width:100%;--cc-modal-transition-duration: 0.35s}#cc-main .pm--bar .pm__section-table,#cc-main .pm--bar .pm__table-body,#cc-main .pm--bar .pm__table-td,#cc-main .pm--bar .pm__table-th,#cc-main .pm--bar .pm__table-tr{display:block}#cc-main .pm--bar .pm__table-head{display:none}#cc-main .pm--bar .pm__table-caption{display:block}#cc-main .pm--bar .pm__table-tr:not(:last-child){border-bottom:1px solid var(--cc-separator-border-color)}#cc-main .pm--bar .pm__table-td{display:flex;justify-content:space-between}#cc-main .pm--bar .pm__table-td:before{color:var(--cc-primary-color);content:attr(data-column);flex:1;font-weight:600;min-width:100px;overflow:hidden;padding-right:2em;text-overflow:ellipsis}#cc-main .pm--bar .pm__table-td>div{flex:3}#cc-main .pm--bar:not(.pm--wide) .pm__body,#cc-main .pm--bar:not(.pm--wide) .pm__footer,#cc-main .pm--bar:not(.pm--wide) .pm__header{padding:1em 1.3em}#cc-main .pm--bar:not(.pm--wide) .pm__btn-group,#cc-main .pm--bar:not(.pm--wide) .pm__footer{flex-direction:column}#cc-main .pm--bar:not(.pm--wide) .pm__btn+.pm__btn,#cc-main .pm--bar:not(.pm--wide) .pm__btn-group+.pm__btn-group{margin:0.375rem 0 0}#cc-main .pm--bar:not(.pm--wide).pm--flip .pm__btn-group,#cc-main .pm--bar:not(.pm--wide).pm--flip .pm__footer{flex-direction:column-reverse}#cc-main .pm--bar:not(.pm--wide).pm--flip .pm__btn+.pm__btn,#cc-main .pm--bar:not(.pm--wide).pm--flip .pm__btn-group+.pm__btn-group{margin-bottom:0.375rem;margin-top:0}#cc-main .pm--bar:not(.pm--wide) .pm__badge{display:none}#cc-main .pm--bar.pm--left{left:0;transform:translateX(-100%)}#cc-main .pm--bar.pm--right{right:0;transform:translateX(100%)}#cc-main .pm--bar.pm--wide{max-width:35em}#cc-main .pm--bar.pm--wide .pm__body,#cc-main .pm--bar.pm--wide .pm__footer,#cc-main .pm--bar.pm--wide .pm__header{padding:1em 1.4em}#cc-main .pm--bar.pm--wide.pm--flip .pm__btn-group,#cc-main .pm--bar.pm--wide.pm--flip .pm__footer{flex-direction:row-reverse}#cc-main .pm-overlay{background:var(--cc-overlay-bg);bottom:0;content:'';left:0;opacity:0;position:fixed;right:0;top:0;visibility:hidden;z-index:1}#cc-main .cc--anim .pm,#cc-main .cc--anim .pm-overlay{transition:opacity var(--cc-modal-transition-duration) ease,\n visibility var(--cc-modal-transition-duration) ease,\n transform var(--cc-modal-transition-duration) ease}.show--preferences #cc-main .cc--anim .pm{opacity:1;visibility:visible!important}.show--preferences #cc-main .cc--anim .pm--box{transform:translateY(-50%)}.show--preferences #cc-main .cc--anim .pm--bar{transform:translateX(0)}.show--preferences #cc-main .cc--anim .pm-overlay{opacity:1;visibility:visible}#cc-main.cc--rtl .pm__service-header{margin-left:1em;margin-right:0}#cc-main.cc--rtl .pm__section-arrow{left:unset;right:18px}#cc-main.cc--rtl .section__toggle-wrapper{left:18px;right:unset;transform-origin:left}#cc-main.cc--rtl .toggle-service{left:0}#cc-main.cc--rtl .pm__service-icon{margin-left:20px;margin-right:5px}#cc-main.cc--rtl .pm__section--toggle .pm__section-title{padding-left:5.4em;padding-right:1.2em}#cc-main.cc--rtl .pm__section--expandable .pm__section-title{padding-right:3.4em}#cc-main.cc--rtl .pm__badge{margin-left:unset;margin-right:1em}#cc-main.cc--rtl .toggle__icon-circle{transform:translateX(27px)}#cc-main.cc--rtl .toggle-service .toggle__icon-circle{transform:translateX(23px)}#cc-main.cc--rtl .section__toggle:checked~.toggle__icon .toggle__icon-circle{transform:translateX(0)}#cc-main.cc--rtl .pm__table-td,#cc-main.cc--rtl .pm__table-th{padding-left:unset;padding-right:1.2em;text-align:right}#cc-main.cc--rtl .pm__table-td{padding-left:unset;padding-right:1.2em}#cc-main.cc--rtl .pm__table-td:before{padding-left:2em;padding-right:unset}#cc-main.cc--rtl .pm__btn+.pm__btn,#cc-main.cc--rtl .pm__btn-group+.pm__btn-group{margin-left:0;margin-right:0.375rem}#cc-main.cc--rtl .pm--flip .pm__btn+.pm__btn,#cc-main.cc--rtl .pm--flip .pm__btn-group+.pm__btn-group{margin-left:0.375rem;margin-right:0}#cc-main.cc--rtl .pm--flip.pm--bar:not(.pm--wide) .pm__btn+.pm__btn,#cc-main.cc--rtl .pm--flip.pm--bar:not(.pm--wide) .pm__btn-group+.pm__btn-group{margin-left:0}@media screen and (max-width: 640px){#cc-main .pm{border-radius:0;bottom:0;height:auto;left:0;max-height:100%;max-width:none!important;right:0;top:0;transform:translateY(1.6em)}#cc-main .pm__body,#cc-main .pm__footer,#cc-main .pm__header{padding:0.9em!important}#cc-main .pm__badge{display:none}#cc-main .pm__section-table,#cc-main .pm__table-body,#cc-main .pm__table-caption,#cc-main .pm__table-td,#cc-main .pm__table-th,#cc-main .pm__table-tr{display:block}#cc-main .pm__table-head{display:none}#cc-main .pm__table-tr:not(:last-child){border-bottom:1px solid var(--cc-separator-border-color)}#cc-main .pm__table-td{display:flex;justify-content:space-between}#cc-main .pm__table-td:before{color:var(--cc-primary-color);content:attr(data-column);flex:1;font-weight:600;min-width:100px;overflow:hidden;padding-right:2em;text-overflow:ellipsis}#cc-main .pm__table-td>div{flex:3}#cc-main .pm__btn-group,#cc-main .pm__footer{flex-direction:column!important}#cc-main .pm__btn-group{display:flex!important}#cc-main .pm__btn+.pm__btn,#cc-main .pm__btn-group+.pm__btn-group{margin:0.375rem 0 0!important}#cc-main .pm--flip .pm__btn+.pm__btn,#cc-main .pm--flip .pm__btn-group+.pm__btn-group{margin-bottom:0.375rem!important;margin-top:0!important}#cc-main .pm--flip .pm__btn-group,#cc-main .pm--flip .pm__footer{flex-direction:column-reverse!important}.show--preferences #cc-main .cc--anim .pm{transform:translateY(0)!important}}"},{"filePath":"cookies/cookies.css","content":"html #cc-main{--cc-font-family: Inter, ui-sans-serif, system-ui, sans-serif;--cc-modal-border-radius: 1rem;--cc-btn-border-radius: 0.25rem;--cc-modal-margin: 1rem;--cc-bg: #ffffff;--cc-primary-color: #00173e;--cc-secondary-color: #4b5568;--cc-btn-primary-bg: var(--terminal-primary);--cc-btn-primary-color: #ffffff;--cc-btn-primary-border-color: var(--terminal-primary);--cc-btn-primary-hover-bg: var(--terminal-primary-hover);--cc-btn-primary-hover-color: #ffffff;--cc-btn-primary-hover-border-color: var(--terminal-primary-hover);--cc-btn-secondary-bg: #ffffff;--cc-btn-secondary-color: #00173e;--cc-btn-secondary-border-color: #00173e14;--cc-btn-secondary-hover-bg: #f5f7fb;--cc-btn-secondary-hover-color: #00173e;--cc-btn-secondary-hover-border-color: #00173e29;--cc-separator-border-color: #00173e14;--cc-toggle-on-bg: var(--terminal-primary);--cc-toggle-off-bg: #9aa4b2;--cc-toggle-on-knob-bg: #ffffff;--cc-toggle-off-knob-bg: #ffffff;--cc-toggle-enabled-icon-color: #ffffff;--cc-toggle-disabled-icon-color: #ffffff;--cc-toggle-readonly-bg: #d7dde7;--cc-toggle-readonly-knob-bg: #ffffff;--cc-toggle-readonly-knob-icon-color: #d7dde7;--cc-section-category-border: #00173e14;--cc-cookie-category-block-bg: #f5f7fb;--cc-cookie-category-block-border: #00173e14;--cc-cookie-category-block-hover-bg: #eef2f8;--cc-cookie-category-block-hover-border: #00173e14;--cc-cookie-category-expanded-block-bg: transparent;--cc-cookie-category-expanded-block-hover-bg: #eef2f8;--cc-overlay-bg: rgba(0, 23, 62, 0.45);--cc-webkit-scrollbar-bg: #eef2f8;--cc-webkit-scrollbar-hover-bg: var(--terminal-primary);--cc-footer-bg: #f5f7fb;--cc-footer-color: #4b5568;--cc-footer-border-color: #00173e14}html.dark #cc-main,html.cc--darkmode #cc-main{--cc-bg: #00173e;--cc-primary-color: #ffffff;--cc-secondary-color: #a8b3c7;--cc-btn-secondary-bg: #0a2249;--cc-btn-secondary-color: #ffffff;--cc-btn-secondary-border-color: #ffffff1f;--cc-btn-secondary-hover-bg: #12305c;--cc-btn-secondary-hover-color: #ffffff;--cc-btn-secondary-hover-border-color: #ffffff33;--cc-separator-border-color: #ffffff1f;--cc-toggle-off-bg: #5b6b84;--cc-toggle-on-knob-bg: #ffffff;--cc-toggle-off-knob-bg: #ffffff;--cc-toggle-enabled-icon-color: #ffffff;--cc-toggle-disabled-icon-color: #ffffff;--cc-toggle-readonly-bg: #2a3f63;--cc-toggle-readonly-knob-bg: #a8b3c7;--cc-toggle-readonly-knob-icon-color: #2a3f63;--cc-section-category-border: #ffffff1f;--cc-cookie-category-block-bg: #0a2249;--cc-cookie-category-block-border: #ffffff1f;--cc-cookie-category-block-hover-bg: #12305c;--cc-cookie-category-block-hover-border: #ffffff1f;--cc-cookie-category-expanded-block-bg: transparent;--cc-cookie-category-expanded-block-hover-bg: #12305c;--cc-overlay-bg: rgba(0, 0, 0, 0.65);--cc-webkit-scrollbar-bg: #0a2249;--cc-webkit-scrollbar-hover-bg: var(--terminal-primary-text);--cc-footer-bg: #00122f;--cc-footer-color: #a8b3c7;--cc-footer-border-color: #ffffff1f;color-scheme:dark}html #cc-main .cm__title,html #cc-main .pm__title{font-family:'Britti Sans', 'Britti Sans Fallback', Inter, ui-sans-serif, system-ui,\n sans-serif;font-weight:600}html #cc-main .cm__btn,html #cc-main .pm__btn{font-weight:500}html #cc-main .cm--box.cm--wide{max-width:28rem}html #cc-main .cm__title{font-size:1.125rem;line-height:1.4}html #cc-main .cm__desc{font-size:0.875rem;line-height:1.5;max-height:none;padding-bottom:0.75rem}html #cc-main .cm__btns{border-top:none!important;padding-top:0.25rem}html #cc-main .cm--box.cm--wide .cm__btn{min-width:unset;padding-left:1rem;padding-right:1rem}html #cc-main .pm--box{height:auto;max-height:min(37.5em, calc(100% - 2em));max-width:28rem}html #cc-main .pm__title{font-family:'Britti Sans', 'Britti Sans Fallback', Inter, ui-sans-serif, system-ui,\n sans-serif;font-size:1.125rem;line-height:1.4}html #cc-main .pm__header{border-bottom:none!important;padding:1rem 1.25rem 0.25rem!important}html #cc-main .pm__body{padding:0.25rem 1.25rem 1rem}html #cc-main .pm__footer{border-top:none!important;gap:0.375rem;padding:0 1.25rem 1rem}html #cc-main .pm__close-btn{background:transparent!important;border:none!important;height:1.5rem;width:1.5rem}html #cc-main .pm__close-btn:hover{background:transparent!important;border:none!important}html #cc-main .pm__close-btn svg{transform:scale(0.7)}html #cc-main .pm__section:first-child{margin-bottom:1rem}html #cc-main .pm__section:first-child .pm__section-desc{font-size:0.875rem;line-height:1.5}html #cc-main .pm__section--toggle .pm__section-title{min-height:3.25rem;padding-bottom:0.875rem;padding-right:4.5rem;padding-top:0.875rem}html #cc-main .pm--box .pm__btn-group--uneven{display:flex;flex:1;justify-content:space-between}html #cc-main .pm--box .pm__btn{min-width:unset;padding-left:1rem;padding-right:1rem}html #cc-main a{color:var(--terminal-primary-text)}@media screen and (min-width: 640px){html #cc-main ::-webkit-scrollbar-thumb,html #cc-main ::-webkit-scrollbar-thumb:hover{background:var(--cc-webkit-scrollbar-hover-bg)}}html #footer .term-cookie-preferences{align-self:center;background:none;border:none;color:#9ca3af;cursor:pointer;font-family:Inter, ui-sans-serif, system-ui, sans-serif;font-size:0.875rem;line-height:1.25rem;padding:0;text-align:left}html #footer .term-cookie-preferences:hover{color:#4b5563}html.dark #footer .term-cookie-preferences{color:#6b7280}html.dark #footer .term-cookie-preferences:hover{color:#d1d5db}"}]}
{"page":{"pagePath":"api-reference/authentication/public-token-exchange","slug":"/api-reference/authentication/public-token-exchange","pageMetadata":{"title":"Public Token Exchange","description":"Exchange the `publicToken` returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer's TSP.","openapi":"POST /public-token/exchange","href":"/api-reference/authentication/public-token-exchange"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Exchange the \", _jsx(_components.code, {\n children: \"publicToken\"\n }), \" returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer’s TSP.\"]\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":"Public Token Exchange","description":"Exchange the `publicToken` returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer's TSP.","openapi":"POST /public-token/exchange","href":"/api-reference/authentication/public-token-exchange"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/terminal-docs/be37ffcd81f59acb/cookies/cc.umd.js","/_mintlify/custom/terminal-docs/815d1ec4076bcefa/cookies/cookies.js"],"openApiReferenceData":{"operation":{"summary":"Public Token Exchange","operationId":"publicTokenExchange","x-operation-category":"control-plane","responses":{"200":"277b2a76-ed46-41f3-9bbf-823108190a5d","400":"9a7d1284-4f42-4836-9145-54c430137d9e","401":"af5bf9c1-f5b3-42bc-be27-b8dc5d009487","403":"05183fa5-df83-41c4-a079-4e9ddfe828ea","404":"049bc446-0511-40a8-9808-71acc67ee87a","429":"72d7ea90-3fc6-4a69-9183-3cd168835284","500":"3275ac0f-58a6-4ac6-90f6-471548cd8f3d","504":"036d2428-7a88-4d91-896a-e24d712bab26"},"description":"Exchange the `publicToken` returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer's TSP.","tags":["Authentication"],"requestBody":"1f0d31f3-14f2-406a-9817-e0de6b86a208","method":"post","type":"path","servers":["26eab63e-1f78-4bd6-a0fc-cff993468b0a","a8496b5b-4211-4b47-8b94-23c4fd49eb3a"],"security":["7bb1c945-99c7-4674-ab3b-f00ac0bb7f7f"],"path":"/public-token/exchange","baseUrlOptions":["https://api.withterminal.com/tsp/v1","https://api.sandbox.withterminal.com/tsp/v1"],"title":"Public Token Exchange","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"publicToken":{"title":"Public Token","type":"string","example":"pub_tkn_9jNzH26e5b9RgErDnRt8zfm5emDUUyyG","description":"Token returned by the authentication flow. Public tokens are one time use and expire after they are exchanged for a long-lived connection token.","pattern":"^pub_tkn_\\S+$","isRequired":true,"uniqueKey":"publicToken","typeLabel":"string"}},"required":["publicToken"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"publicToken":"pub_tkn_9jNzH26e5b9RgErDnRt8zfm5emDUUyyG"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"277b2a76-ed46-41f3-9bbf-823108190a5d":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Full Connection","description":"The connection your application has with your customer's TSP.","required":["status","options","linkUrl","id","company","account","provider","syncMode","token","createdAt","updatedAt"],"x-model-category":"platform","x-description":"The connection your application has with your customer's TSP.","properties":{"id":{"title":"ConnectionId","type":"string","format":"ulid","example":"conn_01GV12VR4DJP70GD1ZBK0SDWFH","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string\u003culid>"},"company":{"type":"object","properties":{"name":{"type":"string","example":"Frank's Trucking","description":"Optional name of the connection.","uniqueKey":"oneOf.0.company.name","typeLabel":"string"},"dotNumbers":{"type":"array","description":"Optional DOT numbers associated with this connection.","items":{"type":"string","example":"1234567","uniqueKey":"oneOf.0.company.dotNumbers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.company.dotNumbers","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"oneOf.0.company","typeLabel":"object"},"account":{"type":"object","properties":{"name":{"type":"string","example":"Frank's Trucking","description":"The name of the account according to the provider.","uniqueKey":"oneOf.0.account.name","typeLabel":"string"},"dotNumbers":{"type":"array","description":"DOT numbers associated with the account according to the provider.","items":{"type":"string","example":"1234567","uniqueKey":"oneOf.0.account.dotNumbers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.account.dotNumbers","typeLabel":"string[]"},"user":{"type":"object","description":"The user of the provider account that created the connection.","properties":{"sourceId":{"description":"The ID of the user in the provider's system.","example":"1234567","type":"string","uniqueKey":"oneOf.0.account.user.sourceId","typeLabel":"string"},"firstName":{"example":"John","type":"string","uniqueKey":"oneOf.0.account.user.firstName","typeLabel":"string"},"lastName":{"example":"Doe","type":"string","uniqueKey":"oneOf.0.account.user.lastName","typeLabel":"string"},"email":{"example":"john.doe@example.com","type":"string","uniqueKey":"oneOf.0.account.user.email","typeLabel":"string"}},"uniqueKey":"oneOf.0.account.user","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.0.account","typeLabel":"object"},"provider":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string","example":"geotab","description":"Every provider has a unique code to identify it across Terminal's system. You can find each provider's code under [provider details](/providers).","isRequired":true,"uniqueKey":"oneOf.0.provider.code","typeLabel":"string"},"name":{"type":"string","example":"Geotab","description":"The name of the Telematics Service Provider.","isRequired":true,"uniqueKey":"oneOf.0.provider.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.provider","typeLabel":"object"},"syncMode":{"title":"SyncMode","type":"string","enum":["automatic","manual"],"description":"Enum values:\n- `automatic`: Terminal will keep this connections data up to date\n- `manual`: Terminal will only sync data upon request","default":"automatic","isRequired":true,"uniqueKey":"oneOf.0.syncMode","typeLabel":"enum\u003cstring>"},"token":{"type":"string","example":"con_tkn_22vUhkC6tgre4kwaYfUkCDA1rzn6eyb4","pattern":"^con_tkn_\\S+$","description":"This token is used when interacting with a connections' data.","isRequired":true,"uniqueKey":"oneOf.0.token","typeLabel":"string"},"createdAt":{"title":"ISODateTime","type":"string","format":"date-time","example":"2021-01-06T03:24:53.000Z","description":"[ISO 8601](https://www.w3.org/TR/NOTE-datetime) date","isRequired":true,"uniqueKey":"oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"title":"ISODateTime","type":"string","format":"date-time","example":"2021-01-06T03:24:53.000Z","description":"[ISO 8601](https://www.w3.org/TR/NOTE-datetime) date","isRequired":true,"uniqueKey":"oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["connected","disconnected","archived","pending_deletion"],"description":"The current status of the connection.","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"options":{"oneOf":[{"type":"object","title":"Omnitracs Options","required":[],"properties":{"ingestHistoryFromSourceSystem":{"default":true,"description":"By default our system will ingest Vehicle Locations and Stat Logs from the source system. Omnitracs also supports history at a higher sample rate through a historical file process. If you are using these historical files and want to avoid mixing the data sources, set this to false.","type":"boolean","uniqueKey":"oneOf.0.options.oneOf.0.ingestHistoryFromSourceSystem","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.0.options.oneOf.0","typeLabel":"Omnitracs Options · object"},{"type":"object","title":"Omnitracs ES Options","required":[],"properties":{"ingestHistoryFromSourceSystem":{"default":true,"description":"By default our system will ingest Vehicle Locations and Stat Logs from the source system. Omnitracs also supports history at a higher sample rate through a historical file process. If you are using these historical files and want to avoid mixing the data sources, set this to false.","type":"boolean","uniqueKey":"oneOf.0.options.oneOf.1.ingestHistoryFromSourceSystem","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.0.options.oneOf.1","typeLabel":"Omnitracs ES Options · object"},{"type":"object","title":"Omnitracs XRS Options","required":[],"properties":{"ingestHistoryFromSourceSystem":{"default":true,"description":"By default our system will ingest Vehicle Locations and Stat Logs from the source system. Omnitracs also supports history at a higher sample rate through a historical file process. If you are using these historical files and want to avoid mixing the data sources, set this to false.","type":"boolean","uniqueKey":"oneOf.0.options.oneOf.2.ingestHistoryFromSourceSystem","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.0.options.oneOf.2","typeLabel":"Omnitracs XRS Options · object"}],"isRequired":true,"uniqueKey":"oneOf.0.options","typeLabel":"Omnitracs Options · object | Omnitracs ES Options · object | Omnitracs XRS Options · object"},"linkUrl":{"type":"string","format":"uri","example":"https://link.withterminal.com/connection/{CONNECTION_ID}?key={PUBLISHABLE_KEY}","description":"The URL to send your user to in order to have them re-authenticate the connection.","isRequired":true,"uniqueKey":"oneOf.0.linkUrl","typeLabel":"string\u003curi>"},"externalId":{"type":"string","example":"1234","description":"An optional ID from your system that can be used to reference connections.","uniqueKey":"oneOf.0.externalId","typeLabel":"string"},"sourceId":{"title":"SourceId","type":"string","example":"123456789","description":"The ID used in the source system to represent the account this connection has or had access to.\n\nThis may be an `organizationId` or `accountId`.\n\nNote: not all systems expose this information, in which case it may be undefined.","uniqueKey":"oneOf.0.sourceId","typeLabel":"string"},"tags":{"type":"array","description":"An optional list of tags from your system that can be used to reference connections.","items":{"type":"string","example":"Tag Name","uniqueKey":"oneOf.0.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.tags","typeLabel":"string[]"},"filters":{"type":"object","properties":{"vehicles":{"type":"object","properties":{"status":{"type":"string","enum":["active","inactive"],"description":"Filter connection to only include data related to vehicles with a specified status","uniqueKey":"oneOf.0.filters.vehicles.status","typeLabel":"enum\u003cstring>"},"excludeIds":{"type":"array","items":{"title":"VehicleId","description":"Unique identifier for the vehicle in Terminal.","type":"string","format":"ulid","pattern":"^vcl_[0-9A-HJKMNP-TV-Z]{26}$","example":"vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC","uniqueKey":"oneOf.0.filters.vehicles.excludeIds.items.[INDEX]","typeLabel":"string\u003culid>"},"description":"IDs of vehicles to exclude from data ingestion","uniqueKey":"oneOf.0.filters.vehicles.excludeIds","typeLabel":"string\u003culid>[]"},"includeIds":{"type":"array","items":{"title":"VehicleId","description":"Unique identifier for the vehicle in Terminal.","type":"string","format":"ulid","pattern":"^vcl_[0-9A-HJKMNP-TV-Z]{26}$","example":"vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC","uniqueKey":"oneOf.0.filters.vehicles.includeIds.items.[INDEX]","typeLabel":"string\u003culid>"},"description":"IDs of vehicles to include in data ingestion (takes priority over other filters)","uniqueKey":"oneOf.0.filters.vehicles.includeIds","typeLabel":"string\u003culid>[]"}},"uniqueKey":"oneOf.0.filters.vehicles","typeLabel":"object"},"drivers":{"type":"object","properties":{"status":{"type":"string","enum":["active","inactive"],"description":"Filter connection to only include data related to drivers with a specified status","uniqueKey":"oneOf.0.filters.drivers.status","typeLabel":"enum\u003cstring>"},"excludeIds":{"type":"array","items":{"title":"DriverId","description":"Unique identifier for the driver in Terminal.","type":"string","format":"ulid","pattern":"^drv_[0-9A-HJKMNP-TV-Z]{26}$","example":"drv_01D8ZQFGHVJ858NBF2Q7DV9MNC","uniqueKey":"oneOf.0.filters.drivers.excludeIds.items.[INDEX]","typeLabel":"string\u003culid>"},"description":"IDs of drivers to exclude from data ingestion","uniqueKey":"oneOf.0.filters.drivers.excludeIds","typeLabel":"string\u003culid>[]"},"includeIds":{"type":"array","items":{"title":"DriverId","description":"Unique identifier for the driver in Terminal.","type":"string","format":"ulid","pattern":"^drv_[0-9A-HJKMNP-TV-Z]{26}$","example":"drv_01D8ZQFGHVJ858NBF2Q7DV9MNC","uniqueKey":"oneOf.0.filters.drivers.includeIds.items.[INDEX]","typeLabel":"string\u003culid>"},"description":"IDs of drivers to include in data ingestion (takes priority over other filters)","uniqueKey":"oneOf.0.filters.drivers.includeIds","typeLabel":"string\u003culid>[]"}},"uniqueKey":"oneOf.0.filters.drivers","typeLabel":"object"}},"description":"Filters applied to connection data. Across all lists, the maximum is about 8,000 IDs. A larger update is rejected with 422 and is not saved. If one list contains most vehicles or drivers, use the opposite list: excludeIds for the ones to skip, or includeIds for the ones to keep.","uniqueKey":"oneOf.0.filters","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"Full Connection · object"},{"type":"object","title":"Deleted Connection","description":"A retained connection record after connection-scoped data has been deleted.","required":["status","id","company","account","provider","syncMode","token","createdAt","updatedAt"],"x-model-category":"platform","x-description":"The connection your application has with your customer's TSP.","properties":{"id":{"title":"ConnectionId","type":"string","format":"ulid","example":"conn_01GV12VR4DJP70GD1ZBK0SDWFH","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string\u003culid>"},"company":{"type":"object","properties":{"name":{"type":"string","example":"Frank's Trucking","description":"Optional name of the connection.","uniqueKey":"oneOf.1.company.name","typeLabel":"string"},"dotNumbers":{"type":"array","description":"Optional DOT numbers associated with this connection.","items":{"type":"string","example":"1234567","uniqueKey":"oneOf.1.company.dotNumbers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.company.dotNumbers","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"oneOf.1.company","typeLabel":"object"},"account":{"type":"object","properties":{"name":{"type":"string","example":"Frank's Trucking","description":"The name of the account according to the provider.","uniqueKey":"oneOf.1.account.name","typeLabel":"string"},"dotNumbers":{"type":"array","description":"DOT numbers associated with the account according to the provider.","items":{"type":"string","example":"1234567","uniqueKey":"oneOf.1.account.dotNumbers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.account.dotNumbers","typeLabel":"string[]"},"user":{"type":"object","description":"The user of the provider account that created the connection.","properties":{"sourceId":{"description":"The ID of the user in the provider's system.","example":"1234567","type":"string","uniqueKey":"oneOf.1.account.user.sourceId","typeLabel":"string"},"firstName":{"example":"John","type":"string","uniqueKey":"oneOf.1.account.user.firstName","typeLabel":"string"},"lastName":{"example":"Doe","type":"string","uniqueKey":"oneOf.1.account.user.lastName","typeLabel":"string"},"email":{"example":"john.doe@example.com","type":"string","uniqueKey":"oneOf.1.account.user.email","typeLabel":"string"}},"uniqueKey":"oneOf.1.account.user","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.1.account","typeLabel":"object"},"provider":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string","example":"geotab","description":"Every provider has a unique code to identify it across Terminal's system. You can find each provider's code under [provider details](/providers).","isRequired":true,"uniqueKey":"oneOf.1.provider.code","typeLabel":"string"},"name":{"type":"string","example":"Geotab","description":"The name of the Telematics Service Provider.","isRequired":true,"uniqueKey":"oneOf.1.provider.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.provider","typeLabel":"object"},"syncMode":{"title":"SyncMode","type":"string","enum":["automatic","manual"],"description":"Enum values:\n- `automatic`: Terminal will keep this connections data up to date\n- `manual`: Terminal will only sync data upon request","default":"automatic","isRequired":true,"uniqueKey":"oneOf.1.syncMode","typeLabel":"enum\u003cstring>"},"token":{"type":"string","example":"con_tkn_22vUhkC6tgre4kwaYfUkCDA1rzn6eyb4","pattern":"^con_tkn_\\S+$","description":"This token is used when interacting with a connections' data.","isRequired":true,"uniqueKey":"oneOf.1.token","typeLabel":"string"},"createdAt":{"title":"ISODateTime","type":"string","format":"date-time","example":"2021-01-06T03:24:53.000Z","description":"[ISO 8601](https://www.w3.org/TR/NOTE-datetime) date","isRequired":true,"uniqueKey":"oneOf.1.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"title":"ISODateTime","type":"string","format":"date-time","example":"2021-01-06T03:24:53.000Z","description":"[ISO 8601](https://www.w3.org/TR/NOTE-datetime) date","isRequired":true,"uniqueKey":"oneOf.1.updatedAt","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["deleting","deleted"],"isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"externalId":{"type":"string","example":"1234","description":"An optional ID from your system that can be used to reference connections.","uniqueKey":"oneOf.1.externalId","typeLabel":"string"},"sourceId":{"title":"SourceId","type":"string","example":"123456789","description":"The ID used in the source system to represent the account this connection has or had access to.\n\nThis may be an `organizationId` or `accountId`.\n\nNote: not all systems expose this information, in which case it may be undefined.","uniqueKey":"oneOf.1.sourceId","typeLabel":"string"},"tags":{"type":"array","description":"An optional list of tags from your system that can be used to reference connections.","items":{"type":"string","example":"Tag Name","uniqueKey":"oneOf.1.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.tags","typeLabel":"string[]"},"deletedAt":{"title":"ISODateTime","type":"string","format":"date-time","example":"2021-01-06T03:24:53.000Z","description":"When Terminal finished deleting connection-scoped data. Present once status is `deleted`.","uniqueKey":"oneOf.1.deletedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"oneOf.1","typeLabel":"Deleted Connection · object"}],"uniqueKey":"","typeLabel":"Full Connection · object | Deleted Connection · object"},"examples":{"Example":{"title":"Example","value":{"id":"conn_01GV12VR4DJP70GD1ZBK0SDWFH","company":{"name":"Frank's Trucking","dotNumbers":["1234567"]},"account":{"name":"Frank's Trucking","dotNumbers":["1234567"],"user":{"sourceId":"1234567","firstName":"John","lastName":"Doe","email":"john.doe@example.com"}},"provider":{"code":"geotab","name":"Geotab"},"syncMode":"automatic","token":"con_tkn_22vUhkC6tgre4kwaYfUkCDA1rzn6eyb4","createdAt":"2021-01-06T03:24:53.000Z","updatedAt":"2021-01-06T03:24:53.000Z","status":"connected","options":{"ingestHistoryFromSourceSystem":true},"linkUrl":"https://link.withterminal.com/connection/{CONNECTION_ID}?key={PUBLISHABLE_KEY}","externalId":"1234","sourceId":"123456789","tags":["Tag Name"],"filters":{"vehicles":{"status":"active","excludeIds":["vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC"],"includeIds":["vcl_01D8ZQFGHVJ858NBF2Q7DV9MNC"]},"drivers":{"status":"active","excludeIds":["drv_01D8ZQFGHVJ858NBF2Q7DV9MNC"],"includeIds":["drv_01D8ZQFGHVJ858NBF2Q7DV9MNC"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"9a7d1284-4f42-4836-9145-54c430137d9e":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["bad_request"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Invalid request body","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"detail":{"type":"array","items":{"title":"ErrorPathDetail","type":"object","properties":{"message":{"type":"string","example":"'vehicleId' property must be a valid ulid","isRequired":true,"uniqueKey":"detail.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","example":"{requestQuery}.vehicleId","isRequired":true,"uniqueKey":"detail.items.[INDEX].path","typeLabel":"string"},"suggestion":{"type":"string","example":"Please ensure you submit a valid 'vehicleId' property","uniqueKey":"detail.items.[INDEX].suggestion","typeLabel":"string"},"context":{"type":"object","uniqueKey":"detail.items.[INDEX].context","typeLabel":"object"}},"required":["message","path"],"uniqueKey":"detail.items.[INDEX]","typeLabel":"ErrorPathDetail · object"},"uniqueKey":"detail","typeLabel":"ErrorPathDetail · object[]"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"bad_request","message":"Invalid request body","detail":[{"message":"'vehicleId' property must be a valid ulid","path":"{requestQuery}.vehicleId","suggestion":"Please ensure you submit a valid 'vehicleId' property","context":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"af5bf9c1-f5b3-42bc-be27-b8dc5d009487":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["unauthorized"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Unauthorized Request","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"detail":{"type":"string","example":"Please ensure you have a valid API key","uniqueKey":"detail","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"unauthorized","message":"Unauthorized Request","detail":"Please ensure you have a valid API key"}}},"exampleType":"generated"}},"exampleType":"generated"},"05183fa5-df83-41c4-a079-4e9ddfe828ea":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["forbidden"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Forbidden Request","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"detail":{"type":"string","example":"Please ensure the connection token matches the resource you are attempting to access.","uniqueKey":"detail","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"forbidden","message":"Forbidden Request","detail":"Please ensure the connection token matches the resource you are attempting to access."}}},"exampleType":"generated"}},"exampleType":"generated"},"049bc446-0511-40a8-9808-71acc67ee87a":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["not_found"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Resource not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"detail":{"type":"string","example":"Could not find resource with ID: 2342342","uniqueKey":"detail","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"not_found","message":"Resource not found","detail":"Could not find resource with ID: 2342342"}}},"exampleType":"generated"}},"exampleType":"generated"},"72d7ea90-3fc6-4a69-9183-3cd168835284":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"code":{"enum":["too_many_requests"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Too Many Requests","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryAfter":{"description":"The number of seconds to wait before retrying the request","type":"integer","example":60,"uniqueKey":"retryAfter","typeLabel":"integer"},"detail":{"type":"string","example":"You have exceeded your rate limit. Please try again later.","uniqueKey":"detail","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"too_many_requests","message":"Too Many Requests","retryAfter":60,"detail":"You have exceeded your rate limit. Please try again later."}}},"exampleType":"generated"}},"exampleType":"generated"},"3275ac0f-58a6-4ac6-90f6-471548cd8f3d":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["internal_server_error"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Internal Server Error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"detail":{"type":"string","example":"Something went wrong","uniqueKey":"detail","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"internal_server_error","message":"Internal Server Error","detail":"Something went wrong"}}},"exampleType":"generated"}},"exampleType":"generated"},"036d2428-7a88-4d91-896a-e24d712bab26":{"description":"Gateway Timeout Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"enum":["gateway_timeout","provider_timeout"],"description":"`provider_timeout` means the telematics provider did not respond in time, or responded too slowly to finish the request (for example, while paginating). Retry later or narrow the request, for example with a shorter time range or smaller `limit`. `gateway_timeout` means Terminal could not finish the request in time for another reason.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Gateway Timeout","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"gateway_timeout","message":"Gateway Timeout"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7bb1c945-99c7-4674-ab3b-f00ac0bb7f7f":{"Authorization":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"}}},"servers":{"26eab63e-1f78-4bd6-a0fc-cff993468b0a":{"url":"https://api.withterminal.com/tsp/v1","description":"Production"},"a8496b5b-4211-4b47-8b94-23c4fd49eb3a":{"url":"https://api.sandbox.withterminal.com/tsp/v1","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"},"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":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"terminal.openapi.json"},"subdomain":"terminal-docs","siteName":"Terminal","title":"Public Token Exchange - Terminal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T19:10:06.379Z","originalFileLocation":"api-reference/authentication/public-token-exchange.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=\"Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer\u0026#x27;s TSP.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Terminal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_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/terminal-docs/q_QSa4K4R3U3yGEA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Public Token Exchange - Terminal\">\u003cmeta data-mint-head property=\"og:description\" content=\"Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer\u0026#x27;s TSP.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Terminal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://terminal-docs.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Public+Token+Exchange\u0026amp;description=Exchange+the+%60publicToken%60+returned+by+our+hosted+authentication+flow+for+a+long+lived+connection+token+that+will+be+used+when+requesting+data+from+a+customer%27s\u0026amp;theme=8bb0eec5830d42a0d926dcc9\u0026amp;signature=28674b5ef43f122b6335885f61dd11de738d8806fe6e9309ba79cb66885cda9c\">\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=\"Public Token Exchange - Terminal\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer\u0026#x27;s TSP.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://terminal-docs.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Public+Token+Exchange\u0026amp;description=Exchange+the+%60publicToken%60+returned+by+our+hosted+authentication+flow+for+a+long+lived+connection+token+that+will+be+used+when+requesting+data+from+a+customer%27s\u0026amp;theme=8bb0eec5830d42a0d926dcc9\u0026amp;signature=28674b5ef43f122b6335885f61dd11de738d8806fe6e9309ba79cb66885cda9c\">\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/terminal-docs/q_QSa4K4R3U3yGEA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Terminal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C5DFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/authentication/public-token-exchange.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.withterminal.com/#organization\",\"name\":\"Terminal\",\"url\":\"https://docs.withterminal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/terminal-docs/Pfa4hlnVUUtjY2OJ/logo/light.svg?fit=max\u0026auto=format\u0026n=Pfa4hlnVUUtjY2OJ\u0026q=85\u0026s=9cef1cf6544af4b9a6af143a7ca8a7b8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.withterminal.com#website\",\"name\":\"Terminal\",\"url\":\"https://docs.withterminal.com\",\"publisher\":{\"@id\":\"https://docs.withterminal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange#webpage\",\"url\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange\",\"name\":\"Public Token Exchange\",\"description\":\"Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer's TSP.\",\"dateModified\":\"2026-01-28T19:10:06.379Z\",\"isPartOf\":{\"@id\":\"https://docs.withterminal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Terminal\",\"item\":\"https://docs.withterminal.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Public Token Exchange\",\"item\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange#apireference\",\"headline\":\"Public Token Exchange\",\"name\":\"Public Token Exchange\",\"description\":\"Exchange the publicToken returned by our hosted authentication flow for a long lived connection token that will be used when requesting data from a customer's TSP.\",\"url\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange\",\"mainEntityOfPage\":{\"@id\":\"https://docs.withterminal.com/api-reference/authentication/public-token-exchange#webpage\"},\"dateModified\":\"2026-01-28T19:10:06.379Z\",\"publisher\":{\"@id\":\"https://docs.withterminal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.withterminal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Terminal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Terminal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/authentication/public-token-exchange.md","siteName":"Terminal","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/how-terminal-works"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Reference","pages":[{"title":"Environments","href":"/api-reference/environments"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Rate Limits","href":"/api-reference/rate-limits"},{"title":"Resource Expansion","href":"/api-reference/resource-expansion"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Serialization","href":"/api-reference/serialization"},{"title":"MCP","href":"/api-reference/mcp"},{"title":"CLI","description":"Configuration, global options, and commands for the Terminal CLI.","href":"/api-reference/cli"}]},{"group":"Authentication","pages":[{"title":"Public Token Exchange","openapi":"POST /public-token/exchange","href":"/api-reference/authentication/public-token-exchange"}]},{"group":"Link","pages":[{"title":"Create Short Link URL","description":"Create a short URL for the Link onboarding flow as an alternative to the full Link URL with all its query parameters.","openapi":"POST /link/short","href":"/api-reference/link/create-short-link"},{"title":"Delete Short Link","openapi":"DELETE /link/short/{id}","href":"/api-reference/link/delete-short-link"},{"title":"List Link Providers","openapi":"link.openapi.json GET /link/providers","href":"/api-reference/link/list-link-providers"},{"title":"List Link Provider Guides","openapi":"link.openapi.json GET /link/guides","href":"/api-reference/link/list-link-provider-guides"},{"title":"Get Link Provider Guide","openapi":"link.openapi.json GET /link/guides/{provider}","href":"/api-reference/link/get-link-provider-guide"}]},{"group":"Data Management","pages":[{"title":"Request Sync","openapi":"POST /syncs","href":"/api-reference/data-management/request-sync"},{"title":"List Sync History","openapi":"GET /syncs","href":"/api-reference/data-management/list-sync-history"},{"title":"Get Sync Job Status","openapi":"GET /syncs/{id}","href":"/api-reference/data-management/get-sync-job-status"},{"title":"Retry Sync","openapi":"POST /syncs/{id}/retry","href":"/api-reference/data-management/retry-sync"},{"title":"Cancel Sync","openapi":"POST /syncs/{id}/cancel","href":"/api-reference/data-management/cancel-sync"},{"title":"Passthrough","openapi":"POST /passthrough","href":"/api-reference/data-management/passthrough"},{"title":"Raw Passthrough","openapi":"POST /passthrough/raw","href":"/api-reference/data-management/passthrough-raw"}]},{"group":"Vehicles","pages":[{"title":"List Vehicles","openapi":"GET /vehicles","href":"/api-reference/vehicles/list-vehicles"},{"title":"Get Vehicle","openapi":"GET /vehicles/{id}","href":"/api-reference/vehicles/get-vehicle"},{"title":"Latest Vehicle Locations","openapi":"GET /vehicles/locations","href":"/api-reference/vehicles/list-latest-vehicle-locations"},{"title":"Historical Vehicle Locations","openapi":"GET /vehicles/{vehicleId}/locations","href":"/api-reference/vehicles/list-historical-vehicle-locations"},{"title":"Historical Vehicle Stats","openapi":"GET /vehicles/{vehicleId}/stats/historical","href":"/api-reference/vehicles/list-historical-vehicle-stats"}]},{"group":"Drivers","pages":[{"title":"List Drivers","openapi":"GET /drivers","href":"/api-reference/drivers/list-drivers"},{"title":"Get Driver","openapi":"GET /drivers/{id}","href":"/api-reference/drivers/get-driver"}]},{"group":"Hours of Service","pages":[{"title":"Available Time for Drivers","openapi":"GET /hos/available-time","href":"/api-reference/hours-of-service/list-hosavailable-time"},{"title":"List HOS Logs","openapi":"GET /hos/logs","href":"/api-reference/hours-of-service/list-hoslogs"},{"title":"List HOS Daily Logs","openapi":"GET /hos/daily-logs","href":"/api-reference/hours-of-service/list-hosdaily-logs"}]},{"group":"Vehicle Utilization","pages":[{"title":"Get Vehicle Utilization","openapi":"GET /vehicles/utilization","href":"/api-reference/vehicle-utilization/get-vehicle-utilization"}]},{"group":"Trips","pages":[{"title":"List Historical Trips","openapi":"GET /trips","href":"/api-reference/trips/list-trips"}]},{"group":"Devices","pages":[{"title":"List Devices","openapi":"GET /devices","href":"/api-reference/devices/list-devices"}]},{"group":"Safety","pages":[{"title":"List Safety Events","openapi":"GET /safety/events","href":"/api-reference/safety/list-safety-events"},{"title":"Get Safety Event","openapi":"GET /safety/events/{id}","href":"/api-reference/safety/get-safety-event"},{"title":"Get Event Camera Media","openapi":"GET /safety/events/{id}/camera-media","href":"/api-reference/safety/get-event-camera-media"}]},{"group":"Groups","pages":[{"title":"List Groups","openapi":"GET /groups","href":"/api-reference/groups/list-groups"}]},{"group":"Trailers","pages":[{"title":"List Trailers","openapi":"GET /trailers","href":"/api-reference/trailers/list-trailers"},{"title":"Latest Trailer Locations","openapi":"GET /trailers/locations","href":"/api-reference/trailers/list-latest-trailer-locations"}]},{"group":"IFTA","pages":[{"title":"Get IFTA Summary","openapi":"GET /ifta/summary","href":"/api-reference/ifta/get-iftasummary"}]},{"group":"Connections","pages":[{"title":"List All Connections","openapi":"GET /connections","href":"/api-reference/connections/list-connections"},{"title":"Get Current Connection","openapi":"GET /connections/current","href":"/api-reference/connections/get-current-connection"},{"title":"Update Current Connection","openapi":"PATCH /connections/current","href":"/api-reference/connections/update-current-connection"},{"title":"Delete Current Connection","openapi":"DELETE /connections/current","href":"/api-reference/connections/delete-current-connection"}]},{"group":"Providers","pages":[{"title":"List Providers","openapi":"GET /providers","href":"/api-reference/providers/list-providers"}]},{"group":"Issues","pages":[{"title":"List Issues","openapi":"GET /issues","href":"/api-reference/issues/list-issues"},{"title":"Resolve Issue","openapi":"POST /issues/{issueId}/resolve","href":"/api-reference/issues/resolve-issue"}]},{"group":"Fault Codes","pages":[{"title":"List Fault Code Events","openapi":"GET /fault-codes/events","href":"/api-reference/fault-codes/list-fault-code-events"}]},{"group":"Webhook Events","pages":[{"title":"Event Types","href":"/api-reference/webhook-events/overview"},{"title":"connection.created","href":"/api-reference/webhook-events/connection-created"},{"title":"connection.disconnected","href":"/api-reference/webhook-events/connection-disconnected"},{"title":"connection.reconnected","href":"/api-reference/webhook-events/connection-reconnected"},{"title":"connection.completed","href":"/api-reference/webhook-events/connection-completed"},{"title":"connection.updated","href":"/api-reference/webhook-events/connection-updated"},{"title":"connection.pending_deletion","href":"/api-reference/webhook-events/connection-pending-deletion"},{"title":"connection.deleted","href":"/api-reference/webhook-events/connection-deleted"},{"title":"sync.requested","href":"/api-reference/webhook-events/sync-requested"},{"title":"sync.started","href":"/api-reference/webhook-events/sync-started"},{"title":"sync.completed","href":"/api-reference/webhook-events/sync-completed"},{"title":"sync.failed","href":"/api-reference/webhook-events/sync-failed"},{"title":"connection.first_sync_completed","href":"/api-reference/webhook-events/connection-first-sync-completed"},{"title":"delivery.requested","href":"/api-reference/webhook-events/delivery-requested"},{"title":"delivery.started","href":"/api-reference/webhook-events/delivery-started"},{"title":"delivery.failed","href":"/api-reference/webhook-events/delivery-failed"},{"title":"delivery.completed","href":"/api-reference/webhook-events/delivery-completed"},{"title":"issue.reported","href":"/api-reference/webhook-events/issue-reported"},{"title":"issue.resolved","href":"/api-reference/webhook-events/issue-resolved"},{"title":"provider.availability_updated","href":"/api-reference/webhook-events/provider-availability-updated"},{"title":"unsupported_provider.requested","href":"/api-reference/webhook-events/unsupported-provider-requested"},{"title":"link.analytics_event_emitted","href":"/api-reference/webhook-events/link-analytics-event-emitted"},{"title":"vehicle.added","href":"/api-reference/webhook-events/vehicle-added"},{"title":"vehicle.modified","href":"/api-reference/webhook-events/vehicle-modified"},{"title":"vehicle.removed","href":"/api-reference/webhook-events/vehicle-removed"},{"title":"driver.added","href":"/api-reference/webhook-events/driver-added"},{"title":"driver.modified","href":"/api-reference/webhook-events/driver-modified"},{"title":"driver.removed","href":"/api-reference/webhook-events/driver-removed"},{"title":"trailer.added","href":"/api-reference/webhook-events/trailer-added"},{"title":"trailer.modified","href":"/api-reference/webhook-events/trailer-modified"},{"title":"trailer.removed","href":"/api-reference/webhook-events/trailer-removed"},{"title":"safety_event.added","href":"/api-reference/webhook-events/safety-event-added"},{"title":"safety_event.modified","href":"/api-reference/webhook-events/safety-event-modified"}]}]},{"anchor":"Supported Providers","icon":"satellite-dish","pages":[{"title":"Supported Providers","href":"/providers/explorer"}]},{"anchor":"Common Models","icon":"database","pages":[{"title":"Common Models","href":"/models/overview"}]},{"anchor":"Changelog","icon":"newspaper","pages":[{"title":"Changelog","href":"/changelog"}]},{"anchor":"Website","icon":"globe","href":"https://withterminal.com"}]},"basePath":"","title":"Public Token Exchange - Terminal","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}