Skip to content

Add endpoint support for individual read receipts #534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2024

Conversation

brettp
Copy link
Contributor

@brettp brettp commented May 11, 2024

Added POST /v1/receipt/{number} endpoint to support read receipts for individual messages, as opposed to all received as currently exists with /receive. Complements functionality raised in #431 and #524.

Accepts a payload like:

{
  "receipt_type": "read",
  "recipient": "+12345678900",
  "timestamp": 1715386986897
}

@bbernhard
Copy link
Owner

Many thanks!

@bbernhard bbernhard merged commit e894cfe into bbernhard:master May 11, 2024
2 checks passed
@brettp brettp deleted the read-receipt-endpoint branch May 11, 2024 22:23
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.

2 participants