Decrypt a message
Roles
Analytics Events
/v1/messaging/decryptDecrypts 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 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?
Encrypt a message POST
Encrypts the provided payload using into a JWM (JSON Web Message) format. ### **Analytic events** * MESSAGING_ENCRYPT_START * MESSAGING_ENCRYPT_SUCCESS * MESSAGING_ENCRYPT_FAIL
Send a message POST
Sends an encrypted JWM (JSON Web Messaging) format message to a service endpoint defined in a public DID document. ### **Analytic events** * MESSAGING_SEND_START * MESSAGING_SEND_SUCCESS * MESSAGING_SEND_FAIL