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

## Changes

- **2026-07-17** `33596742b733` — 2 info
  - the endpoint scheme security `tenants` was removed from the API
  - added the new optional `header` request parameter `x-tenant-id`
- **2024-03-27** `a7641432a6c1` — 1 warning, 1 info
  - deleted the `header` request parameter `x-tenant-id`
  - the endpoint scheme security `tenants` was added to the API

[Change history](https://skmtc.dev/openwallet-foundation/apis/credo-rest-api/changes/didcomm/credentials/:credentialExchangeId/accept-request/post.md)

---

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