API Reference

Interactive API docs located at: https://api.v2.walletchat.fun/docs/index.html
Full API reference is included here, subsections are broken out in the navigate pane. Current API version is: https://api.v2.walletchat.fun
post
https://
/signin
Sign In with signed nonce value, currently JWT token returned should be valid for 24 hours
get
https://
/users/{address}/nonce
If the current wallet doesn't have a valid local JWT, need to request a new nonce to sign
post
https://
/v1/community
CreateCommunityChatitem creates GroupChatitem just with community tag (likely could be consolidated)
get
https://
/v1/community/{community}/{address}
Get Community Chat Landing Page Info
post
https://
/v1/create_bookmark
Join an NFT or Community group chat
post
https://
/v1/create_chatitem
Create/Insert DM Chat Message (1-to-1 messaging)
post
https://
/v1/create_comments
Comments are used within an NFT community chat
post
https://
/v1/create_community
CreateCommunity creates new custom community chat
post
https://
/v1/create_groupchatitem
Create/Insert chat message for Community/NFT/Group Messaging
post
https://
/v1/delete_bookmark
Leave an NFT or Community group chat
delete
https://
/v1/delete_chatitem/{id}
Delete Single Chat Item (DM)
delete
https://
/v1/delete_comments/{fromaddr}/{nftaddr}/{nftid}
Delete Public Comments for given FROM wallet address, NFT Contract and ID
delete
https://
/v1/delete_settings/{address}
Delete Settings Info
delete
https://
/v1/deleteall_chatitems/{fromaddr}/{toaddr}
Delete All Chat Items (DMs) between FROM and TO given addresses
get
https://
/v1/get_bookmarks/{address}/
Check if a wallet address has bookmarked/joined given NFT contract
get
https://
/v1/get_bookmarks/{walletaddr}/{nftaddr}
Check if a wallet address has bookmarked/joined given NFT contract
get
https://
/v1/get_comments/{nftaddr}/{nftid}
Get Public Comments for given NFT Contract and ID
get
https://
/v1/get_comments_cnt/{nftaddr}/{nftid}
Get Public Comments Count for given NFT Contract and ID
get
https://
/v1/get_groupchatitems/{address}/{useraddress}
Get group chat items, given a wallt FROM address and NFT Contract Address
get
https://
/v1/get_groupchatitems_unreadcnt/{address}/{useraddress}
Get Unread Groupchat Items (TODO: cleanup naming convention here)
get
https://
/v1/get_inbox/{address}
Get Inbox Summary With Last Message
get
https://
/v1/get_settings/{address}
Get Settings Info
get
https://
/v1/get_unread_cnt/{address}
Get all unread messages TO a specific user, used for total count notification at top notification bar
get
https://
/v1/get_unread_cnt/{address}/{nftaddr}/{nftid}
Get all unread messages for a specific NFT context
get
https://
/v1/get_unread_cnt/{fromaddr}/{toaddr}
Get all unread messages between two addresses
get
https://
/v1/get_unread_cnt_by_type/{address}/{type}
Get all unread messages TO a specific user, used for total count notification at top notification bar
get
https://
/v1/get_unread_cnt_nft/{address}
Get all unread messages for all NFT related chats for given user
get
https://
/v1/getall_chatitems/{address}
Get Chat Item For Given Wallet Address
get
https://
/v1/getall_chatitems/{fromaddr}/{toaddr}
Get Chat Data Between Two Addresses
get
https://
/v1/getall_chatitems/{fromaddr}/{toaddr}/${time}
Get Chat Data Between Two Addresses
get
https://
/v1/getnft_chatitems/{address}
Get NFT Related Chat Items For Given Wallet Address
get
https://
/v1/getnft_chatitems/{address}/{nftaddr}/{nftid}
Get NFT Related Chat Items For Given NFT Contract and ID, relating to one wallet
get
https://
/v1/getnft_chatitems/{fromaddr}/{toaddr}/{nftaddr}/{nftid}
Get NFT Related Chat Items For Given NFT Contract and ID, between two wallet addresses (TO and FROM are interchangable)
get
https://
/v1/getnft_chatitems/{nftaddr}/{nftid}
Get NFT Related Chat Items For Given NFT Contract and ID
get
https://
/v1/getread_chatitems/{fromaddr}/{toaddr}
Get Recently Read Messages
post
https://
/v1/image
Store Image in DB for later user
put
https://
/v1/image
Store Image in DB for later user (update existing photo)
get
https://
/v1/image/{addr}
Get Thumbnail Image Data
post
https://
/v1/imagepfp
Store Image in Bucket Storage
get
https://
/v1/is_owner/{contract}/{wallet}
Check if given wallet address owns an NFT from given contract address
post
https://
/v1/name
give a common name to a user address, or NFT collection
get
https://
/v1/name/{name}
get the common name which has been mapped to an address
get
https://
/v1/unreadcount/{address}
Get all unread messages TO a specific user, used for total count notification at top notification bar
put
https://
/v1/update_chatitem/{fromaddr}/{toaddr}
Update Message Read Status of a given DM chat message
post
https://
/v1/update_settings
Settings hold a user address and the email address for notifications if they opt-in
get
https://
/v1/verify_email/{email}/{verification_code}
Link a user can click in email to verify email address, will have unique code