Skip to content

Document the generic webhook verification and Discord delivery contracts #55

Closed

Description

@LunaStev

Motivation

The webhook service implements generic signatures and Discord embeds, but docs/ and README have no receiver guide describing the actual payload and delivery guarantees.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Document the actual JSON shape and X-Wave headers, including HMAC-SHA256 verification over exact request bytes with a constant-time comparison.
  • Include a minimal receiver example and synthetic payload/signature test vector with no real webhook secret or destination.
  • Explain retries, possible duplicates, event IDs, account/platform event scopes and the current lack of timestamp-based replay protection if applicable.
  • Explain Discord text truncation and image URL behavior without promising that Discord never caches fetched images.

Scope and dependencies

Difficulty: easy.

Documentation only; accurately describe behavior and link #15/#16 for pending lifecycle fixes.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    documentation
    good first issue
    help wanted
    priority low
    on Sep 23, 2026
  2. udaya-ann commented on Sep 23, 2026

    @udaya-ann
    Contributor

    Hi! I'd like to work on this issue. I’ll review the existing webhook implementation and update the documentation to accurately cover the payload, headers, HMAC-SHA256 verification, delivery behavior, and Discord specifics. Thanks!

  3. LunaStev commented on Sep 23, 2026

    @LunaStev
    MemberAuthor

    Assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationgood first issuehelp wantedpriority low

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions