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

---

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