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

# Assign Task

`POST /v1/tasks/assign-task`

## Request

- Base URL: `https://api.narrative-sports.com`
- URL: `https://api.narrative-sports.com/v1/tasks/assign-task`
- Auth: HTTP bearer

> **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, nullable
    - `render_video` 'ffmpeg' | 'none', required
    - `retention_seconds` integer
  - `team_names` TeamNames, nullable
    - `home_team_name` string, required
    - `away_team_name` string, required
  - `otio` OtioOutputConfig, nullable
    - `target_url` string, nullable
    - `source_start_offset` integer
    - `metadata` object, nullable
  - `webhook_schema` 'otio' | 'none', nullable
  - `wh_schema_config` OtioOutputConfig, nullable
    - `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

## Changes

- **2026-08-06** `6a222f10647c`: 1 warning, 1 info
  - removed the request property `webhook_url`
  - added the new optional request property `webhook_id`

[Operation history](https://skmtc.dev/narrative-sports/apis/narrative-sports-api/changes/v1/tasks/assign-task/post.md)

---

[API](https://skmtc.dev/narrative-sports/apis/narrative-sports-api.md) - [All operations](https://skmtc.dev/narrative-sports/apis/narrative-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/narrative-sports/apis/narrative-sports-api/revisions/bab6af886f8e?raw)
