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.
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-Keyheader 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 mapdatafields. - 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, headerIdempotency-Keymapped from your record id (e.g.import-followed by the row id), request content:{ "url": "{{1.videoUrl}}" }The answer is201withdata.id— themediaId— and statusuploading. 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, headerIdempotency-Keyfrom 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}}" }publishAtmust be ISO 8601 with an offset, e.g.2026-12-12T18:00:00+01:00. The answer is201with agroupIdand one post per account. Numbers like1.and2.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(withscheduledFor, ISO 8601 with an offset),nowordraft.- targets
- One per account:
platform,connectionId,captionand optional per-networksettings. 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 whatIdempotency-Keyis for. - Idempotency-Key
- A header (1–255 printable ASCII characters) on
POST /api/v1/postsandPOST /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 withIdempotent-Replayed: true; a different body gets409 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’strue, a Break handler retries the module later with the same body andIdempotency-Key; when it’sfalse, senddata.error.messageto your team and stop. - Error body
{ "error": { "code", "message", "retryable" } }. Retry only whenretryableistrue; otherwise the request or the account has to change first, andmessagesays what.- 429 rate_limited
- Wait the
Retry-Afterseconds, then retry with the sameIdempotency-Key. Every response that went through the limiter carriesX-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(Unix seconds), so a loop can slow down before it hits the limit. - Check without creating
POST /api/v1/posts?dryRun=1runs 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-Signatureintotandv1, then comparev1with a hex HMAC-SHA256 oft, a dot and the raw body, keyed with your secret. Make’ssha256()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 thattis 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 yourexternalId;post.failedaddserrorHintanderrorAction. Skip anidyou’ve already handled — retries can repeat. - Try it
POST /api/v1/webhooks/:id/testwith{"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. Leaveeventsout to get all of them. Payloads: Webhooks.- Delivery
- A signed POST with headers
ClipEmber-Event,ClipEmber-Delivery(the same on every retry) andClipEmber-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 anidyou’ve already handled. - Signature
t=<unix seconds>,v1=<hex>, wherev1is HMAC-SHA256 of<t>.<raw body>with the endpoint’swhsec_…secret. Compute it over the body exactly as received, and reject an oldt(we use 5 minutes in the examples).
06Reference
Where the details live.
- API reference
- Every endpoint: posts, your own videos, webhooks, idempotency.
- 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.