Skip to main content
POST
/
api
/
v1
/
youtube
/
uploads
Create an upload job
curl --request POST \
  --url https://quizquail.com/api/v1/youtube/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quizId": "<string>",
  "renderJobId": "<string>",
  "channelId": "<string>",
  "metadata": {
    "title": "<string>",
    "description": "",
    "tags": [],
    "categoryId": "27",
    "visibility": "unlisted",
    "madeForKids": false,
    "scheduledFor": "2023-11-07T05:31:56Z"
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "<string>",
    "progress": 123,
    "title": "<string>",
    "description": "<string>",
    "tags": [
      "<string>"
    ],
    "category_id": "<string>",
    "visibility": "public",
    "made_for_kids": true,
    "youtube_video_id": "<string>",
    "youtube_video_url": "<string>",
    "error_message": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z",
    "scheduled_for": "2023-11-07T05:31:56Z",
    "retry_count": 123,
    "next_retry_at": "2023-11-07T05:31:56Z",
    "quiz_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "render_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "youtube_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.quiz-quail.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Body

application/json
quizId
string
required
Minimum string length: 1
renderJobId
string
required
Minimum string length: 1
channelId
string
required
Minimum string length: 1
metadata
object
required

Response

Upload job accepted

data
object
required