DIDComm Credentials

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

post/didcomm/credentials/offer-credential

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

Ok

{"stackTrail":"paths:/didcomm/credentials/offer-credential:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 3 revisions of this API.13

    • the endpoint scheme security tenants was removed from the API

      api-security-removed

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

      new-optional-request-parameter

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • a7641432a6c111See the full diff
    • deleted the header request parameter x-tenant-id

      request-parameter-removed

    • the endpoint scheme security tenants was added to the API

      api-security-added

    This revision also has 145 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog