---
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

> 15 revisions in range; 1 could not be searched.

- **2023-08-14** `ae52c6195c92` — 1 info
  - endpoint added
- **2022-02-16** `82d233540486` — 1 breaking
  - api path removed without deprecation

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

---

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