A valid request URL is required to generate request examples
{
"value": "6xHqoqfVkECPND6BgoceW4fv"
}
Token
Get or create an API token
POST
/
tokens
/
current
Error
A valid request URL is required to generate request examples
{
"value": "6xHqoqfVkECPND6BgoceW4fv"
}
Authorizations
authorization
string
header
required
Body
application/json
email
string
required
password
string
required
Response
Created
value
string
⌘I
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Fohlio API","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fohlioinc","hasAudioNarration":false,"actualSubdomain":"fohlioinc","customDomains":["apidocs.fohlio.com"],"gitSource":{"type":"github","owner":"fohlio","repo":"fohlio-backend","deployBranch":"main","contentDirectory":"swagger/v1","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0c6fad0514f142154df190","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":81},{"language":"default","tag":"Webhooks","count":24},{"language":"default","tag":"Project","count":6},{"language":"default","tag":"Client Invoice","count":5},{"language":"default","tag":"Contact","count":5},{"language":"default","tag":"Project Item","count":5},{"language":"default","tag":"Purchase Order","count":5},{"language":"default","tag":"Supplier Invoice","count":5},{"language":"default","tag":"Area","count":4},{"language":"default","tag":"Column","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/token/get-or-create-an-api-token","slug":"/api-reference/token/get-or-create-an-api-token","pageMetadata":{"title":"Get or create an API token","description":null,"deprecated":null,"version":null,"openapi":"/swagger.yaml post /tokens/current","href":"/api-reference/token/get-or-create-an-api-token","autogeneratedByOpenApi":true},"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":"Get or create an API token","description":null,"deprecated":null,"version":null,"openapi":"/swagger.yaml post /tokens/current","href":"/api-reference/token/get-or-create-an-api-token","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get or create an API token","tags":["Token"],"operationId":"tokens#post","security":["dfa34b23-2bb3-483f-89f0-25e22dff2193"],"parameters":[],"responses":{"201":"da824f04-590a-4454-90ac-1e0c795a5e6c","400":"9d5a77fc-90dd-4448-8532-62c6a2f7ffe0","401":"3c1e50b4-406e-49a0-853a-89250542b016","403":"0e093247-1315-45e4-8ae4-a635fee76171"},"requestBody":"fecde5bc-45f8-4c5e-b93e-342b189fd902","method":"post","type":"path","servers":["289e154d-6086-48a8-81f1-4d54cba926bc","a4ff7a8f-80b0-478e-ae66-6ff9ce45a2f4"],"path":"/tokens/current","baseUrlOptions":["/openapi","https://app.fohlio.com/be/openapi"],"title":"Get or create an API token","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"email","typeLabel":"string"},"password":{"type":"string","isRequired":true,"uniqueKey":"password","typeLabel":"string"}},"required":["email","password"],"uniqueKey":"","typeLabel":"object"},"examples":{"created":{"title":"created","summary":"An example of the request body for creating an API token","value":{"email":"team1.owner@fohlio.io","password":"12qwasZX!"}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"da824f04-590a-4454-90ac-1e0c795a5e6c":{"description":"Created","content":{"application/json":{"examples":{"created":{"title":"created","summary":"Created","value":{"value":"6xHqoqfVkECPND6BgoceW4fv"}}},"schema":{"type":"object","properties":{"value":{"type":"string","uniqueKey":"value","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"9d5a77fc-90dd-4448-8532-62c6a2f7ffe0":{"description":"Bad Request","content":{"application/json":{"examples":{"bad_request":{"title":"bad_request","value":{"error":"Bad Request: \u003cdescription>"}}},"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"3c1e50b4-406e-49a0-853a-89250542b016":{"description":"Unauthorized","content":{"application/json":{"examples":{"unauthorized":{"title":"unauthorized","value":{"error":"Unauthorized"}}},"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"0e093247-1315-45e4-8ae4-a635fee76171":{"description":"Forbidden","content":{"application/json":{"examples":{"forbidden":{"title":"forbidden","value":{"error":"Forbidden"}}},"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"dfa34b23-2bb3-483f-89f0-25e22dff2193":{"apiKey":{"type":"apiKey","name":"authorization","in":"header","scopes":[],"schemeName":"apiKey"}}},"servers":{"289e154d-6086-48a8-81f1-4d54cba926bc":{"url":"/openapi"},"a4ff7a8f-80b0-478e-ae66-6ff9ce45a2f4":{"url":"https://app.fohlio.com/be/openapi"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"authorization","in":"header","scopes":[],"schemeName":"apiKey"},"schema":{"title":"authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"authorization"}],"title":"apiKey"}]},"originalFileLocation":"swagger.yaml"},"subdomain":"fohlioinc","siteName":"Fohlio API","title":"Get or create an API token - Fohlio API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T11:28:37.173Z","originalFileLocation":"api-reference/token/get-or-create-an-api-token.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=\"application-name\" content=\"Fohlio API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/fohlioinc/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/fohlioinc/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/fohlioinc/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/fohlioinc/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get or create an API token - Fohlio API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fohlio API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fohlioinc.mintlify.site/_mintlify/api/og/v2?division=Token\u0026amp;title=Get+or+create+an+API+token\u0026amp;theme=be394bdd824f66fd2549706a\u0026amp;signature=04889d509c2a688dc9a793a4c6257d85e99293ae935591faff0a827ce2ef2a15\">\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=\"Get or create an API token - Fohlio API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fohlioinc.mintlify.site/_mintlify/api/og/v2?division=Token\u0026amp;title=Get+or+create+an+API+token\u0026amp;theme=be394bdd824f66fd2549706a\u0026amp;signature=04889d509c2a688dc9a793a4c6257d85e99293ae935591faff0a827ce2ef2a15\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/fohlioinc/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fohlio API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/token/get-or-create-an-api-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.fohlio.com/#organization\",\"name\":\"Fohlio API\",\"url\":\"https://apidocs.fohlio.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.fohlio.com#website\",\"name\":\"Fohlio API\",\"url\":\"https://apidocs.fohlio.com\",\"publisher\":{\"@id\":\"https://apidocs.fohlio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token#webpage\",\"url\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token\",\"name\":\"Get or create an API token\",\"dateModified\":\"2026-11-27T11:28:37.173Z\",\"isPartOf\":{\"@id\":\"https://apidocs.fohlio.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://apidocs.fohlio.com/api-reference/address/get-an-address-by-id\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Token\",\"item\":\"https://apidocs.fohlio.com/api-reference/token/get-the-current-api-token\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get or create an API token\",\"item\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token#apireference\",\"headline\":\"Get or create an API token\",\"name\":\"Get or create an API token\",\"url\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.fohlio.com/api-reference/token/get-or-create-an-api-token#webpage\"},\"dateModified\":\"2026-11-27T11:28:37.173Z\",\"publisher\":{\"@id\":\"https://apidocs.fohlio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.fohlio.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fohlio API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fohlio API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/token/get-or-create-an-api-token.md","siteName":"Fohlio API","nav":{"global":null,"groups":[{"group":"Introduction","pages":[{"title":"Get Started","href":"/introduction"}]},{"group":"API Reference","pages":[{"group":"Address","pages":[{"title":"Get an address by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /addresses/{id}","href":"/api-reference/address/get-an-address-by-id"},{"title":"List addresses","deprecated":null,"version":null,"openapi":"/swagger.yaml get /addresses","href":"/api-reference/address/list-addresses"}]},{"group":"Area","pages":[{"title":"List project areas","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}/areas","href":"/api-reference/area/list-project-areas"},{"title":"Create a project area","deprecated":null,"version":null,"openapi":"/swagger.yaml post /projects/{id}/areas","href":"/api-reference/area/create-a-project-area"},{"title":"Delete unused areas in a layer","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /projects/{id}/areas","href":"/api-reference/area/delete-unused-areas-in-a-layer"},{"title":"Create areas in bulk","deprecated":null,"version":null,"openapi":"/swagger.yaml post /projects/{id}/areas/batch","href":"/api-reference/area/create-areas-in-bulk"}]},{"group":"Category / Division","pages":[{"title":"List the active divisions / categories of the current team","deprecated":null,"version":null,"openapi":"/swagger.yaml get /divisions","href":"/api-reference/category-division/list-the-active-divisions-categories-of-the-current-team"},{"title":"List the active divisions / categories of a project","deprecated":null,"version":null,"openapi":"/swagger.yaml get /divisions/project/{id}","href":"/api-reference/category-division/list-the-active-divisions-categories-of-a-project"}]},{"group":"Client Invoice","pages":[{"title":"Get a client invoice by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /client_invoices/{id}","href":"/api-reference/client-invoice/get-a-client-invoice-by-id"},{"title":"Update a client invoice","deprecated":null,"version":null,"openapi":"/swagger.yaml put /client_invoices/{id}","href":"/api-reference/client-invoice/update-a-client-invoice"},{"title":"Deletes a client invoice by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /client_invoices/{id}","href":"/api-reference/client-invoice/deletes-a-client-invoice-by-id"},{"title":"List client invoices","deprecated":null,"version":null,"openapi":"/swagger.yaml get /client_invoices","href":"/api-reference/client-invoice/list-client-invoices"},{"title":"Create a client invoice","deprecated":null,"version":null,"openapi":"/swagger.yaml post /client_invoices","href":"/api-reference/client-invoice/create-a-client-invoice"}]},{"group":"Client Proposal","pages":[{"title":"Get a client proposal by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /client_proposals/{id}","href":"/api-reference/client-proposal/get-a-client-proposal-by-id"},{"title":"List client proposals","deprecated":null,"version":null,"openapi":"/swagger.yaml get /client_proposals","href":"/api-reference/client-proposal/list-client-proposals"}]},{"group":"Column","pages":[{"title":"List active columns of the current team","deprecated":null,"version":null,"openapi":"/swagger.yaml get /columns","href":"/api-reference/column/list-active-columns-of-the-current-team"},{"title":"List project columns","deprecated":null,"version":null,"openapi":"/swagger.yaml get /columns/project/{id}","href":"/api-reference/column/list-project-columns"},{"title":"List project columns","deprecated":null,"version":null,"openapi":"/swagger.yaml get /columns/division/{id}","href":"/api-reference/column/list-project-columns-1"}]},{"group":"Contact","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/swagger.yaml get /contacts","href":"/api-reference/contact/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/swagger.yaml post /contacts","href":"/api-reference/contact/create-a-contact"},{"title":"Get a contact by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /contacts/{id}","href":"/api-reference/contact/get-a-contact-by-id"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/swagger.yaml put /contacts/{id}","href":"/api-reference/contact/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /contacts/{id}","href":"/api-reference/contact/delete-a-contact"}]},{"group":"Layer","pages":[{"title":"List project layers","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}/layers","href":"/api-reference/layer/list-project-layers"}]},{"group":"Payment Method Type","pages":[{"title":"List payment method types","deprecated":null,"version":null,"openapi":"/swagger.yaml get /team/payment_method_types","href":"/api-reference/payment-method-type/list-payment-method-types"}]},{"group":"Payment Method","pages":[{"title":"List payment methods","deprecated":null,"version":null,"openapi":"/swagger.yaml get /team/payment_methods","href":"/api-reference/payment-method/list-payment-methods"}]},{"group":"Payment Reason","pages":[{"title":"List payment reasons","deprecated":null,"version":null,"openapi":"/swagger.yaml get /team/payment_reasons","href":"/api-reference/payment-reason/list-payment-reasons"}]},{"group":"Project Budget","pages":[{"title":"Get the cost analysis totals of a project","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}/budgets","href":"/api-reference/project-budget/get-the-cost-analysis-totals-of-a-project"}]},{"group":"Project Item","pages":[{"title":"List project items","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}/items","href":"/api-reference/project-item/list-project-items"},{"title":"Create project items","deprecated":null,"version":null,"openapi":"/swagger.yaml post /projects/{id}/items","href":"/api-reference/project-item/create-project-items"},{"title":"Batch update project items","deprecated":null,"version":null,"openapi":"/swagger.yaml patch /projects/{id}/items","href":"/api-reference/project-item/batch-update-project-items"},{"title":"Upload files to project items","deprecated":null,"version":null,"openapi":"/swagger.yaml post /projects/{id}/items/files","href":"/api-reference/project-item/upload-files-to-project-items"},{"title":"Search for project items","deprecated":null,"version":null,"openapi":"/swagger.yaml post /project_items/search","href":"/api-reference/project-item/search-for-project-items"}]},{"group":"Project Report","pages":[{"title":"List the reports of a project","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}/reports","href":"/api-reference/project-report/list-the-reports-of-a-project"}]},{"group":"Project","pages":[{"title":"List projects","deprecated":true,"version":null,"openapi":"/swagger.yaml get /projects/team","href":"/api-reference/project/list-projects"},{"title":"List projects","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects","href":"/api-reference/project/list-projects-1"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/swagger.yaml post /projects","href":"/api-reference/project/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"/swagger.yaml get /projects/{id}","href":"/api-reference/project/get-a-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"/swagger.yaml put /projects/{id}","href":"/api-reference/project/update-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /projects/{id}","href":"/api-reference/project/delete-a-project"}]},{"group":"Purchase Order","pages":[{"title":"Gets a purchase order by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /purchase_orders/{id}","href":"/api-reference/purchase-order/gets-a-purchase-order-by-id"},{"title":"Updates a purchase order","deprecated":null,"version":null,"openapi":"/swagger.yaml put /purchase_orders/{id}","href":"/api-reference/purchase-order/updates-a-purchase-order"},{"title":"Deletes a purchase order by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /purchase_orders/{id}","href":"/api-reference/purchase-order/deletes-a-purchase-order-by-id"},{"title":"Lists purchase orders","deprecated":null,"version":null,"openapi":"/swagger.yaml get /purchase_orders","href":"/api-reference/purchase-order/lists-purchase-orders"},{"title":"Creates a purchase order","deprecated":null,"version":null,"openapi":"/swagger.yaml post /purchase_orders","href":"/api-reference/purchase-order/creates-a-purchase-order"}]},{"group":"Shipment","pages":[{"title":"Get a shipment by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /shipments/{id}","href":"/api-reference/shipment/get-a-shipment-by-id"},{"title":"List shipments","deprecated":null,"version":null,"openapi":"/swagger.yaml get /shipments","href":"/api-reference/shipment/list-shipments"}]},{"group":"Supplier Invoice","pages":[{"title":"Get a supplier invoice by ID","deprecated":null,"version":null,"openapi":"/swagger.yaml get /supplier_invoices/{id}","href":"/api-reference/supplier-invoice/get-a-supplier-invoice-by-id"},{"title":"Update a supplier invoice","deprecated":null,"version":null,"openapi":"/swagger.yaml put /supplier_invoices/{id}","href":"/api-reference/supplier-invoice/update-a-supplier-invoice"},{"title":"Delete a supplier invoice","deprecated":null,"version":null,"openapi":"/swagger.yaml delete /supplier_invoices/{id}","href":"/api-reference/supplier-invoice/delete-a-supplier-invoice"},{"title":"List supplier invoices","deprecated":null,"version":null,"openapi":"/swagger.yaml get /supplier_invoices","href":"/api-reference/supplier-invoice/list-supplier-invoices"},{"title":"Create a supplier invoice","deprecated":null,"version":null,"openapi":"/swagger.yaml post /supplier_invoices","href":"/api-reference/supplier-invoice/create-a-supplier-invoice"}]},{"group":"Team Role","pages":[{"title":"List team roles","deprecated":null,"version":null,"openapi":"/swagger.yaml get /roles","href":"/api-reference/team-role/list-team-roles"}]},{"group":"Team","pages":[{"title":"Get a dump of the whole team","deprecated":true,"version":null,"openapi":"/swagger.yaml get /team/dump","href":"/api-reference/team/get-a-dump-of-the-whole-team"}]},{"group":"Token","pages":[{"title":"Get the current API token","description":null,"deprecated":null,"version":null,"openapi":"/swagger.yaml get /tokens/current","href":"/api-reference/token/get-the-current-api-token"},{"title":"Get or create an API token","deprecated":null,"version":null,"openapi":"/swagger.yaml post /tokens/current","href":"/api-reference/token/get-or-create-an-api-token"}]},{"group":"User","pages":[{"title":"List confirmed internal users","description":null,"deprecated":null,"version":null,"openapi":"/swagger.yaml get /users","href":"/api-reference/user/list-confirmed-internal-users"}]},{"group":"Webhooks","pages":[{"title":"Project created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectCreated","href":"/api-reference/webhooks/project-created"},{"title":"Project updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectUpdated","href":"/api-reference/webhooks/project-updated"},{"title":"Project deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectDeleted","href":"/api-reference/webhooks/project-deleted"},{"title":"Client proposal created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientProposalCreated","href":"/api-reference/webhooks/client-proposal-created"},{"title":"Client proposal updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientProposalUpdated","href":"/api-reference/webhooks/client-proposal-updated"},{"title":"Client proposal deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientProposalDeleted","href":"/api-reference/webhooks/client-proposal-deleted"},{"title":"Client invoice created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientInvoiceCreated","href":"/api-reference/webhooks/client-invoice-created"},{"title":"Client invoice updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientInvoiceUpdated","href":"/api-reference/webhooks/client-invoice-updated"},{"title":"Client invoice deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook clientInvoiceDeleted","href":"/api-reference/webhooks/client-invoice-deleted"},{"title":"Purchase order created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook purchaseOrderCreated","href":"/api-reference/webhooks/purchase-order-created"},{"title":"Purchase order updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook purchaseOrderUpdated","href":"/api-reference/webhooks/purchase-order-updated"},{"title":"Purchase order deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook purchaseOrderDeleted","href":"/api-reference/webhooks/purchase-order-deleted"},{"title":"Supplier invoice created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook supplierInvoiceCreated","href":"/api-reference/webhooks/supplier-invoice-created"},{"title":"Supplier invoice updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook supplierInvoiceUpdated","href":"/api-reference/webhooks/supplier-invoice-updated"},{"title":"Supplier invoice deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook supplierInvoiceDeleted","href":"/api-reference/webhooks/supplier-invoice-deleted"},{"title":"Shipment created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook shipmentCreated","href":"/api-reference/webhooks/shipment-created"},{"title":"Shipment updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook shipmentUpdated","href":"/api-reference/webhooks/shipment-updated"},{"title":"Shipment deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook shipmentDeleted","href":"/api-reference/webhooks/shipment-deleted"},{"title":"Contact created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook contactCreated","href":"/api-reference/webhooks/contact-created"},{"title":"Contact updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook contactUpdated","href":"/api-reference/webhooks/contact-updated"},{"title":"Contact deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook contactDeleted","href":"/api-reference/webhooks/contact-deleted"},{"title":"Project item created","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectItemCreated","href":"/api-reference/webhooks/project-item-created"},{"title":"Project item updated","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectItemUpdated","href":"/api-reference/webhooks/project-item-updated"},{"title":"Project item deleted","version":null,"deprecated":null,"openapi":"/swagger.yaml webhook projectItemDeleted","href":"/api-reference/webhooks/project-item-deleted"}]}]}]},"basePath":"","title":"Get or create an API token - Fohlio API","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}