Skip to main content
Publishes an event agenda, marking it as complete and ready. Once published, the agenda’s isPublished field is set to true. Any subsequent modifications to the agenda will automatically set isPublished back to false.
orgId
string
required
The organization ID that owns the event
eventId
string
required
The event ID for which to publish the agenda

Request

The endpoint requires authentication via Bearer token and the user must have event management permissions for the organization.

Response

success
boolean
Indicates whether the request was successful
message
string
Human-readable message describing the result
data
object
Contains the updated agenda object

Error Responses

404
object
Agenda not found
400
object
Cannot publish empty agenda

Example

curl -X POST \
  https://api.meridian.study/org-event-management/507f1f77bcf86cd799439011/events/507f191e810c19729de860ea/agenda/publish \
  -H 'Authorization: Bearer YOUR_TOKEN_HERE'
{
  "success": true,
  "message": "Agenda published successfully",
  "data": {
    "agenda": {
      "_id": "507f191e810c19729de860ea",
      "eventId": "507f191e810c19729de860ea",
      "orgId": "507f1f77bcf86cd799439011",
      "items": [...],
      "isPublished": true,
      "createdAt": "2024-01-15T10:00:00.000Z",
      "updatedAt": "2024-01-15T10:00:00.000Z"
    }
  }
}

Notes

  • The agenda must have at least one item before it can be published
  • Publishing an agenda sets isPublished: true and marks it as ready for public viewing
  • Any modifications to agenda items (create, update, delete) will automatically reset isPublished to false
  • This endpoint is used in the Event Dashboard’s Agenda Builder to explicitly mark the agenda as complete