GET /newsletters/{jid}/updates

Get updates for messages in a newsletter including edits, reaction counts, and other changes.

Path parameters

  • jid string Required

    Newsletter JID

Query parameters

  • count integer

    Maximum number of updates to retrieve

    Default value is 100.

  • since integer

    Get updates since this timestamp

    Default value is 0.

Responses

  • 200 application/json

    Message updates retrieved

    Hide response attributes Show response attributes object
    • status boolean
    • code integer
    • message string
    • data object
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • status boolean
    • code integer
    • message string
    • error string
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
    • status boolean
    • code integer
    • message string
    • error string
GET /newsletters/{jid}/updates
curl \
 --request GET 'http://localhost:7001/newsletters/{jid}/updates' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "status": true,
  "code": 200,
  "message": "Success",
  "data": {}
}
Response examples (401)
{
  "status": false,
  "code": 400,
  "message": "Bad request",
  "error": "Bad request"
}
Response examples (500)
{
  "status": false,
  "code": 400,
  "message": "Bad request",
  "error": "Bad request"
}