# List issued credentials.


Returns a paginated list of issued credentials for the calling service user's organization (X-Org-Id) and environment (X-Environment).

Endpoint: GET /b2b/v1/issued-credentials
Version: 1.0.0
Security: BearerAuth

## Query parameters:

  - `limit` (integer)
    Maximum number of results to return (1-100, default 20).

  - `offset` (integer)
    Number of results to skip for pagination.

  - `status` (string)
    Filter by credential status: active, suspended, revoked.

  - `credential_definition_id` (string)
    Filter by credential definition ID (UUID).

## Header parameters:

  - `X-Org-Id` (string, required)
    Organization the call is acting on. The authenticated service user must be a member of this organization in DeepAdmin; otherwise the request returns 404.

  - `X-Environment` (string, required)
    Environment the call is scoped to. Resources are isolated per environment.

## Response 200 fields (application/json):

  - `credentials` (array, required)
    Page of issued credentials matching the list filters.

  - `credentials.claims` (object)
    Credential claim values.

  - `credentials.created_at` (string, required)
    When the credential record was created (RFC3339).

  - `credentials.credential_definition` (object, required)
    Credential definition reference.

  - `credentials.credential_definition.has_logo` (boolean, required)
    Whether the credential definition currently has an uploaded logo.

  - `credentials.credential_definition.id` (string, required)
    Credential definition UUID. UUID v4 identifier.
    Example: 550e8400-e29b-41d4-a716-446655440000

  - `credentials.credential_definition.name` (string, required)
    Human-readable credential definition name.

  - `credentials.credential_definition.vct` (string, required)
    Verifiable credential type (e.g. "urn:ietf:params:oauth:vct:PersonId").

  - `credentials.environment` (string, required)
    Swiyu environment: "beta" or "production".

  - `credentials.holder_did` (string)
    DID of the wallet holder, if known.

  - `credentials.id` (string, required)
    Issued credential id. UUID v4 identifier.
    Example: 550e8400-e29b-41d4-a716-446655440000

  - `credentials.offer_id` (string, required)
    ID of the offer that produced this credential. UUID v4 identifier.
    Example: 550e8400-e29b-41d4-a716-446655440000

  - `credentials.reference_id` (string)
    Your reference_id from the originating offer, if any.

  - `credentials.status` (string, required)
    Credential lifecycle status: "active", "suspended", or "revoked".
    Enum: "active", "suspended", "revoked"

  - `credentials.status_updated_at` (string)
    When the status was last changed (RFC3339).

  - `credentials.updated_at` (string, required)
    When the credential record was last updated (RFC3339).

  - `credentials.valid_from` (string, required)
    SD-JWT nbf — when the credential becomes valid (mirror of iat).

  - `credentials.valid_until` (string)
    SD-JWT exp — when the credential stops being valid. Absent when the credential was issued without an exp claim (never expires).

  - `total` (integer, required)
    Total count matching filters (for pagination UI).

## Response 400 fields (application/json):

  - `code` (string, required)
    Machine-readable error code.

  - `message` (string, required)
    Human-readable error description.

  - `details` (object)
    Optional structured data with additional context.

## Response 401 fields (application/json):

  - `code` (string, required)
    Machine-readable error code.

  - `message` (string, required)
    Human-readable error description.

  - `details` (object)
    Optional structured data with additional context.

## Response 403 fields (application/json):

  - `code` (string, required)
    Machine-readable error code.

  - `message` (string, required)
    Human-readable error description.

  - `details` (object)
    Optional structured data with additional context.

## Response 429 fields (application/json):

  - `code` (string, required)
    Machine-readable error code.

  - `message` (string, required)
    Human-readable error description.

  - `details` (object)
    Optional structured data with additional context.

## Response 500 fields (application/json):

  - `code` (string, required)
    Machine-readable error code.

  - `message` (string, required)
    Human-readable error description.

  - `details` (object)
    Optional structured data with additional context.

