Skip to main content
POST
Post a message to an agreement's discussion thread (H-07)
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /publisher/sub-publishing//messages Authorization: admin role + publisher addon.

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
body
string
required
Maximum string length: 4000
topic
enum<string> | null

A reply (parentMessageId set) inherits its parent's topic when omitted; an explicit mismatch is rejected.

Available options:
terms,
recoupment,
general
parentMessageId
string<uuid> | null
attachmentUrls
string[]

Response

Message created.

status
string
data
object

Backed by the polymorphic DisputeMessage model (subjectType="sub_publishing_agreement").