Skip to main content
POST
/
v1
/
posts
Create post
curl --request POST \
  --url https://api.vidjutsu.ai/v1/posts \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "accountId": "<string>",
  "videoId": "<string>",
  "caption": "<string>",
  "scheduledAt": 123
}
'
{
  "id": "<string>",
  "status": "scheduled",
  "creditsCharged": 123
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
accountId
string
required

Account ID to post to.

videoId
string

Video ID to post.

caption
string

Post caption.

scheduledAt
number

Unix timestamp. If omitted, posts ASAP.

Response

202 - application/json

Post scheduled

id
string
required
status
enum<string>
required
Available options:
scheduled
creditsCharged
integer
required