Integration guide

Schedule posts from Make

Use Make's HTTP module and Custom webhook with the ClipEmber API: import a video, schedule a post, check the webhook signature and handle errors.

Uses the REST API and webhooks·Make modules and functions·updated

01Before you start

No ClipEmber app in Make — the HTTP module does it.

ClipEmber has no app in Make's catalog. This guide uses Make's own HTTP module and Custom webhook against the public REST API.

An API key
Create it in the app (API keys). New keys come with Pro and Agency, and during the 7-day Pro trial; a key you already have keeps working on any plan. The secret is shown once, so put it straight into your tool’s credential store. It goes in the X-API-Key header of every call.
Connected accounts
Connect TikTok, YouTube, Instagram and the rest in the app, through each network’s own sign-in. A key or an agent can’t sign in to a network for you. Each account has an id you pass as connectionId.
Every HTTP module
HTTP → Make a request, with a header X-API-Key = your key and, for POSTs, body type Raw, content type JSON (application/json). Turn on Parse response so later modules can map data fields.
Your account ids
Run one GET once and note each connectionId:
GET https://clipember.com/api/v1/connections

02Import a video

Hand ClipEmber a link; it fetches the file.

For a video at a public https address. YouTube and TikTok page links are not video files.

HTTP module
POST https://clipember.com/api/v1/media/import, header Idempotency-Key mapped from your record id (e.g. import- followed by the row id), request content:
{ "url": "{{1.videoUrl}}" }
The answer is 201 with data.id — the mediaId — and status uploading. A post can use it straight away; it waits for the file.

03Schedule a post

One module, one video, several accounts.

HTTP module
POST https://clipember.com/api/v1/posts, header Idempotency-Key from the record id (e.g. post- and the row id). Typing JSON by hand breaks on a caption with quotes or line breaks; building the body with a JSON → Create JSON module and mapping its output as the request content avoids that. The body it should produce:
{
  "source": { "mediaId": "{{2.data.id}}" },
  "mode": "schedule",
  "scheduledFor": "{{1.publishAt}}",
  "targets": [
    { "platform": "youtube_shorts", "connectionId": "<connectionId>",
      "caption": "{{1.caption}}" }
  ],
  "externalId": "{{1.id}}"
}
publishAt must be ISO 8601 with an offset, e.g. 2026-12-12T18:00:00+01:00. The answer is 201 with a groupId and one post per account. Numbers like 1. and 2. are your modules’ ids.
source
{ "mediaId": "…" } for a video of your own (from the import step), or { "clipId": "…" } for a clip made in ClipEmber.
mode
schedule (with scheduledFor, ISO 8601 with an offset), now or draft.
targets
One per account: platform, connectionId, caption and optional per-network settings. A TikTok post waits for a person to choose who can see it unless you send that choice — see Posts.
externalId
Optional, your own id (1–128 characters), e.g. the row or record id that started the workflow. It comes back on every post and in every post webhook, and GET /api/v1/posts?externalId=… finds the posts. It isn’t unique — that’s what Idempotency-Key is for.
Idempotency-Key
A header (1–255 printable ASCII characters) on POST /api/v1/posts and POST /api/v1/media/import. Build it from something stable — the record id, not the time — so a retried run sends the same key. For 24 hours the same key and body return the first answer again with Idempotent-Replayed: true; a different body gets 409 idempotency_key_reused.

04Errors and retries

Retry what can succeed, stop on the rest.

In Make
Turn on Evaluate all states as errors in the HTTP module so a 4xx or 5xx goes to an error handler. Add a filter on data.error.retryable: when it’s true, a Break handler retries the module later with the same body and Idempotency-Key; when it’s false, send data.error.message to your team and stop.
Error body
{ "error": { "code", "message", "retryable" } }. Retry only when retryable is true; otherwise the request or the account has to change first, and message says what.
429 rate_limited
Wait the Retry-After seconds, then retry with the same Idempotency-Key. Every response that went through the limiter carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds), so a loop can slow down before it hits the limit.
Check without creating
POST /api/v1/posts?dryRun=1 runs every check and answers valid or the same error, without creating a post — useful while you build the workflow.

05Receive webhooks

Start a scenario when a post goes out or fails.

A Custom webhook receives ClipEmber's signed POSTs. Make answers right away, which is all ClipEmber needs.

1. Custom webhook
Webhooks → Custom webhook, add a hook and copy its address. In its advanced settings, turn on Get request headers and JSON pass-through, so the scenario gets the signature header and the body exactly as sent.
2. Add the address
In the app on the Webhooks page, or with the API. Store the whsec_… secret at once.
curl -X POST https://clipember.com/api/v1/webhooks \
  -H "X-API-Key: cf_..." -H "Content-Type: application/json" \
  -d '{"url": "<your webhook URL>", "events": ["post.published", "post.failed"]}'
# 201 -> { "data": { "id": "…", "secret": "whsec_…", … } }   the secret is shown only here
3. Check the signature
Split ClipEmber-Signature into t and v1, then compare v1 with a hex HMAC-SHA256 of t, a dot and the raw body, keyed with your secret. Make’s sha256() function computes an HMAC when you give it a key — check the argument order in Make’s function reference. Put the comparison, and a check that t is within 5 minutes of now, in a filter right after the webhook, so nothing runs on an unsigned request.
v1  ==  sha256( t + "." + <raw body> ; "hex" ; <whsec_ secret> )
4. Parse and route
JSON → Parse JSON on the raw body, then a Router on event. Post events carry your externalId; post.failed adds errorHint and errorAction. Skip an id you’ve already handled — retries can repeat.
Try it
POST /api/v1/webhooks/:id/test with {"event": "post.published"} sends a signed sample.
Plan
Adding a webhook address needs Pro and Agency (or the 7-day Pro trial). Addresses must be public https:// URLs.
Events
post.scheduled, post.published, post.failed, post.unconfirmed, post.first_comment_failed, post.deferred, post.canceled, post.updated, post.deleted_remote, post.remote_action_failed, account.connected, account.disconnected, account.reauth_required, clip.ready, request.failed. Leave events out to get all of them. Payloads: Webhooks.
Delivery
A signed POST with headers ClipEmber-Event, ClipEmber-Delivery (the same on every retry) and ClipEmber-Signature. Answer any 2xx within 15 seconds; otherwise we try again — 6 attempts over about 8.6 hours. Retries can arrive twice or out of order, so skip an id you’ve already handled.
Signature
t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of <t>.<raw body> with the endpoint’s whsec_… secret. Compute it over the body exactly as received, and reject an old t (we use 5 minutes in the examples).

06Reference

Where the details live.

OpenAPI
The machine-readable description: /api/v1/openapi.json.
Error codes
Every code with its HTTP status, whether to retry and what to do.

Try it with a real account.

Every new account gets 7 days of Pro, API keys included. No card.