light-mode-image
Learn
API ReferenceMessaging

Decrypt a message

Roles

adminissuermanaged-issuer

Analytics Events

MESSAGING_DECRYPT_STARTMESSAGING_DECRYPT_SUCCESSMESSAGING_DECRYPT_FAIL
POST/v1/messaging/decrypt

Decrypts a provided message where the tenant manages the keys for the defined recipientDidUrl.

Analytic events

  • MESSAGING_DECRYPT_START
  • MESSAGING_DECRYPT_SUCCESS
  • MESSAGING_DECRYPT_FAIL

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Decryption parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/messaging/decrypt" \  -H "Content-Type: application/json" \  -d '{    "jwe": "string"  }'
{  "payload": "string",  "senderDidUrl": "string",  "senderPublicJwk": {},  "recipientDidUrl": "string"}

How would you rate this page?