Return the message history for one conversation, newest-first, paginated. Each item's body is base64-obfuscated (not encrypted); Zeens decodes it. The viewer must be a participant.
Parameters
Output
Encoding
application/jsoncursor
string
Optional
No description available.
messages
array
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Return the message history for one conversation, newest-first, paginated. Each item's body is base64-obfuscated (not encrypted); Zeens decodes it. The viewer must be a participant.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"messages": {
"items": {
"properties": {
"body": {
"type": "string"
},
"convoId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"recipient": {
"format": "did",
"type": "string"
},
"sender": {
"format": "did",
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"uri",
"sender",
"convoId",
"body",
"createdAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"convoId": {
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"default": 36,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"viewer": {
"format": "did",
"type": "string"
}
},
"required": [
"viewer",
"convoId"
],
"type": "params"
},
"type": "query"
}