> ## Documentation Index
> Fetch the complete documentation index at: https://developer.comstruct.com/llms.txt
> Use this file to discover all available pages before exploring further.

# comstruct API Documentation

> Streamline construction materials procurement with the comstruct API

## Welcome to comstruct

The comstruct API lets you integrate your systems with the comstruct platform for construction materials procurement. Manage projects, deliveries, invoices, and master data programmatically.

## Quick start

<Steps>
  <Step title="Create an API key">
    As an administrator, you can create API keys directly in the comstruct application under **Administration → API keys**. Assign the required permission scopes to each key and copy the key immediately after creation.

    Alternatively, contact your Customer Success Manager or email [support@comstruct.com](mailto:support@comstruct.com).
  </Step>

  <Step title="Authenticate">
    Send your API key in the `x-api-key` header:

    ```bash theme={null}
    curl -X GET "https://api.comstruct.com/v1/projects" \
      -H "x-api-key: YOUR_API_KEY"
    ```
  </Step>

  <Step title="Explore the API">
    Use the interactive API reference to try endpoints.
  </Step>
</Steps>

## Documentation

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="api-reference/introduction">
    All endpoints with interactive examples.
  </Card>

  <Card title="Supplier connection" icon="plug" href="guides/supplier-connection">
    Submit delivery notes automatically.
  </Card>

  <Card title="Master data sync" icon="arrows-rotate" href="guides/customer-masterdata-sync">
    Keep ERP data in sync.
  </Card>

  <Card title="Invoice integration" icon="file-invoice" href="guides/invoice-integration-patterns">
    Process invoices automatically.
  </Card>
</CardGroup>

## Support

<Card title="Need help?" icon="headset">
  Contact us at [support@comstruct.com](mailto:support@comstruct.com).
</Card>
