---
title: "Issues a Verifiable Credential"
method: POST
path: "/credentials"
tags: ["oidc"]
---

# Issues a Verifiable Credential

`POST /credentials`

This endpoint creates a verifiable credential that attests that the user
authenticated with the provided access token owns a certain public/private key
pair.

More information can be found at
https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.

## Request body

- CreateVerifiableCredentialRequestBody
  - `format` string
  - `proof` VerifiableCredentialProof
    - `jwt` string
    - `proof_type` string
  - `types` string[]

## Response `200`

verifiableCredentialResponse

- VerifiableCredentialResponse
  - `credential_draft_00` string
  - `format` string

## Other responses

- `400` — verifiableCredentialPrimingResponse
- `default` — errorOAuth2

## Changes

- **2023-08-04** `3259c4371b9f` — 1 info
  - endpoint added
- **2022-10-11** `cec56a3dc789` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ory/apis/ory-hydra/changes/credentials/post.md)

---

[API](https://skmtc.dev/ory/apis/ory-hydra.md) · [All operations](https://skmtc.dev/ory/apis/ory-hydra/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ory/ory-hydra/revisions/a302a90a0e8a/schema)
