Skip to content
Your content strategy, connected from discovery to learning See how it works
Developers

The API, for your own tools

On the Agency plan, your scripts and tools can save links to the library, run analyses and rebuilds, approve or reject drafts, and read the schedule and results. Every call goes through the same checks, approvals and credits as the app.

Keys and authentication

An owner or admin of an Agency account creates a key in Viral Remix Settings, gives it a label and copies it. The key is shown once: we keep only a hash of it and its last four characters, so we cannot show it again. Revoke a key in Settings at any time; it stops working at once. An account can have up to 10 active keys.

A key acts as the member who created it, with that member's role. If they leave the account, or the account is no longer on the Agency plan, their keys stop working.

Send the key in the Authorization header of every request. The API uses keys only, never cookies, so call it from your own server.

curl https://remix.helmable.com/api/remix/v1/brands \
  -H "Authorization: Bearer vra_your_key"

Base address: https://remix.helmable.com/api/remix/v1. Responses are JSON, with the result under data.

Same rules as the app

  • Credits are charged exactly as in the app: analysis 1, rebuild 2, each AI generated image 1, a template slide with your own image 0. Failed generations are refunded automatically. Reading is free.
  • Plan limits, roles and the saved structures limit apply to every call.
  • Every rebuild gets the originality check. Too close to the source, it is blocked and nothing is charged. The score is a similarity measure, not a legal guarantee.
  • Approving through the API follows the review rules exactly: a draft is approved only when it is waiting for review, passed the originality check and has every check done that the app asks for (the AI image checklist, the AI label checklist and the brand safety confirmation). Those checks are done in the review queue in the app.
  • The API does not publish. Approved posts are scheduled in the app.
  • A saved link stores the link and the text you send, as in the app. The post itself is never downloaded; for YouTube links, public details come from the YouTube Data API when the account added its own key. You are responsible for respecting other creators' rights and the rules of every platform you post to.

Rate limits and errors

Each key can make 120 read requests and 30 write requests per rolling minute. Over the limit the API answers 429 with a Retry-After header. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining. Request bodies are JSON, up to 64 KB.

Errors are JSON with a code and the same plain words the app shows:

{ "error": { "code": "insufficient_credits", "message": "This needs 2 credits and you have 1." } }
Error codes
StatusCodeMeaning
401unauthorized, invalid_keyThe key is missing, malformed, unknown or revoked.
403plan_requiredThe account is not on an active Agency plan.
403forbidden, key_owner_removedThe key's member lost their seat, or their role does not allow this.
402insufficient_creditsNot enough credits. Nothing was charged.
404not_found, brand_not_foundNot in this account.
409not_ready, conflictThe draft is not ready to approve, or it changed meanwhile.
422originality_blockedThe rebuild is too close to the source post. Nothing was charged.
422needs_inputThere is nothing to analyze yet. Send the post's text.
429rate_limitedWait the seconds in the Retry-After header.

Endpoints

Paths are relative to /api/remix/v1. Lists take brand_id (from /brands) and limit; without brand_id the account's first brand is used. The OpenAPI document has every field.

  • GET/brands

    List the account's brands

    Counts as a read request.

  • GET/references

    List saved references (library)

    Counts as a read request.

  • POST/references

    Save a post link to the library, with optional pasted text

    Stores the link and the text you send, as in the app. The post itself is never downloaded; for YouTube links, public details come from the YouTube Data API when the account added its own key. Free (no credits).

    Counts as a write request.

  • GET/analyses/{id}

    Get an analysis

    Counts as a read request.

  • POST/references/{id}/analyses

    Run an analysis of a saved reference

    Costs 1 credit. Optional text is saved on the reference first (free). Refunded if the analysis fails.

    Counts as a write request.

  • POST/analyses/{id}/rebuilds

    Rebuild the analyzed structure around your product

    Costs 2 credits plus 1 per AI generated image. Blocked by the originality check when too close to the source (422, nothing charged). Failed AI images are not charged.

    Counts as a write request.

  • GET/drafts

    List rebuilds and variations with their originality scores

    Counts as a read request.

  • POST/drafts/{id}/approve

    Approve a draft

    Refused (409 not_ready) unless the draft is waiting for review, passed the originality check and every review check is done in the app.

    Counts as a write request.

  • POST/drafts/{id}/reject

    Reject a draft with a reason

    Counts as a write request.

  • GET/posts

    List scheduled and published posts

    Counts as a read request.

  • GET/results

    Get results per published post

    Your own numbers only, read from official APIs where the platform permits it or entered by you. Unknown numbers are null, never zero.

    Counts as a read request.

Questions about the API? Contact us.