---
title: "GET /v1/projects/{projectId}/devices/{deviceId}/credentials"
method: GET
path: "/v1/projects/{projectId}/devices/{deviceId}/credentials"
tags: ["Credentials"]
---

# GET /v1/projects/{projectId}/devices/{deviceId}/credentials

`GET /v1/projects/{projectId}/devices/{deviceId}/credentials`

## Path parameters

- `projectId` string, required
- `deviceId` string, required

## Response `200`

A successful response.

- GoliothListCredentialResponse
  - `list` GoliothCredential[]
    - `createdAt` string, date-time
    - `id` string
    - `identity` string
    - `preSharedKey` string
    - `type` 'PRE_SHARED_KEY' | 'ASYMMETRIC_KEY_PAIR'

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/golioth/apis/golioth-api.md) · [All operations](https://skmtc.dev/golioth/apis/golioth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/golioth/golioth-api/revisions/47c98ae69a55/schema)
