# The passport's registration with the EU registry

> `GET /batteries/{batteryId}/passport/registration` · Scope: `read` · operationId `getRegistrySubmissionStatus`

Any member. The EU digital product passport registry has no interface for economic operators yet
(`docs/regulatory-reference.md`), so the registration is `not_available` and nothing is submitted. A
passport is never shown as registered without the registry's confirmation.

## Pfad-Parameter

- **batteryId** `string (uuid)` (erforderlich)

## Antworten

### 200 (`application/json`)

The registration status.

- **attempts** `integer`
- **available** `boolean` (erforderlich): Whether the platform can submit to the registry at all.
- **detail** `string`: Why the registration is not available or failed (English).
- **external_id** `string`
- **last_attempt_at** `string (date-time)`
- **passport_version** `integer`: The version the latest submission concerns.
- **registry** `string` (erforderlich, einer von: `eu_dpp`)
- **state** `string` (erforderlich, einer von: `not_available`, `not_submitted`, `pending`, `submitted`, `confirmed`, `failed`): `not_available`: the registry has no interface yet, nothing is submitted. The other states belong to a registry adapter that does not exist yet: `not_submitted` (available, nothing sent for this passport), `pending` (queued), `submitted` (sent, no answer), `confirmed` (the registry confirmed receipt), `failed`.

### 400 (`application/problem+json`)

The request is malformed or failed validation (`validation_error`), or a token is invalid or expired (`invalid_token`).

### 401 (`application/problem+json`)

The API key is missing, unknown or revoked (`unauthenticated`).

### 403 (`application/problem+json`)

The API key may not perform this action (`forbidden`): it lacks the operation's scope, or the action needs more than a viewer's rights.

### 404 (`application/problem+json`)

The resource does not exist in the organisation of the API key, or the public passport is unknown (`not_found`).

### default (`application/problem+json`)

Any other problem, e.g. `internal_error`.

## Beispiel

```bash title="cURL"
curl -X GET "https://passport.kabin.sh/api/v1/batteries/{batteryId}/passport/registration" \
  -H "Authorization: Bearer $BATTERYPASS_API_KEY"
```
