Skip to main content
GET
List an agreement's discussion messages (H-07)
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /publisher/sub-publishing//messages Backed by the polymorphic DisputeMessage model (subjectType: sub_publishing_agreement). Optional topic filter separates the Terms/Recoupment/General threads. Authorization: user role + publisher addon (reads mirror the agreement reads; writes are admin-only — agreement “participants” have no user mapping yet).

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Query Parameters

topic
enum<string>
Available options:
terms,
recoupment,
general

Response

Messages fetched, ordered createdAt ASC.

status
string
data
object[]