Get a key
The API is on the Growth plan and up. In the app, open Settings, then Integrations and API, and create a key. It is shown once, so save it somewhere safe. A key acts for the whole workspace; revoke it there anytime.
Send it with every request:
curl https://www.shockclips.com/api/v1/me \
-H "Authorization: Bearer sc_live_your_key"Upload a video and get clips
# 1. ask for an upload link
curl -X POST https://www.shockclips.com/api/v1/uploads \
-H "Authorization: Bearer $SC_KEY" -H "Content-Type: application/json" \
-d '{"filename":"talk.mp4","content_type":"video/mp4","size":48213021}'
# 2. upload the file to upload_url
curl -X PUT "$UPLOAD_URL" -H "Content-Type: video/mp4" --data-binary @talk.mp4
# 3. start the project
curl -X POST https://www.shockclips.com/api/v1/projects \
-H "Authorization: Bearer $SC_KEY" -H "Content-Type: application/json" \
-d '{"title":"Tuesday talk","storage_key":"'$STORAGE_KEY'","duration_seconds":312,"rights_confirmed":true}'
# 4. check on it until status is "ready", then download each clip's video_url
curl https://www.shockclips.com/api/v1/projects/$PROJECT_ID -H "Authorization: Bearer $SC_KEY"Endpoints
Everything lives under https://www.shockclips.com/api/v1. Requests and answers are JSON.
GET /me
The workspace the key belongs to, its plan, scripts and AI credits left this month, and the AI job running now (if any).
GET /scripts?status=ready&limit=20
Scripts, newest first. status is idea, ready, filmed, posted, archived, or all.
POST /scripts
Writes new scripts from the workspace's brand guide in the background. Answers 202; check GET /me until job is gone, then list scripts.
{ "count": 5, "topic": "spring promo", "funnel": "mix", "length_s": 45 }POST /uploads
Gets a link to upload a video (up to 5 GB, valid one hour). PUT the file to upload_url, then create a project with storage_key.
{ "filename": "talk.mp4", "content_type": "video/mp4", "size": 48213021 }POST /projects
Starts captioning an uploaded video. By default it is cut into short clips; set whole_video to keep it as one captioned video. Uses plan minutes.
{ "title": "Tuesday talk", "storage_key": "uploads/...", "duration_seconds": 312, "style": "hype", "rights_confirmed": true, "whole_video": false }GET /projects
Recent projects with status and progress.
GET /projects/{id}
One project's status and progress, and its clips once they're ready.
GET /clips?status=pending&project_id=...
Clips, newest first, each with a video_url and thumbnail_url that work for 6 hours. status is pending, approved, rejected, scheduled, posted, or failed.
GET /clips/{id}
One clip.
Errors
Errors come back with an HTTP status and a body like {"error":{"code":"limit_reached","message":"..."}}.
- 401 unauthorized: the key is missing, wrong, or revoked.
- 403 plan_required: the workspace is below the Growth plan.
- 402 limit_reached: the month's scripts or minutes are used up.
- 409 busy or brand_missing: an AI job is already running, or brand setup isn't finished.
- 400 bad_request and 404 not_found mean what they say.
Bring your own AI accounts
Separate from the API, a workspace can connect its own Higgsfield, Perplexity, or OpenAI API keys under Integrations. AI B roll then runs on Higgsfield and trend research on Perplexity or OpenAI, billed by them instead of using ShockClips credits.
Coming next
- Webhooks when clips are ready, so you don't have to check.
- Scheduling posts through the API.
Film your first video today.
30 free minutes every month. No card needed.