Entries
All the data sent by someone to an Inbox is called an Entry. In Threads and Stores, a user must be assigned to the container to send data. In Inboxes, however, anyone who has Inbox ID can send a reply (assuming they have the Bridge URL and Solution ID).
Sample code on this page is based on the same assumptions.
Public Access to an Inbox
PrivMX Endpoint client provides different ways to connect to a Bridge instance.
When using "public" connection (connectPublic(...)
) you don't have to pass a private key. A random private key will be generated for each connection.
The public connection provides only the methods related to sending Inbox entries and retrieving public metadata related to the Inbox.
Connect to the Public Inbox API
Reading Inbox Public View
getInboxPublicView(...)
gets all the data stored inside the Inbox' publicMeta.
Submitting Entries
Adding a Simple Entry (without Files)
Adding an Entry with Files
Fetching Entries
Fetching Entries requires a secure private connection.
Reading Simple Text Entries
Reading Entries Containing Files
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.