Skip to content

Document rejected_at on the thread message delivery - #75

Merged
piobeny merged 1 commit into
mainfrom
thread-delivery-rejected-at
Nov 23, 2026
Merged

piobeny merged 1 commit into
mainfrom
thread-delivery-rejected-at

Conversation

@piobeny

@piobeny piobeny commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

The Get a thread API now returns rejected_at in the delivery object of sent (outbound) messages. It is the time a copy was rejected before sending, for example because the recipient is on the suppression list, and null otherwise. The spec did not document it.

Changes

  • inbound.openapi.yml, ThreadMessageDelivery: add rejected_at (date-time, nullable) and list it in required, like delivered_at and bounced_at
  • Add rejected_at: null to the Get a thread response example

How to test

  • Inbound API reference → Get a thread → the delivery object lists rejected_at with its description, and the response example includes it
  • spectral lint specs/inbound.openapi.yml reports no errors

Summary by CodeRabbit

  • Documentation
    • Updated the ThreadMessageDelivery API example and schema to include rejected_at as a nullable date-time field.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The ThreadMessageDelivery schema now requires a nullable rejected_at date-time field. The outbound-message delivery example includes rejected_at with a null value.

Changes: Delivery schema update

Layer / File(s) Summary
Define rejected_at in the delivery schema
specs/inbound.openapi.yml
ThreadMessageDelivery requires rejected_at and defines it as a nullable date-time. The delivery example sets the field to null.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: izikaj, mklocek

Merge Risk: Minimal · up to e0bb5

This documentation-only change adds a nullable rejected_at field to the thread message delivery schema and example. The spec and its example are consistent, and no merge-blocking risk was found. The author should still confirm that the live API returns the key on every sent-message delivery and run the spectral lint.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Document rejected_at on the thread message delivery" matches the changeset. The change adds the rejected_at field to ThreadMessageDelivery in specs/inbound.openapi.yml, marks it required, a…
Description check Passed The description follows the repository template. It has Motivation, Changes, and How to test sections, and it explains why the field is needed: the Get a thread API returns rejected_at for outbound me…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Document rejected_at on the thread message delivery" matches the changeset. The change adds the rejected_at field to ThreadMessageDelivery in specs/inbound.openapi.yml, marks it required, and adds rejected_at: null to the Get a thread response example. The title names the field and the object, so a reviewer can tell the main change from the title alone.

Full details: Description check

Explanation

The description follows the repository template. It has Motivation, Changes, and How to test sections, and it explains why the field is needed: the Get a thread API returns rejected_at for outbound messages and the spec did not document it. The Changes section lists the schema edit and the example edit. The How to test section gives two concrete checks. The Images and GIFs section from the template is missing. It applies to UI changes, and this change is a spec-only edit, so the omission is acceptable.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8c4080e9-f5a9-4dd7-8a9d-30b17d2c89f3
Commits

Reviewing files that changed from the base of the PR and between c4f3994 and e0bb505.

Files selected for processing: 1

  • specs/inbound.openapi.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@piobeny
piobeny merged commit 73e51a3 into main Nov 23, 2026
2 checks passed
@piobeny
piobeny deleted the thread-delivery-rejected-at branch November 23, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants