This endpoint only accepts multipart/form-data
input and consequenlty will not work with this API Explorer. Instead, you may use the example provided as a starting point for the main body of data, and then execute via cURL similar to:
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' \
--form '[email protected] ' \
--form '[email protected] ' \
--form '[email protected] ' \
-X PUT'https://api.spredfast.com/v2/conversations/initiative/{initiativeId}/message/{messageId}?multipart'
discriminator: sfEntityType
Field Type caption string temporaryImageUrl string temporaryThumbnailUrl string
sfEntityType string images string or array[object]
caption string temporaryImageUrl string temporaryThumbnailUrl string
videoTitle string description string tags string 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 Autos
Autos & Vehicles Comedy
Comedy Education
Education Entertainment
Entertainment Film
Film & Animation Games
Gaming Howto
Howto & Style Music
Music News
News & Politics Nonprofit
Nonprofits & Activism People
People & Blogs Animals
Pets & Animals Tech
Science & Technology Sports
Sports Travel
Travel & Events
text string shareLink object sfEntityType string
url string title string description string caption string thumbnailUrl string