---
title: Elenco Strutture
description: "``` GET /api/structures ``` Recupera la lista delle strutture associate all’azienda collegata al token. ## Autenticazione - **Tipo**: Bearer Token - **Header richiesto**: `Authorization: Bearer {api_token}` ## Request ### Headers | Chiave | Valore | | --- | --- |…"
url: "https://novicrea.com/docs/elenco-strutture/"
updated: "2025-07-07"
category: API
---

# Elenco Strutture

```
GET /api/structures
```

Recupera la lista delle strutture associate all’azienda collegata al token.

## Autenticazione

- **Tipo**: Bearer Token
- **Header richiesto**: `Authorization: Bearer {api_token}`

## Request

### Headers

| Chiave | Valore |
| --- | --- |
| Authorization | Bearer {api_token} |

### Query Parameters

Nessuno.

### Esempio di richiesta

```
GET /api/structuresAuthorization: Bearer {api_token}
```

## Response

```
{  "success": true,  "data": [    {      "id": 5,      "company_id": "23",      "name": "Laboratorio principale",      "type": "produzione",      "unity": "mq",      "value": "150",      "days": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],      "months": ["January", "February", "March", "April"],      "created_at": "2025-06-01T12:00:00Z",      "updated_at": "2025-06-15T09:00:00Z"    }  ]}
```

## Dettaglio campi struttura

| Campo | Tipo | Descrizione |
| --- | --- | --- |
| id | integer | ID univoco della struttura |
| company_id | text | ID dell’azienda proprietaria della struttura |
| name | text | Nome della struttura |
| type | text | Tipo di struttura (es. “produzione”, “vendita”, ecc.) |
| unity | text | Unità di misura per l’estensione (es. mq, posti, ecc.) |
| value | text | Valore numerico dell’estensione |
| days | array | Giorni di apertura (derivato da campo serializzato in tabella) |
| months | array | Mesi di apertura (derivato da campo serializzato in tabella) |
| created_at | timestamp | Data creazione |
| updated_at | timestamp | Data ultima modifica |
