---
title: "Get Credentials"
method: GET
path: "/v2/identities/{identifier}/credentials"
tags: ["Credentials"]
---

# Get Credentials

`GET /v2/identities/{identifier}/credentials`

Returns a list of credentials for the provided identity. Results are paginated.
Filter between all | revoked | expired credentials and also perform a full text search with the query parameter.

## Path parameters

- `identifier` string, required

## Query parameters

- `page` integer
- `credentialSubject` string
- `status` 'all' | 'revoked' | 'expired'
- `query` string
- `max_results` integer
- `sort` string[] — The minus sign (-) before createdAt means descending order.

## Response `200`

List of credentials

- CredentialsPaginated
  - `items` Credential[], required
    - `id` string, required
    - `proofTypes` string[], required
    - `revoked` boolean, required
    - `schemaHash` string, required
    - `vc` object, required
  - `meta` PaginatedMetadata, required
    - `total` integer, required
    - `page` integer, required
    - `max_results` integer, required

## Other responses

- `400` — Bad Request
- `404` — Not found
- `500` — Internal Server error

## Changes

- **2024-12-02** `a71b9e9bd838` — 3 warning, 1 info
  - deleted the `query` request parameter `schemaType`
  - deleted the `query` request parameter `schemaUrl`
  - removed the optional property `items/items/encryptedVC` from the response with the `200` status
  - the response property `items/items/vc` became required for the status `200`

[Change history](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/changes/v2/identities/:identifier/credentials/get.md)

---

[API](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer.md) · [All operations](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/llms.txt) · [OpenAPI document](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/revisions/68efa0ba742d?raw)
