# Inbox Relay Readme

We’ve built a prototype “inbox” relay with limited read access. If you’re a client developer experimenting with giftwrapped events/private chats/DMs and want to test out please let me know and I can whitelist pubkeys for you.

Current relay design (seeking feedback):

* if kind is 4,1059,9735, 23914, 65000, 65001 and pubkey is an active inbox user, we accept the event - if kind is 1984 and pubkey is active inbox user, we automatically delete the reported event IF the pubkey reporting it is p-tagged in the reported event
* Auto accept 23195, 24133, 27235
* Auto accept kind 5 from authors
* Anyone can write without auth as long as the p-tagged or d-tagged (kind 33194) user has an active inbox
* All REQs require AUTH. Once AUTH is successful, user can only query events they authored or are p-tagged in. You CAN query for another author + your pubkey p-tag


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nostr.wine/inbox/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
