> For the complete documentation index, see [llms.txt](https://guide.transmute.industries/verifiable-data-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.transmute.industries/verifiable-data-platform/technical-documentation/verifiable-credentials-endpoints.md).

# Verifiable Credentials Endpoints

This page introduces working with Verifiable Credentials through the API. The full set of relevant endpoints are listed on the OpenAPI Spec, notably in these sections:

* <https://platform.transmute.industries/openapi#tag--Credentials>
* <https://platform.transmute.industries/openapi#tag--Batches>

## Issuing Verifiable Credentials

Basic, standards-compliant *Verifiable Credentials* can be issued with the `/api/credentials/issue` endpoint:

```bash
curl --location 'https://platform.transmute.industries/api/credentials/issue' \
--header 'accept: application/json' \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'content-type: application/json' \
--data-raw '{
  "credential": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://www.w3.org/2018/credentials/examples/v1"
    ],
    "type": [
      "VerifiableCredential",
      "UniversityDegreeCredential"
    ],
    "issuer": "did:web:vc.transmute.world",
    "issuanceDate": "2020-03-10T04:24:12.164Z",
    "credentialSubject": {
      "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
      "degree": {
        "type": "BachelorDegree",
        "name": "Bachelor of Science and Arts"
      }
    }
  },
  "options": {
    "revocable": true,
    "suspendable": false
  }
}'
```

Note that if you are using the request payload example from the OpenAPI Spec, the `issuer` must be changed to one of your organization’s DIDs – you can only sign with your own private keys.

**Note!**

Remember that the issuer must be a DID, not a DID URL – the `issuer` must not contain a fragment (`#`).

It is important to understand the content of this request payload. Below is a brief introduction to get started, please see the [VC specification](https://www.w3.org/TR/vc-data-model/) for a complete reference.

The response of this call is a Verifiable Credential:

```json
{
    "verifiableCredential": "ey..."
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.transmute.industries/verifiable-data-platform/technical-documentation/verifiable-credentials-endpoints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
