---
title: "Issue Batch Credentials"
method: POST
path: "/api/{serviceId}/vci/batch/issue"
tags: ["Verifiable Credential Issuer"]
---

# Issue Batch Credentials

`POST /api/{serviceId}/vci/batch/issue`

Issue multiple verifiable credentials in batch

## Path parameters

- `serviceId` string, required

## Request body

- VciBatchIssueRequest
  - `accessToken` string — The access token that came along with the credential request.
  - `orders` CredentialIssuanceOrder[] — The instructions for issuance of credentials and/or transaction IDs.
    - `requestIdentifier` string — The identifier of a credential request.
    - `credentialPayload` string — The additional payload that will be added into a credential to be issued.
    - `issuanceDeferred` boolean — The flag indicating whether to defer credential issuance.
    - `credentialDuration` integer — The duration of a credential to be issued.
    - `signingKeyId` string — The key ID of a private key that should be used for signing a credential to be issued.

## Response `200`

Batch credential issuance completed successfully

- VciBatchIssueResponse
  - `resultCode` string — The code which represents the result of the API call.
  - `resultMessage` string — A short message which explains the result of the API call.
  - `action` 'OK' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'INTERNAL_SERVER_ERROR' | 'CALLER_ERROR' — The next action that the implementation of the batch credential endpoint should take.
  - `responseContent` string — The content of the response that the implementation of the batch credential endpoint should return.

## Other responses

- `400`
- `401`
- `403`
- `429` — The request exceeded the request rate permitted for the endpoint.
- `500`

---

[API](https://skmtc.net/authlete/apis/authlete-api.md) · [All operations](https://skmtc.net/authlete/apis/authlete-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/authlete/authlete-api/versions/7ad74ab64749/schema)
