List a folder's inbox
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/inbox \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/inbox"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messages": [
{
"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>"
}
}Folders
List a folder's inbox
Messages sent to the folder from outside its chats, newest first, with their state and the reply each got.
GET
/
folders
/
{id}
/
inbox
List a folder's inbox
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/inbox \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/inbox"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"messages": [
{
"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>"
}
}