Credits
Reserve credits for a bundle
Atomically debits the full quoted bundle into escrow. Pass reservation and line-item IDs to supported product creation calls. Required scope: videos:write.
post/videos/{videoId}/reservations
Request
- Base URLhttps://api.braiv.co/v1
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
videoIdstring required
Braiv library video document ID.
Headers
Idempotency-Keystring
Caller-generated key for safe POST retries. The API retains the first JSON response for 24 hours. Reusing a key with another path or body returns 409 IDEMPOTENCY_REPLAY.
Request body
Example request
{
"dubs": [
{
"languages": [
"en"
]
}
],
"captionLanguageCodes": [
"en"
],
"zeroPromptThumbnail": {
"translateLanguageCodes": [
"en"
]
}
}Response
Credits reserved and line items created.
Example response
{
"lineItems": [
{
"targetLanguageCode": "en"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.