{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Authorization"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"authorization","__idx":0},"children":["Authorization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Partners will be provided with an API key during onboarding, which can be exchanged for a token. Tokens are valid for 1 hour. See the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PartnerAuthIngressService"]}," (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/grpc/partnerauthingressservice#exchangeapikey"},"children":["gRPC"]},") documentation for endpoints to exchange and refresh tokens."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All endpoints require the authorization bearer token; endpoints scoped to a company or an employee also take identity headers:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Header"},"children":["Header"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer <partner_jwt>"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Identity-Uuid"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_uuid"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["employee_uuid"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-Identity-Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EMPLOYEE"]}]}]}]}]}]}]},"headings":[{"value":"Authorization","id":"authorization","depth":1}],"frontmatter":{"title":"Authorization","seo":{"title":"Authorization"}},"lastModified":"2026-09-14T19:48:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/integration-guide/authorization","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}