post https://api.spredfast.com/v2/conversations/initiative//message
Publish a new Khoros Marketing Message for the target Initiative
Publish a new Spredfast Messages for the target Initiative. Note: For multiple images the cURL should looks like this (notice that content.images is an array and must contain the same number of elements as files being uploaded):
cURL
curl \
--header 'Content-Type: multipart/form-data' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your token}' \
--form 'message={"sfEntityType":"Message","service":"FACEBOOK","content":{"sfEntityType":"ImageShareList","images":[{"sfEntityType":"ImageShare","caption":"image one"},{"sfEntityType":"ImageShare","caption":"image two"},{"sfEntityType":"ImageShare","caption":"image three"}]},"targetAccountIds":["4"]};type=application/json' -F '[email protected] ' \
--form '[email protected] ' \
--form '[email protected] ' \
-X POST 'https://api.spredfast.com/v2/conversations/initiative/{initiativeId}/message?imageset'
discriminator: sfEntityType
sfEntityType string images string or array[object]
videoTitle string description string tags string . This is a required field. You can add multiple tags and delimit it by comma like tag1, tag2.category string sfEntityType string
When YouTube is selected as the service, the value of the category field needs to match one of the keys listed in this table:
Key Description AutosAutos & Vehicles ComedyComedy EducationEducation EntertainmentEntertainment FilmFilm & Animation GamesGaming HowtoHowto & Style MusicMusic NewsNews & Politics NonprofitNonprofits & Activism PeoplePeople & Blogs AnimalsPets & Animals TechScience & Technology SportsSports TravelTravel & Events
text string shareLink object sfEntityType string
url string title string description string caption string thumbnailUrl string