API ReferenceMessaging
Decrypt a message
POST
/v1/messaging/decryptDecrypts a provided message where the tenant manages the keys for the defined recipientDidUrl.
Roles
adminissuermanaged-issuer
Analytics Events
MESSAGING_DECRYPT_STARTMESSAGING_DECRYPT_SUCCESSMESSAGING_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": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWF0dHIuZ2xvYmFsI0V5MkN2V2N5MzQifQ.eyJtZXNzYWdlIjoidGVzdCJ9.dMvOGkfbRrjUJL7XYYAp1UxoHlt8J0N5_vRRLpTEHtQ4s8lwnMd0lhg7HiZVfvEyzk54f6J0CgTV5oHzVscdAA" }'{ "payload": "string", "senderDidUrl": "did:web:organization.com#2vcj3MjR4d", "senderPublicJwk": {}, "recipientDidUrl": "did:key:z6MkgmEkNM32vyFeMXcQA7AfQDznu47qHCZpy2AYH2Dtdu1d"}How would you rate this page?