---
title: "POST /didcomm/credentials/{credentialExchangeId}/accept-request"
method: POST
path: "/didcomm/credentials/{credentialExchangeId}/accept-request"
tags: ["DIDComm Credentials"]
---

# POST /didcomm/credentials/{credentialExchangeId}/accept-request

`POST /didcomm/credentials/{credentialExchangeId}/accept-request`

Accept a credential request as issuer by sending an accept request message
to the connection associated with the credential exchange record.

## Path parameters

- `credentialExchangeId` string, required

## Headers

- `x-tenant-id` string

## Request body

- AcceptCredentialRequestOptions
  - `credentialFormats` CredentialFormatPayloadCredentialFormatsAcceptRequest — Get the payload for a specific method from a list of CredentialFormat interfaces and a method
    - `indy` AnonCredsAcceptRequestFormat — Construct a type with a set of properties K of type T
    - `anoncreds` AnonCredsAcceptRequestFormat — Construct a type with a set of properties K of type T
  - `autoAcceptCredential` 'always' | 'contentApproved' | 'never' — Typing of the state for auto acceptance
  - `comment` string

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/openwallet-foundation/apis/credo-rest-api.md) · [All operations](https://skmtc.net/openwallet-foundation/apis/credo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwallet-foundation/credo-rest-api/revisions/33596742b733/schema)
