---
title: "POST /didcomm/proofs/{proofExchangeId}/accept-request"
method: POST
path: "/didcomm/proofs/{proofExchangeId}/accept-request"
tags: ["DIDComm Proofs"]
---

# POST /didcomm/proofs/{proofExchangeId}/accept-request

`POST /didcomm/proofs/{proofExchangeId}/accept-request`

Accept a presentation request as prover by sending an accept request message
to the connection associated with the proof record.

## Path parameters

- `proofExchangeId` string, required

## Headers

- `x-tenant-id` string

## Request body

- DidCommProofsAcceptRequestOptions
  - `goalCode` string
  - `autoAcceptProof` 'always' | 'contentApproved' | 'never' — Typing of the state for auto acceptance
  - `comment` string
  - `willConfirm` boolean
  - `useReturnRoute` boolean — whether to enable return routing on the send presentation message. This value only has an effect for connectionless exchanges.
  - `proofFormats` object
    - `anoncreds` AnonCredsSelectedCredentials
      - `attributes` RecordStringAnonCredsRequestedAttributeMatch, required — Construct a type with a set of properties K of type T
      - `predicates` RecordStringAnonCredsRequestedPredicateMatch, required — Construct a type with a set of properties K of type T
      - `selfAttestedAttributes` RecordStringString, required — Construct a type with a set of properties K of type T
    - `indy` AnonCredsSelectedCredentials
      - `attributes` RecordStringAnonCredsRequestedAttributeMatch, required — Construct a type with a set of properties K of type T
      - `predicates` RecordStringAnonCredsRequestedPredicateMatch, required — Construct a type with a set of properties K of type T
      - `selfAttestedAttributes` RecordStringString, required — Construct a type with a set of properties K of type T

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