---
title: "Assign Task"
method: POST
path: "/v1/tasks/assign-task"
tags: ["Tasks"]
deprecated: true
---

# Assign Task

`POST /v1/tasks/assign-task`

> **Deprecated.**

## Request body

- AssignTaskRequest
  - `narrative_task_id` string, required
  - `srt_zero_relative_smpte_timecode` string
  - `framerate` string, nullable
  - `webhook_id` string, nullable
  - `render_videos` RenderVideoOptions
    - `render_video` 'ffmpeg' | 'none', required
    - `retention_seconds` integer
  - `team_names` TeamNames
    - `home_team_name` string, required
    - `away_team_name` string, required
  - `otio` OtioOutputConfig
    - `target_url` string, nullable
    - `source_start_offset` integer
    - `metadata` object, nullable
  - `webhook_schema` 'otio' | 'none', nullable
  - `wh_schema_config` OtioOutputConfig
    - `target_url` string, nullable
    - `source_start_offset` integer
    - `metadata` object, nullable

## Response `200`

Success

- AssignTaskResponse
  - `success` 'success' | 'failure', required
  - `status` string, required
  - `task_id` string, nullable
  - `srt_url` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/narrative-sports/apis/narrative-sports-api.md) · [All operations](https://skmtc.net/narrative-sports/apis/narrative-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/narrative-sports/narrative-sports-api/revisions/86b5690d9e38/schema)
