Inbox
Inbox related API endpoints:
Get Each 1-on-1 Conversation, NFT and Community Chat For Display in Inbox
Authorizations
Path parameters
addressstringRequired
Wallet Address
Responses
200
OK
application/json
get
/v1/get_inbox/{address}GET /v1/get_inbox/{address} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
OK
[
{
"chain": "text",
"context_type": "text",
"encrypted_sym_lit_key": "text",
"fromaddr": "text",
"id": 1,
"lit_access_conditions": "text",
"logo": "text",
"message": "text",
"name": "text",
"nftaddr": "text",
"nftid": "text",
"read": true,
"sender_name": "text",
"timestamp": "text",
"timestamp_dtm": "text",
"toaddr": "text",
"type": "text",
"unread": 1
}
]Get all unread messages TO a specific user, used for total count notification at top notification bar
get
Get Each 1-on-1 Conversation, NFT and Community Chat For Display in Inbox
Authorizations
Path parameters
addressstringRequired
Wallet Address
Responses
200
OK
application/json
Responseinteger
get
/v1/get_unread_cnt/{address}GET /v1/get_unread_cnt/{address} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
OK
1Get Unread count for DMs
Authorizations
Path parameters
toaddrstringRequired
TO: Wallet Address
fromstringRequired
FROM: Wallet Address
Responses
200
OK
application/json
Responseinteger
get
/v1/get_unread_cnt/{fromaddr}/{toaddr}GET /v1/get_unread_cnt/{fromaddr}/{toaddr} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
OK
1Last updated