Poko API
Videos

Cancel video

POST
/api/workspaces/{workspaceId}/videos/{videoId}/cancel

Stop a queued or running video.

Authorization

apiKey
headerAuthorizationBearer <token>

A Poko API key (poko_live_…) from Poko Motion → Settings → API.

Path Parameters

workspaceId*string

Workspace id. GET /api/me returns the key's default workspace (workspaceId); GET /api/workspace/mine lists all of them.

videoId*string

Video id: requestId from create_video, continue_video or list_videos.

Response Body

Success

application/json
  1. response
success?boolean
data?
Example Request
curl -X POST 'https://api.poko.video/api/workspaces/string/videos/string/cancel'
Example Response
{  "success": true,  "data": {    "projectId": "Pj4kT9wQzN",    "chatId": "chat-mh3k2x9a-4f7qz",    "queued": false,    "requestId": "3f9c2a71-5b8e-4d2a-9c41-7e6b0d5a8f12",    "status": "cancelled",    "keyId": "kQ7vX2mLp9Za",    "workspaceId": "Wk7pQ2xR",    "deliveryAttempts": 1,    "nextAttemptAt": null,    "cancellationPending": true,    "createdAt": "2026-11-05T08:56:50.208Z",    "updatedAt": "2026-11-05T09:01:02.640Z"  }}