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

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

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

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

## Path parameters

- `proofExchangeId` string, required

## Headers

- `x-tenant-id` string

## Request body

- DidCommProofsAcceptProposalOptions
  - `goalCode` string
  - `autoAcceptProof` 'always' | 'contentApproved' | 'never' — Typing of the state for auto acceptance
  - `comment` string
  - `willConfirm` boolean
  - `protocolVersion` 'v1' | 'v2', required
  - `proofFormats` object
    - `anoncreds` AcceptAnonCredsProposalOptions
    - `indy` AcceptAnonCredsProposalOptions

## Response `200`

Ok

- DidCommProofExchangeRecord
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time
  - `type` string, required
  - `connectionId` string
  - `threadId` string, required
  - `parentThreadId` string
  - `state` 'proposal-sent' | 'proposal-received' | 'request-sent' | 'request-received' | 'presentation-sent' | 'presentation-received' | 'declined' | 'abandoned' | 'done', required — Present Proof protocol states as defined in RFC 0037
  - `role` 'verifier' | 'prover', required
  - `autoAcceptProof` 'always' | 'contentApproved' | 'never' — Typing of the state for auto acceptance
  - `errorMessage` string
  - `protocolVersion` string, required

---

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