# List all projects using API key authentication

GET /api/v1/projects/xapi-list-all

Base URL: <https://api.loci-dev.net>

{% hint style="info" %}
Authorize: Provide a valid API key. Requests without a valid API key will return 401 Unauthorized.
{% endhint %}

## Responses

* 200 — Projects retrieved successfully
* 401 — Unauthorized - Invalid or missing API key
* 500 — Server error

## Schema (OPTIONAL)

* success — boolean (OPTIONAL)
* data — object\[] (OPTIONAL)

Each object in `data` may contain:

* \_id — string (OPTIONAL)
* name — string (OPTIONAL)
* description — string (OPTIONAL)
* organizationId — string (OPTIONAL)
* createdAt — date-time (OPTIONAL)
* updatedAt — date-time (OPTIONAL)

{% tabs %}
{% tab title="cURL" %}
{% code title="curl" %}

```bash
curl -L 'https://api.loci-dev.net/api/v1/projects/xapi-list-all' \
  -H 'Accept: application/json'
```

{% endcode %}
{% endtab %}
{% endtabs %}
