---
title: "⚠️ Beta: Schedules publishing for an asset to a list of destinations based on template_id"
method: POST
path: "/v1/publications/jobs/"
---

# ⚠️ Beta: Schedules publishing for an asset to a list of destinations based on template_id

`POST /v1/publications/jobs/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/publications/jobs/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/publications/jobs/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_publish

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- CreatePublicationJobSchema
  - `allow_transfer` boolean
  - `asset_id` string, uuid, required
  - `metadata_overrides` object
  - `publish_at_time` string, date-time, nullable: Schedule publishing at this date/time instead of immediately. Naive values are interpreted as UTC.
  - `request_analytics` RequestAnalytics
    - `source` 'ICONIK_AUTOMATION' | 'ICONIK_UI_PUBLISH' | 'ICONIK_UI_SCHEDULED_PUBLISH' | 'ICONIK_UI_SAVE_DRAFT' | 'ICONIK_API_PUBLISH' | 'ICONIK_API_SCHEDULED_PUBLISH' | 'ICONIK_API_SAVE_DRAFT': What triggered the request, forwarded to Wildmoka for analytics. The UI sends 'ICONIK_UI_PUBLISH', 'ICONIK_UI_SCHEDULED_PUBLISH' or 'ICONIK_UI_SAVE_DRAFT'; automation publishes use 'ICONIK_AUTOMATION'. When omitted, the API defaults to 'ICONIK_API_PUBLISH', 'ICONIK_API_SCHEDULED_PUBLISH' or 'ICONIK_API_SAVE_DRAFT'.
  - `save_clip_as_draft` boolean: Whether to immediately create a draft clip for this asset without waiting for ingestion. The clip is created right away and appears in clip management like any other clip, while the media is ingested in the background. This lets the asset be opened/edited before the media is available. This is mutually exclusive with publishing the clip when done.
  - `storage_id` string, uuid, nullable
  - `template` CreatePublicationTemplate
    - `apply` union
      - boolean
      - object
    - `data` object
    - `id` string, required
  - `thumbnail` CreatePublicationJobThumbnailKeyframe
    - `asset_id` string, required
    - `keyframe_id` string, required
    - `type` 'KEYFRAME', required
  - `title` string
  - `video_source` VideoSource
    - `file_id` string: The iconik file ID to use as the video source for the import.
    - `mode` 'as-is': The mode to use for the import. Only "as-is" is supported for now, which means the file will be used as-is without any transcoding or processing.

## Response `202`

Schedules publishing.

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Forbidden
- `404`: Requested page does not exist
- `422`: Publishing is not configured
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
