How to create a news item

How to create a news item

Use this guide when you need to publish a new news article for an event.


Request

Bash
curl -X POST "https://your-event-domain.com/api/v2/news/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "title=Expo Opens Next Week" \
  -F "text=We are excited to announce that the expo opens its doors next week." \
  -F "short=The expo opens next week." \
  -F "author=Communications Team" \
  -F "status=APPROVED"

Notes

  • status=APPROVED automatically sets the item to published

  • To save as a draft, use status=ON_APPROVAL

  • public_date defaults to the current time when not specified