u/Chemical-Giraffe4884

▲ 0 r/Devvit

[Domain approval request] api.anthropic.com for arkhan-modmail (Mod Tools Hackathon)

Hi Devvit team,

I'm submitting an app for the **Reddit Mod Tools Hackathon 2026** (deadline May 27) and need outbound HTTP approval for the Anthropic API so the LLM call can actually run during the demo.

App details:

- App slug: `arkhan-modmail`

- Developer account: u/Chemical-Giraffe4884

- Domain requested: `api.anthropic.com`

- Endpoint used: `POST https://api.anthropic.com/v1/messages`

What the app does:

ModMail Copilot reads modmail conversations and posts a **private, mods-only** note containing a classification, severity flag, abuse warning ("Mod Shield"), and a drafted reply for the mod to copy/edit/send. The human is ALWAYS in the loop — `reddit.modMail.reply()` is only ever called with `isInternal: true`. The app never replies to users automatically.

Why this domain:

The drafting + classification step calls Anthropic's Claude Haiku 4.5 (`claude-haiku-4-5-20251001`). It's the only outbound HTTP request the app makes. Per-call cost is ~$0.0026 and the app enforces a per-subreddit daily USD budget cap, hourly rate limit (50 calls/hr), and idempotency guard against retries.

**Permissions block already declared in `devvit.json`:**

```json

"permissions": {

"http": { "enable": true, "domains": ["api.anthropic.com"] }

}

The fetch currently returns PERMISSION DENIED (gRPC7) as expected until approval lands.
Given the hackathon deadline (may 27) , any guidance on expected turnaround would be hugely appreciated.
Happy to provide more detail on the safety rails or send a test recording .
Thanks

reddit.com
u/Chemical-Giraffe4884 — 16 days ago