operation get api v1 assignments media.md
Get media coverage records for a policy
GET /api/v1/assignments/media
Retrieves all media coverage records associated with a policy.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Query parameters
- policy_id (string)
The ID of the policy to get media coverage records for.
Responses
200
Returns a list of media coverage records if successful.
Body: application/json (array[object])
coverage_end_date (integer(int64))
The date and time when the coverage period ends, measured in seconds since the Unix epoch.created (integer(int64))
Time at which the media coverage record was created.first_publication_date (integer(int64))
The date and time when the first content was published, measured in seconds since the Unix epoch.id (string)
Unique identifier for the media coverage record.is_active (boolean)
Whether the media coverage period is currently active.published_content_json (array[object])
Array of published content items. Each item contains publication_date and platform-specific content data.quote_id (string)
The ID of the quote associated with this media coverage.
400
Returns an error if the policy_id parameter is missing or invalid.
404
Returns an error if the specified policy is not found.
500
Returns an error if there was an internal server error.