Update a video CTA
Updates a CTA. Timing and placement changes are validated against the video duration and existing active CTAs. Requires the `videos:write` scope.
Updates a CTA. Timing and placement changes are validated against the video duration and existing active CTAs. Requires the videos:write scope.
Authorization
BearerAuth Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.
In: header
Path Parameters
Video identifier.
uuidCTA identifier.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/ctas/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"video_id": "165252b3-cd77-4f41-a38f-02417eac7441",
"title": "string",
"url": "https://example.com/offer",
"start_time_seconds": 0,
"end_time_seconds": 1,
"placement": "overlay",
"position": "top-left",
"size": "sm",
"color": "string",
"pass_url_params": true,
"is_active": true,
"order": 0,
"created_at": "string",
"updated_at": "string"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}