Skip to main content
POST
/
v1
/
posts
Create draft post
curl --request POST \
  --url https://api.vidjutsu.ai/v1/posts \
  --header 'Content-Type: application/json' \
  --data '
{
  "caption": "<string>",
  "videoUrl": "<string>",
  "videoId": "<string>",
  "accountId": "<string>",
  "scheduledAt": 123,
  "brief": "<unknown>",
  "tags": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "id": "<string>",
  "status": "draft",
  "creditsCharged": 0
}

Body

application/json
caption
string
videoUrl
string
videoId
string
accountId
string
scheduledAt
integer<int64>
brief
any
tags
object[]

Response

201 - application/json

The request has succeeded and a new resource has been created as a result.

id
string
required
status
enum<string>
required
Available options:
draft
creditsCharged
enum<number>
required
Available options:
0