GenesisForums
Documentation navigation

Test locally

Exercise every integration flow against the local Forum as a real third-party backend.

Set up an integration

Run the Forum locally at http://localhost:3007. In the Genesis Admin dashboard, open Forum integrations, create an integration such as local-partner, enable the capabilities you want to test, and copy the API key when it is displayed.

Store it in your terminal session:

export FORUM_API_KEY='gfi_the_key_from_admin'

Use fake local users and content only.

Test comment ingestion

curl -i -X POST http://localhost:3007/api/integrations/posts \
  -H "Authorization: Bearer $FORUM_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: local-comment-001" \
  -d '{
    "uuid":"local-user-001",
    "username":"local_reader",
    "novel":"Local Test Novel",
    "chapterNumber":5,
    "timestamp":"2026-07-28T10:30:00+09:00",
    "content":"Local imported comment test."
  }'

Repeat the exact request to verify created: false. Then test an omitted timestamp, missing novel without creation capability, disabled capability, invalid key, oversized or invalid fields, and rate limiting.