POST https://api.bundeling.com/V2/newsParameters Body Name Description Type Nillable Required author_uuid
The unique identifier of the author string
true
false
title
The title of the newsitem string
false
true
content
The body of the newsitem. string
false
true
category_uuid
The unique identifier of the category string
true
false
event_uuid
To link the item to an event by using the unique identifier. string
false
false
sponsor_uuid
To create a sponsored newsitem please set a customer unique identifier in this field. string
false
false
link
A link to an external website that will be appended to the newsitem. string
false
false
social_sharing
When set to true, users will be able to share this newsitem on social media. boolean
false
false
like_enabled
When set to true, users will be able to like this newsitem. boolean
false
false
comments_enabled
When set to true, users will be able to comment on this newsitem. boolean
false
false
draft
Save the newsitem as draft or published. boolean
false
false
publicationdate
The date on which this newsitem will be available to users. datetime
false
true
external_reference
Reference for linking to external systems. string
false
false
labels
Labels to add to this newsitem. array(string)
false
false
actions
Timed events that can be triggered for this newsitem mixed
false
false
Actions Name Description Resettable pushbroadcast_1_1
News item push notification to all users on publication date true
Example request Raw cURL JavaScript PHP Python Go Choose language
Headers Body {
"author_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"title": "Welcome to Bundeling",
"content": "Bundeling would like to welcome...",
"category_uuid": "8e09c4749b234633a7319148aac8cb81",
"event_uuid": "d669b048d2084892b5a5232b78923227",
"sponsor_uuid": "48b99d307f8746a8b126f76be5d1153e",
"link": "www.ecom.nl",
"social_sharing": true,
"like_enabled": true,
"comments_enabled": true,
"draft": false,
"publicationdate": "2024-04-20T00:00:00+0200",
"external_reference": "123908",
"labels": [
"eeb763c41c054dcc8f6d9362f24ee9b2"
],
"actions": {
"pushbroadcast_1_1": {
"enabled": true
}
}
} Example response {
"uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
"author_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"headerimage": "eyJjbGllbnQiOjEwLCJwYXRoIjoiYnVsbGV0aW5fYm9hcmRfcGljdHVyZXNcLz...",
"title": "Welcome to Bundeling",
"content": "Bundeling would like to welcome...",
"language": "en",
"category": "Technology",
"category_uuid": "8e09c4749b234633a7319148aac8cb81",
"event_uuid": "d669b048d2084892b5a5232b78923227",
"sponsor_uuid": "48b99d307f8746a8b126f76be5d1153e",
"link": "www.ecom.nl",
"social_sharing": true,
"draft": false,
"actions": {
"pushbroadcast_1_1": {
"enabled": true,
"executed": false
}
},
"publicationdate": "2024-04-20T00:00:00+0200",
"external_reference": "123908",
"labels": [
"d7743aaf53224e279853c7d0c1dbfb3a",
"d7743aaf53224e279853c7d0c1dbfb3a"
],
"combined_labels": {
"uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
"labels": [
"d7743aaf53224e279853c7d0c1dbfb3a",
"d7743aaf53224e279853c7d0c1dbfb3a"
]
},
"creationdate": "2024-01-20T00:00:00+0100",
"lastupdate": "2024-01-20T00:00:00+0100"
}