Skip to content

ProposeProof

POST
/proofs/propose-proof

Initiate a new presentation exchange as prover by sending a presentation proposal request to the connection with the specified connection id.

Authorizations

Request Body required

object
connectionId
required
string
proofFormats
required
object
action
required
string
Allowed values: createProposal
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
goalCode
string
parentThreadId
string
autoAcceptProof

Typing of the state for auto acceptance

string
Allowed values: always contentApproved never
comment
string

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