List a folder's inbox by its key
curl --request GET \
--url https://nemonist.com/api/v1/inbox \
--header 'Authorization: Bearer <token>' \
--header 'x-nemonist-workspace-key: <x-nemonist-workspace-key>'import requests
url = "https://nemonist.com/api/v1/inbox"
headers = {
"x-nemonist-workspace-key": "<x-nemonist-workspace-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-nemonist-workspace-key': '<x-nemonist-workspace-key>',
Authorization: 'Bearer <token>'
}
};
fetch('https://nemonist.com/api/v1/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"text": "<string>",
"source": "<string>",
"thread": "<string>",
"state": "<string>",
"created": "<string>",
"delivered": "<string>",
"reply": "<string>",
"replied": "<string>",
"relayed": "<string>"
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Memory
List a folder's inbox by its key
The folder’s inbox, named by its .nemonist/key: each message with its state and the reply it got.
GET
/
inbox
List a folder's inbox by its key
curl --request GET \
--url https://nemonist.com/api/v1/inbox \
--header 'Authorization: Bearer <token>' \
--header 'x-nemonist-workspace-key: <x-nemonist-workspace-key>'import requests
url = "https://nemonist.com/api/v1/inbox"
headers = {
"x-nemonist-workspace-key": "<x-nemonist-workspace-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-nemonist-workspace-key': '<x-nemonist-workspace-key>',
Authorization: 'Bearer <token>'
}
};
fetch('https://nemonist.com/api/v1/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"text": "<string>",
"source": "<string>",
"thread": "<string>",
"state": "<string>",
"created": "<string>",
"delivered": "<string>",
"reply": "<string>",
"replied": "<string>",
"relayed": "<string>"
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}