List publisher-writer agreements
Publisher Writer Agreements
List publisher-writer agreements
GET /publisher-writer/agreements
GET
List publisher-writer agreements
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
GET /publisher-writer/agreements Description: Returns agreements for the tenant matching the supplied filters, each withpublisher and writer eagerly loaded (INNER JOIN —
an agreement whose publisher or writer was hard-deleted will not
appear). Not paginated — returns the full matching set as a bare
array.
Authorization:
- Required role:
useror higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Query Parameters
Available options:
draft, pending, active, expired, terminated Compared as the literal string 'true'; any other value is treated as false.
Available options:
true, false Matches agreements with startDate >= this date.
Matches agreements with endDate <= this date.
Response
Agreements retrieved
Available options:
draft, pending, active, expired, terminated Only present when the record was loaded via the model's default scope (all reads; NOT present on the POST /agreements create response).
Only present when the record was loaded via the model's default scope (all reads; NOT present on the POST /agreements create response).