Skip to content

proof-AcceptProposal

POST
/proofs/{proofRecordId}/accept-proposal

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

Authorizations

Parameters

Path Parameters

proofRecordId
required
string
821f9b26-ad04-4f56-89b6-e2ef9c72b36e

Request Body required

object
proofRecordId
required
string
proofFormats
required
object
action
required
string
Allowed values: acceptProposal
formats
required
Array<object>
object
formatKey
required
string
proofFormats
required
object
selectCredentialsForRequest
required
object
output
required
input
required
getCredentialsForRequest
required
object
output
required
input
required
acceptRequest
required
createRequest
required
acceptProposal
required
createProposal
required
formatData
required
object
presentation
required
request
required
proposal
required
comment
string
autoAcceptProof

Typing of the state for auto acceptance

string
Allowed values: always contentApproved never
goalCode
string
willConfirm
boolean

Responses

200

ProofRecord

Construct a type with a set of properties K of type T

object
Examples
{
"metadata": {},
"id": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e",
"createdAt": "2022-01-01T00:00:00.000Z",
"connectionId": "2aecf74c-3073-4f98-9acb-92415d096834",
"threadId": "0019d466-5eea-4269-8c40-031b4896c5b7",
"protocolVersion": "v1"
}