Promotion

POST /v1/promotions/publishedPosts/importMedia

Changed on

Request

  • Base URL
    https://app.adhook.io (the document declares no server; this is the origin it was published from)
  • URL
    https://app.adhook.io/v1/promotions/publishedPosts/importMedia
  • Auth
    none declared

Request body */*

externalIdstring
type'PERSONAL_POST' | 'PAGE_POST' | 'STORY' | 'REELS' | 'SHORTS' | 'LINK_CAROUSEL' | 'DOCUMENT' | 'POLL' | 'CAROUSEL' | 'EVENT'
messagestring
createdAtstring
publishedAtstring
storystring
picturestring
channel'FACEBOOK' | 'INSTAGRAM' | 'GOOGLE_ADWORDS' | 'GOOGLE_DISPLAY_NETWORK' | 'GOOGLE_ANALYTICS' | 'YOUTUBE' | 'XING' | 'LINKED_IN' | 'TWITTER' | 'GOOGLE_MY_BUSINESS' | 'TIKTOK' | 'BITLY' | 'THREADS' | 'BLUESKY' | 'WHATSAPP' | 'PINTEREST' | 'CANVA' | 'HUBSPOT' | 'SALESFORCE' | 'BREVO' | 'SISTRIX' | 'NEWS' | 'BEEKEEPER' | 'TEADS' | 'MASTODON' | 'SNAPCHAT' | 'PIXXIO' | 'YEXT' | 'CANTO' | 'WEBSITE' | 'PLAUSIBLE' | 'MATOMO'
videoUrlstring
videoTitlestring
accountIdstring
tenantIdstring
mediaTypestring
externalImageIdstring
externalVideoIdstring
externalDocumentIdstring
documentTitlestring
externalImageIdsstring[]
linkstring
linkTitlestring
linkDescriptionstring
mediaUrlsstring[]
collaborationPostboolean
authorstring
totalLikeCountinteger
totalCommentsCountinteger
repostsCountinteger
savedCountinteger
sharesCountinteger
totalViewsCountinteger

Response

default response

externalIdstring
type'PERSONAL_POST' | 'PAGE_POST' | 'STORY' | 'REELS' | 'SHORTS' | 'LINK_CAROUSEL' | 'DOCUMENT' | 'POLL' | 'CAROUSEL' | 'EVENT'
messagestring
createdAtstring
publishedAtstring
storystring
picturestring
channel'FACEBOOK' | 'INSTAGRAM' | 'GOOGLE_ADWORDS' | 'GOOGLE_DISPLAY_NETWORK' | 'GOOGLE_ANALYTICS' | 'YOUTUBE' | 'XING' | 'LINKED_IN' | 'TWITTER' | 'GOOGLE_MY_BUSINESS' | 'TIKTOK' | 'BITLY' | 'THREADS' | 'BLUESKY' | 'WHATSAPP' | 'PINTEREST' | 'CANVA' | 'HUBSPOT' | 'SALESFORCE' | 'BREVO' | 'SISTRIX' | 'NEWS' | 'BEEKEEPER' | 'TEADS' | 'MASTODON' | 'SNAPCHAT' | 'PIXXIO' | 'YEXT' | 'CANTO' | 'WEBSITE' | 'PLAUSIBLE' | 'MATOMO'
videoUrlstring
videoTitlestring
accountIdstring
tenantIdstring
mediaTypestring
externalImageIdstring
externalVideoIdstring
externalDocumentIdstring
documentTitlestring
externalImageIdsstring[]
linkstring
linkTitlestring
linkDescriptionstring
mediaUrlsstring[]
collaborationPostboolean
authorstring
totalLikeCountinteger
totalCommentsCountinteger
repostsCountinteger
savedCountinteger
sharesCountinteger
totalViewsCountinteger

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new EVENT enum value to the / response property for the response status

    • info

      added the new EVENT enum value to the request property /