DIDComm Credentials

Initiate a new credential exchange as holder by sending a propose credential message to the connection with a specified connection id.

post/didcomm/credentials/propose-credential

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /didcomm/credentials/propose-credential
  • Auth
    none declared

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

protocolVersion'v1' | 'v2' required
autoAcceptCredential'always' | 'contentApproved' | 'never'

Typing of the state for auto acceptance

commentstring
connectionIdstring required

Response

CredentialExchangeRecord

unknown required

Changes

    • info

      the endpoint scheme security tenants was removed from the API

    • info

      added the new optional header request parameter x-tenant-id

    • warning

      deleted the header request parameter x-tenant-id

    • info

      the endpoint scheme security tenants was added to the API