v1

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

Initiate a new credential exchange as issuer by creating a credential offer without specifying a connection id

post/didcomm/credentials/create-offer

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

Response

Ok

Example response

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