v1

latestOpenAPI 3.0.0Apache-2.02026-07-1767300384.3 KB
DIDComm Proofs

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

post/didcomm/proofs/propose-proof

Headers

x-tenant-idstring

Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'

Request body

connectionIdstring required
goalCodestring
parentThreadIdstring
autoAcceptProof'always' | 'contentApproved' | 'never'

Typing of the state for auto acceptance

commentstring
protocolVersion'v1' | 'v2' required

Response

Ok

idstring required
createdAtstring date-time required
updatedAtstring date-time
typestring required
connectionIdstring
threadIdstring required
parentThreadIdstring
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

errorMessagestring
protocolVersionstring required

Example response

{
  "id": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e",
  "connectionId": "821f9b26-ad04-4f56-89b6-e2ef9c72b36e",
  "threadId": "ea4e5e69-fc04-465a-90d2-9f8ff78aa71d",
  "parentThreadId": "ea4e5e69-fc04-465a-90d2-9f8ff78aa71d"
}