Skip to main content
POST
/
clips
/
billing
/
check
Check credit availability before render
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/clips/billing/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "clipId": "clip_01HXYZ",
  "candidateId": "cand_01"
}
'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
clipId
string
required

Clip ID to check credits for.

Example:

"clip_01HXYZ"

candidateId
string
required

Candidate clip ID.

Example:

"cand_01"

Response

Credit availability result.

Standard success response envelope.

success
boolean
Example:

true

data
object