--- title: "Authentication" slug: "datenaustausch-connect-api-konzept-auth" updated: 2026-12-02T13:10:11Z published: 2026-12-02T13:10:11Z canonical: "docs.homag.cloud/datenaustausch-connect-api-konzept-auth" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.homag.cloud/llms.txt > Use this file to discover all available pages before exploring further. # Authentication **For:** Customers · Partners · Integrators HOMAG Connect productionManager and HOMAG Connect orderManager use HTTP Basic Authentication. Two models are available, depending on whether you are connecting your own systems or offering an integration to many customers. ## Customer API The **Customer API** model authenticates a Subscription. The username is the subscription ID and the password is an authorization key. A subscription administrator creates the authorization key in my.tapio within the **HOMAG Connect productionManager** or **HOMAG Connect orderManager** add-on. The add-on is associated with the productionManager or orderManager app license: 1. Sign in to [my.tapio.one](https://my.tapio.one) and copy the subscription ID from the browser address bar. 2. Under **Apps**, open the productionManager app, for example **HOMAG productionManager Advanced**, or the orderManager app. 3. Under **Add-ons**, open the details for **HOMAG Connect productionManager** or **HOMAG Connect orderManager**. 4. Click **Create authorization key**. 5. Give the key a descriptive name so you can recognize it later, for example when you need to revoke it, and create the key. 6. Copy the generated authorization key. Use this model when: - Connecting your own company's systems. - Setting up an integration for exactly one customer. **productionManager** ```http GET /api/productionManager/orders?orderStatus=ReadyForProduction&take=100 Authorization: Basic ``` **orderManager** ```http GET /api/orderManager/orders?orderStatus=New&take=100&skip=0 Authorization: Basic ``` With the .NET client, pass both values to the constructor: **productionManager** ```csharp var productionManager = new ProductionManagerClient(subscriptionId, authorizationKey); ``` **orderManager** ```csharp var orderManager = new OrderManagerClient(subscriptionId, authorizationKey); var priceClient = new PriceClient(subscriptionId, authorizationKey); var configurationDataManagement = new ConfigurationDataManagementClient(subscriptionId, authorizationKey); ``` > **orderManager note:** The same credentials apply to all orderManager clients (`OrderManagerClient`, `PriceClient`, `ConfigurationDataManagementClient`). ## Partner API The **Partner API** model is intended for software providers and integration partners that offer an integration to many customers. For productionManager, these may include CAD/CAM or ERP providers; for orderManager, ERP system, configurator, or online shop providers. HOMAG provides the partner with a partner ID. Each customer licenses the partner's add-on and creates an authorization key for it. The integration then authenticates with the partner ID and the respective customer's key. During authentication, HOMAG Connect checks whether the customer has licensed the add-on for this partner. **productionManager** ```csharp var productionManager = new ProductionManagerClient(partnerId, authorizationKeyOfCustomer); ``` **orderManager** ```csharp var orderManager = new OrderManagerClient(partnerId, authorizationKeyOfCustomer); ``` ## Subscription model Access requires a productionManager or orderManager app license with the **HOMAG Connect productionManager** or **HOMAG Connect orderManager** add-on in the subscription. Calls without the add-on or with invalid credentials return `401 Unauthorized`. You can add the add-ons to an existing license or license them with the app in the [tapio Shop](https://my.tapio.one/). See [Licensing and requirements](/docs/de/datenaustausch-connect-api-lizenzierung) for more information. > **orderManager note:** Configuration Data Management also requires the OrderManager permission for the authorization key. ## Access rights Credentials identify a subscription, not an individual user, and grant access to all licensed APIs for that subscription. They are intended exclusively for machine-to-machine integrations. Revoke an authorization key as soon as it is no longer needed or may have been exposed, and create a new one. > **Best practice:** Store credentials for each customer in a secure server-side configuration. Never embed them in browser applications, online shops, mobile apps, client-side scripts, or public repositories. ## Troubleshooting | Status | Check | | --- | --- | | `401 Unauthorized` | Confirm that the subscription ID and authorization key are correct, the key has not been revoked, and the **HOMAG Connect productionManager** or **HOMAG Connect orderManager** add-on is active. | | `404 Not Found` | Confirm that the requested object exists in this subscription. This is not an authentication issue. | > **API reference:** For productionManager, check whether your credentials work and which features are available for the subscription using [Retrieve productionManager capabilities](https://docs.homag.cloud/apidocs/getproductionmanagercapabilities) ([`GET /api/productionManager`](https://connect.homag.cloud/productionmanager/#v1/tag/b00-discovering-productionmanager-capabilities/GET/api/productionManager)). For orderManager, check your credentials using [Retrieve orders](https://docs.homag.cloud/apidocs/get-orders) ([`GET /api/orderManager/orders`](https://connect.homag.cloud/ordermanager/#v1/tag/homag-connect-ordermanager-orders/GET/api/orderManager/orders)) and `take=1`. A subscription is a self-contained organizational unit within the tapio platform. It provides the context in which applications, data, users, and access rights are managed. - **Subscription:** technical and organizational unit. - **User account:** personal access of an individual user. - **Plan / license:** commercially purchased service or usage entitlement.