Skip to content

Commit 923d095

Browse files
elinacadourigitbook-bot
authored andcommitted
GITBOOK-472: No subject
1 parent 3c6d68c commit 923d095

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

truvera-api/messaging/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,31 @@ async function sendYesNoMessage() {
7676
sendYesNoMessage();
7777
```
7878

79+
#### Response payload from the wallet
80+
81+
```
82+
{
83+
"messageId": "f07b97220782dd2c66df0180f09ad4cdd8d8671b2a86218129e4c721c03dfa5e",
84+
"to": "did:cheqd:testnet:senderDID",
85+
"messageType": "https://schema.truvera.io/yes-no-response-V1.json",
86+
"sender": null,
87+
"receivedAt": "2025-09-04T12:25:29.331Z",
88+
"content": {
89+
"id": "3d287880-898a-11f0-8698-4d8b1173feb3",
90+
"type": "https://schema.truvera.io/yes-no-response-V1.json",
91+
"created_time": 1756988727,
92+
"from": "did:key:holderDID",
93+
"body": {
94+
"messageId": "internal-message-1234",
95+
"response": "no"
96+
},
97+
"to": [
98+
"did:cheqd:testnet:senderDID"
99+
]
100+
}
101+
}
102+
```
103+
79104
#### **Response notification and retrieval**
80105

81106
Configure a webhook via the [API](../webhooks/) or the Truvera [Workspace](../../workspace/creating-api-keys-and-webhook-endpoints.md#h_fae99467a4) to listen to didcomm\_message\_received event. 

0 commit comments

Comments
 (0)