---
title: "POST /v1/promotions/publishedPosts/importMedia"
method: POST
path: "/v1/promotions/publishedPosts/importMedia"
tags: ["Promotion"]
---

# POST /v1/promotions/publishedPosts/importMedia

`POST /v1/promotions/publishedPosts/importMedia`

## Headers

- `adhookToken` string
- `Authorization` string

## Response `default`

default response

- PostReadModel[]
  - `externalId` string
  - `type` 'PERSONAL_POST' | 'PAGE_POST' | 'STORY' | 'REELS' | 'SHORTS' | 'LINK_CAROUSEL' | 'DOCUMENT' | 'POLL'
  - `message` string
  - `createdAt` string
  - `publishedAt` string
  - `story` string
  - `picture` string
  - `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'
  - `videoUrl` string
  - `videoTitle` string
  - `accountId` string
  - `page` ThirdPartyPage
    - `pictureUrl` string
    - `name` string
    - `id` string
    - `search` string
    - `userName` string
    - `server` string
  - `tenantId` string
  - `mediaType` string
  - `externalImageId` string
  - `externalVideoId` string
  - `externalImageIds` string[]
  - `poll` Poll
    - `question` string
    - `settings` PollSettings
      - `voteSelectionType` 'SINGLE_VOTE' | 'MULTIPLE_VOTE'
      - `duration` 'FIVE_MINUTES' | 'THIRTY_MINUTES' | 'ONE_HOUR' | 'SIX_HOURS' | 'TWELVE_HOURS' | 'ONE_DAY' | 'THREE_DAYS' | 'SEVEN_DAYS' | 'FOURTEEN_DAYS'
      - `voterVisibleToAuthor` boolean
    - `options` PollOption[]
      - `text` string
      - `voteCount` integer
      - `votedByViewer` boolean
    - `uniqueVotersCount` integer
  - `link` string
  - `linkTitle` string
  - `linkDescription` string
  - `mediaUrls` string[]

---

[API](https://skmtc.net/adhook/apis/adhook-io-api.md) · [All operations](https://skmtc.net/adhook/apis/adhook-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adhook/adhook-io-api/versions/77eb5d6ad7c9/schema)
