API reference
Creator-ad workflow data and actions, for brand teams and creators. Every call runs with the same rules as the app: the key acts as the person who made it, and money, access and security changes stay with a person in the app.
Authentication
Send an API key in the Authorization header: Bearer ts_…. Tools that cannot send a bearer token can use x-api-key: ts_…. A key is shown once when you make it; the platform keeps only its hash.
| Key | Who makes it | What it acts as |
|---|---|---|
| Brand team key | A brand Admin, in Settings → Developers. | The Admin who made it, with their current role and access policy. If they leave the brand, the key stops working. |
| Creator key | A creator, in Developers in the creator portal. | The creator in one brand. It reads only the creator's own rows and calls only the methods open to creators. Each method still checks that the row is theirs. |
GET /api/v1 tells you who a key acts as, its scopes and what it can read. Keys can expire and you can revoke them at any time.
Scopes
You choose a key's scopes when you make it. Only the scopes you can use are offered. A call needs the scope and the person's current role, so a key never does more than its person can. If the person loses a permission, the key loses it too.
| Scope | Brand team keys | Creator keys | Methods |
|---|---|---|---|
readRead data | Read the collections you can see in the app, one page at a time. | Read your own rows, and the programs and music every member sees. | GET |
submissions:writeSubmissions | Send videos and new versions, run review checklists, send review notes, tag submissions, list the open work in the inbox and give it an owner. | Send videos and new versions, run the guideline check on them, and offer extra clips for sale. | 21 |
evidence:writeEvidence review | Run evidence reviews and creative reviews, decide findings, answer findings and label review quality. | Run the evidence review on your video and answer its findings. | 9 |
fixes:writeFixes | Propose, send and answer fixes and suggested edits, comment on versions at a timecode, and pause, resume or chase with the video agent. | Accept or dispute fixes and suggested edits, comment on your videos at a timecode, and answer the video agent's proposed edit. To accept it, also tick Video editor. | 17 |
studio:writeVideo editor | Save edit drafts, turn an editor's brief into drafts and render the approved ones, render new versions, edit and translate captions, run auto frame, and manage licensed music and the video library. | Save edit drafts of your videos, render new versions, translate captions and run auto frame. | 17 |
approvals:writeApprovals | Approve or reject exact files, record approvals, reopen a decided review before launch, and buy extra clips. A bought clip's payout still waits for payment approval in the app. | Approve or reject exact files, such as the brand's edit of your video. | 4 |
rights:writeRights and contracts | Record, import and revoke rights, request rights for posts, build, send, negotiate, withdraw and sign contracts, send updates to signed contracts, confirm ad partnerships, record where else a video went, and clear a launch hold. New pay for one creator, in a counter-offer, an acceptance or an update, stays in the app. | Accept, decline or counter offers, sign contracts and updates to them, decline an update, take back your pre-approval of brand edits, send Spark codes and check your Meta partnership. | 25 |
launch:writeLaunch and ads | Draft and create launches, campaigns, ad sets and funded tests, scale winners, read back ads, change ad settings and manage ad rules. Turning on spend, raising budgets and approving rule suggestions stay in the app. | Not offered | 24 |
programs:writePrograms | Edit programs, briefs and creator briefs, read product pages for a brief, add a program's product to the catalog, and edit guidelines, landing pages, discount codes and gift caps, and apply to programs. A key sets pay only on a new program: pay and commission rates on a program that exists, and the pay in a creator brief, stay in the app. | Apply to programs and ask to join a brand. | 21 |
creators:writeCreators | Find, invite, import, match and manage creators, add people who tag you on Instagram, make upload links, run brand-safety checks, deep checks of past posts and fraud checks, and set buyer invites. | Not offered | 27 |
outreach:writeOutreach | Draft outreach from your data and send it through email sequences from your own mailbox, send replies, and reply to Instagram messages. | Not offered | 20 |
chat:writeChat and notifications | Start conversations, send messages and mark messages and notifications as read. | Send messages and mark messages and notifications as read. | 4 |
samples:writeSamples | Request, ship and track product samples, save shipping addresses, and set, waive or check sample deposits. Refunding a deposit stays in the app. | Request and cancel samples, and save shipping addresses. | 12 |
profile:writeProfile and social accounts | Connect and sync creators' social accounts. | Edit your profile, and connect and sync your social accounts. | 5 |
analytics:writeAnalytics and reports | Refresh metrics, manage attribution, save learnings, reports and strategy notes, make or revoke view-only report links, fit the calibrated conversion score, sync TikTok Shop and Amazon Attribution orders, watch competitor ads from Meta's Ad Library, set earned media value rates, and run the fatigue diagnosis and add its brief section to a program or to creator briefs. | Not offered | 31 |
experiments:writeExperiments | Save, register, start and conclude creative tests, plan holdouts and record their store numbers, and create, link and read Meta lift studies. | Not offered | 11 |
engagements:writePilot and time logs | Update the pilot plan, record its baseline, make or revoke view-only case-study links, and log time spent. | Not offered | 10 |
settings:writeIntegrations and settings | Connect integrations, save the brand profile and claims library, approve claims read from product pages, build automations, edit creative tags and apply the platform pack. | Not offered | 17 |
Quick start
Put your key in an environment variable, then read a list and call a method.
export TOPSPIN_KEY=ts_… curl -H "Authorization: Bearer $TOPSPIN_KEY" \ "https://gettopspin.com/api/v1" curl -H "Authorization: Bearer $TOPSPIN_KEY" \ "https://gettopspin.com/api/v1/submissions?status=awaiting_review&limit=20"
const res = await fetch("https://gettopspin.com/api/v1/submissions?status=awaiting_review&limit=20", {
headers: { Authorization: `Bearer ${process.env.TOPSPIN_KEY}` },
});
const { data, next } = await res.json();
// Next page: pass next back as after.
if (next) await fetch(`https://gettopspin.com/api/v1/submissions?after=${next}`, { headers });Methods take their arguments in order: { "args": [...] }. Approving needs the file fingerprint you looked at (contentHash), so a changed file is never approved by mistake.
curl -X POST "https://gettopspin.com/api/v1/methods/approvals.decide" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"assetId":"asset-…","decision":"approved","contentHash":"sha256:…"}]}'const res = await fetch("https://gettopspin.com/api/v1/methods/approvals.decide", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TOPSPIN_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
"args": [
{
"assetId": "asset-…",
"decision": "approved",
"contentHash": "sha256:…"
}
]
}),
});
if (!res.ok) throw new Error((await res.json()).error);
const { data } = await res.json();Each method below shows its arguments and a curl example. The fetch call is the same for every method: change the path and the args.
Collections
Every collection has a list and a get: GET /api/v1/<collection> and GET /api/v1/<collection>/<id>. Lists return { data, next }, oldest first. Pass next back as after for the next page; it is null on the last page. Both need the read scope. A row the key may not see answers 404.
| Filter | What it does |
|---|---|
limit | Rows per page, 1 to 200. Default 50. |
after | The `next` cursor from the previous page. |
status | Only rows with this status. |
submissionId | Only rows of this submission. |
creatorId | Only rows of this creator. Creator keys see their own rows whatever this says. |
updatedSince | Only rows changed after this time (ISO 8601). |
submissionsVideos creators sent, with status, transcript and version.Brand teamCreator
Videos creators sent, with status, transcript and version. Creator keys read only their own rows.
With a creator key: Your videos, with status, transcript and version.
GET /api/v1/submissions · GET /api/v1/submissions/{id}
Row fields (Submission)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 characterssubmittedAtstringrequired · at least 1 charactersdurationSecnumberrequiredscreenScorenumberrequiredverdict"recommended" | "flagged" | "below_bar" | "unscreened"requiredstatus"awaiting_review" | "approved" | "revision_requested" | "rejected"requiredhookstringrequiredtitlestring · at most 200 characterstranscriptstringrequiredtranscriptSpansarray of objectrequiredscenesarray of objectrequiredangleIdstring · at least 1 characterspersonaIdstring · at least 1 characterspersonaFitarray of objectrequiredflagsarray of objectrequiredthumbnailHuenumberrequiredsourceUrlstring | ""requiredmediaobjectapprovedAtstring · at least 1 charactersapprovedBystringfirstApprovedAtstring · at least 1 charactersairAssetIdstringrevisionNotestringchecklistOverall"ready" | "needs_changes" | "blocked"blockerOverrideobjectnotesarray of objectrequired · default []productIdstring · at least 1 characterscontentType"video" | "image"postingIntent"exclusive" | "cross_posting"priorUseobjectversioninteger · -9007199254740991 to 9007199254740991versionsarray of objectfavoritebooleanconceptGroupIdstring · at least 1 characterscreatorNotesstringeditTermsobjectpreapprovalWithdrawnAtstring · at least 1 characterstranscriptSegmentsarray of objecttranscriptWordsarray of objecttranscriptTiming"measured" | "estimated"onScreenTextarray of objectaudioMatchesarray of objectimportedFromobjectsparkCodeobject
assetsVersions of each video: the original and every edit, with the file fingerprint.Brand teamCreator
Versions of each video: the original and every edit, with the file fingerprint. Creator keys read only their own rows.
With a creator key: Versions of your videos: the original and every edit, with the file fingerprint.
GET /api/v1/assets · GET /api/v1/assets/{id}
Row fields (Asset)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterslabelstringrequiredorigin"creator" | "ai_edit" | "ai_generated" | "bounded_edit" | "creator_edit"requiredrecipe"new_hook" | "captions" | "social_proof_badge" | "cutdown_15" | "split_screen" | "replace_voice"creatorConsent"pending" | "approved" | "rejected"requiredaiLabelstringsuggestionIdstring · at least 1 charactersstatus"rendering" | "ready" | "launched" | "failed"requiredadScorenumberjobIdstring · at least 1 charactersconsentHistoryarray of objectrequired · default []createdAtstringrequired · at least 1 charactersparentAssetIdstring · at least 1 characterscontentHashstringstorageKeystringedlarray of objecteditLevel"none" | "technical" | "light" | "full"aspect"9:16" | "4:5" | "1:1" | "16:9"durationSecnumbererrorstringcostobjectfileCheckobject
evidenceReviewsEvidence reviews per version: each check with its status, reason and timestamps.Brand teamCreator
Evidence reviews per version: each check with its status, reason and timestamps. Creator keys read only their own rows.
With a creator key: Evidence reviews of your videos.
GET /api/v1/evidenceReviews · GET /api/v1/evidenceReviews/{id}
Row fields (EvidenceReview)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersversionintegerrequired · -9007199254740991 to 9007199254740991contentHashstringcontextobjectrequiredcoverageobjectrequiredchecksarray of objectrequiredoutcome"clear" | "needs_changes" | "blocked" | "needs_human"requiredenginestringrequiredmode"live" | "demo"requiredcreatedAtstringrequired · at least 1 characters
findingResponsesCreators' answers to review findings: acknowledged or disputed, with a note.Brand teamCreator
Creators' answers to review findings: acknowledged or disputed, with a note. Creator keys read only their own rows.
With a creator key: Your answers to review findings.
GET /api/v1/findingResponses · GET /api/v1/findingResponses/{id}
Row fields (FindingResponse)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 charactersversionintegerrequired · -9007199254740991 to 9007199254740991checkKeystringrequiredresponse"acknowledged" | "disputed"requirednotestring · at most 1000 characterscreatorIdstringrequired · at least 1 charactersatstringrequired · at least 1 characters
versionApprovalsApprovals and rejections of exact files by the creator and the brand.Brand teamCreator
Approvals and rejections of exact files by the creator and the brand. Creator keys read only their own rows.
With a creator key: Approvals and rejections of your files, by you and by the brand.
GET /api/v1/versionApprovals · GET /api/v1/versionApprovals/{id}
Row fields (VersionApproval)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersassetIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscontentHashstringrequired · at least 1 charactersparty"creator" | "brand"requireddecision"approved" | "rejected"requiredscopeobjectrequired · default {"platforms":[],"use":"paid"}bystringrequiredmethod"in_app" | "submission" | "recorded"required · default "in_app"notestringatstringrequired · at least 1 characterssupersededAtstring · at least 1 characters
fixesRequested changes: instruction, owner, round, status.Brand teamCreator
Requested changes: instruction, owner, round, status. Creator keys read only their own rows.
With a creator key: Fixes requested on your videos.
GET /api/v1/fixes · GET /api/v1/fixes/{id}
Row fields (Fix)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersversionintegerrequired · -9007199254740991 to 9007199254740991checkKeystringrequiredtitlestringrequiredkind"creator_instruction" | "bounded_edit" | "reshoot"requiredinstructionstringrequired · 1 to 2000 charactersatSecnumberendSecnumberopsarray of objectreshootobjectowner"creator" | "brand"requiredownerNamestringdueAtstring · at least 1 charactersroundinteger · -9007199254740991 to 9007199254740991status"proposed" | "sent" | "accepted" | "disputed" | "applied" | "resolved" | "unresolved" | "dropped"requiredcreatorNotestring · at most 1000 characterscheckedInVersioninteger · -9007199254740991 to 9007199254740991assetIdstring · at least 1 charactershistoryarray of objectrequired · default []createdAtstringrequired · at least 1 characters
rightsUsage rights and ad permissions per creator, with scope and expiry.Brand teamCreator
Usage rights and ad permissions per creator, with scope and expiry. Creator keys read only their own rows.
With a creator key: The rights and ad permissions you gave the brand.
GET /api/v1/rights · GET /api/v1/rights/{id}
Row fields (RightsRecord)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 characterskind"usage" | "meta_partnership" | "tiktok_spark" | "youtube_link"requiredsource"contract" | "platform" | "manual"requiredpermissionSource"contract" | "meta_ad_code" | "meta_ig_account" | "meta_fb_account" | "meta_post" | "meta_hub_content" | "tiktok_auth_code" | "tiktok_one_request" | "tiktok_bc_auth" | "youtube_link_creator" | "youtube_link_code" | "youtube_link_request" | "manual_evidence" | "rights_request" | "imported"sourceRefstringidentityobjectscopeobjectrequiredstartsAtstringrequired · at least 1 charactersexpiresAtstring · at least 1 charactersstatus"pending" | "active" | "expired" | "revoked"requiredrevokedAtstring · at least 1 charactersrevokedReasonstringrevocationEffect"ads_continue" | "ads_stop" | "unknown"evidenceobjectverifiedBy"api" | "contract" | "manual"requiredlastCheckedAtstring · at least 1 characterswarnedDaysarray of integerrequired · default []liftedAtstring · at least 1 characterscreatedAtstringrequired · at least 1 characters
launchesAd launches per version and platform, with platform status.Brand team
Ad launches per version and platform, with platform status. Creator keys cannot read it.
GET /api/v1/launches · GET /api/v1/launches/{id}
Row fields (Launch)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterssubmissionIdsarray of stringassetIdsarray of stringrequiredadAccountIdstring · at least 1 charactersidentityMode"dynamic" | "creator_only" | "both"format"partnership" | "brand_page"requireddestinationUrlstringrequiredplatformsarray of objectrequiredlaunchedBystringrequiredcreatedAtstringrequired · at least 1 charactersnotifiedCreatorAtstring · at least 1 charactersidempotencyKeystringmode"live" | "mock" | "manual"evidenceobjectpreflightarray of object
creatorsCreators in the brand's program.Brand teamCreator
Creators in the brand's program. Creator keys read only their own rows.
With a creator key: Your creator profile in this brand.
GET /api/v1/creators · GET /api/v1/creators/{id}
Row fields (Creator)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactershandlestringrequired · at least 1 charactersnamestringrequiredplatform"instagram" | "tiktok"requiredfollowersintegerrequired · -9007199254740991 to 9007199254740991engagementRatenumberrequiredcountrystringrequiredbiostringrequiredtagsarray of stringrequiredstage"discovered" | "scored" | "outreach_drafted" | "contacted" | "replied" | "accepted" | "rights_signed" | "seeded" | "active" | "excluded"requiredsource"existing" | "inbound" | "sourced"required · default "sourced"tier"new" | "standard" | "priority"required · default "standard"similaritynumbersearchRunIdstringfitScorenumberfitReasonsarray of stringbrandMentionsintegerrequired · -9007199254740991 to 9007199254740991, default 0surveyMentionsintegerrequired · -9007199254740991 to 9007199254740991, default 0metaPermission"none" | "requested" | "granted"required · default "none"metaPermissionCheckobjectemailstringrequiredavatarHuenumberrequiredlastActivityAtstringrequired · at least 1 charactersaccountIdstring · at least 1 characterscitystringageinteger · -9007199254740991 to 9007199254740991gender"female" | "male" | "nonbinary"joinedAtstring · at least 1 charactersaddressesarray of objectfeaturedSubmissionIdsarray of stringpayoutAccountobjectarchivedbooleanfavoritebooleanreferredByAccountIdstring · at least 1 charactersinviteobjectinviteWithdrawnAtstring · at least 1 charactersdiscountCodesarray of object
programsPrograms and their briefs.Brand teamCreator
Programs and their briefs. Creator keys read every row: every member of the brand sees it.
GET /api/v1/programs · GET /api/v1/programs/{id}
Row fields (Program)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersslugstringrequirednamestringrequiredproductNamestringrequiredgoalstringrequiredpitchstring · at most 280 charactersstatus"draft" | "active" | "paused" | "ended"requiredresearcharray of objectrequiredpersonasarray of objectrequiredanglesarray of objectrequiredpayRuleobjectrequiredpaymentTermsDaysintegerrequired · -9007199254740991 to 9007199254740991, default 30rightsTermsobjectrequiredmetaCampaignstringrequireddestinationUrlstringrequiredcreatedAtstringrequired · at least 1 characterscreativeBriefarray of objectdeliverablesarray of object · at most 10 itemsexampleVideosarray of object · at most 5 itemsannouncementsarray of objectproductIdsarray of stringclaimsPolicy"library" | "none_applicable" | "manual_review"creatorCodesobjectcontentDaysinteger · 1 to 180sampleDepositobjectgiftRulesobjectbuyerInvitesobject
metricSnapshotsDaily ad and post metrics.Brand teamCreator
Daily ad and post metrics. Creator keys read only their own rows.
With a creator key: Daily metrics of ads made from your videos.
GET /api/v1/metricSnapshots · GET /api/v1/metricSnapshots/{id}
Row fields (MetricSnapshot)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreativeIdstringrequired · at least 1 charactersplatform"meta" | "google" | "tiktok" | "pinterest" | "vibe" | "snapchat"requireddatestringrequiredimpressionsintegerrequired · -9007199254740991 to 9007199254740991threeSecViewsintegerrequired · -9007199254740991 to 9007199254740991thruPlaysintegerrequired · -9007199254740991 to 9007199254740991plays100integerrequired · -9007199254740991 to 9007199254740991videoPlaysintegerrequired · -9007199254740991 to 9007199254740991linkClicksintegerrequired · -9007199254740991 to 9007199254740991landingViewsintegerrequired · -9007199254740991 to 9007199254740991addToCartintegerrequired · -9007199254740991 to 9007199254740991purchasesintegerrequired · -9007199254740991 to 9007199254740991spendUsdnumberrequiredrevenueBySourceobjectrequiredavgWatchSecnumberreachinteger · -9007199254740991 to 9007199254740991frequencynumber
editDraftsSaved video-editor drafts.Brand teamCreator
Saved video-editor drafts. Creator keys read only their own rows.
With a creator key: Saved editor drafts of your videos.
GET /api/v1/editDrafts · GET /api/v1/editDrafts/{id}
Row fields (EditDraft)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersbaseAssetIdstring · at least 1 charactersopsarray of objectrequired · at most 400 itemstitlestringrequired · at most 120 characters, default ""labelstring · at most 60 charactersauthorobjectrequiredagentNotestring · at most 2000 charactersupdatedAtstringrequired · at least 1 characterscreatedAtstringrequired · at least 1 characters
audioTracksThe licensed music library.Brand teamCreator
The licensed music library. Creator keys read every row: every member of the brand sees it.
GET /api/v1/audioTracks · GET /api/v1/audioTracks/{id}
Row fields (AudioTrack)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 120 charactersartiststring · at most 120 charactersstorageKeystringrequired · 1 to 500 charactersmimeTypestringrequireddurationSecnumberlicenseobjectrequiredstatus"active" | "retired"requireduploadedBystringrequiredcreatedAtstringrequired · at least 1 characters
versionCommentsComments pinned to a timecode of a version, with replies, resolved state and the fix made from them.Brand teamCreator
Comments pinned to a timecode of a version, with replies, resolved state and the fix made from them. Creator keys read only their own rows.
With a creator key: Comments on your videos at a timecode, by you and by the brand.
GET /api/v1/versionComments · GET /api/v1/versionComments/{id}
Row fields (VersionComment)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersassetIdstring · at least 1 charactersversionLabelstringrequired · at most 40 characterscontentHashstring · at most 200 charactersatSecnumberrequiredendSecnumbertextstringrequired · 1 to 2000 charactersauthorobjectrequiredstatus"open" | "resolved"requiredresolvedBystringresolvedAtstring · at least 1 charactersfixIdstring · at least 1 charactersrepliesarray of objectrequired · at most 50 items, default []createdAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
mediaLibraryThe video library for B-roll: clips with their rights notes.Brand teamCreator
The video library for B-roll: clips with their rights notes. Creator keys read every row: every member of the brand sees it.
GET /api/v1/mediaLibrary · GET /api/v1/mediaLibrary/{id}
Row fields (MediaLibraryItem)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 120 charactersstorageKeystringrequired · 1 to 500 charactersmimeTypestringrequiredsizeBytesinteger · 0 to 9007199254740991durationSecnumberwidthinteger · -9007199254740991 to 9007199254740991heightinteger · -9007199254740991 to 9007199254740991rightsobjectrequiredstatus"active" | "retired"requireduploadedBystringrequiredcreatedAtstringrequired · at least 1 characters
experimentsPre-registered creative tests and results.Brand team
Pre-registered creative tests and results. Creator keys cannot read it.
GET /api/v1/experiments · GET /api/v1/experiments/{id}
Row fields (Experiment)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · at least 1 characterskind"workflow" | "edit" | "new_brief" | "lift"requiredstatus"draft" | "registered" | "running" | "complete" | "stopped"requiredregistrationobjectrequiredregisteredAtstring · at least 1 charactersregisteredBystringstartedAtstring · at least 1 charactersendedAtstring · at least 1 charactersarmsarray of objectrequired · 2 to 6 itemsconclusionstringcreatedAtstringrequired · at least 1 charactersholdoutobject
sourceResultsRevenue per version per day from Triple Whale, Northbeam and GA4, and Fairing survey answers that credit a creator, with how each row was tied to the version.Brand team
Revenue per version per day from Triple Whale, Northbeam and GA4, and Fairing survey answers that credit a creator, with how each row was tied to the version. Creator keys cannot read it.
GET /api/v1/sourceResults · GET /api/v1/sourceResults/{id}
Row fields (SourceResult)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterstool"triplewhale" | "northbeam" | "ga4" | "fairing"requireddatestringrequired · pattern ^\d{4}-\d{2}-\d{2}$assetIdstring · at least 1 charactersadIdstring · at least 1 characterssubmissionIdstring · at least 1 characterscreatorIdstring · at least 1 charactersjoinedBy"utm_content" | "ad_id" | "code" | "name" | "order"requiredrevenuenumberrequiredcurrencystringrequired · 3 charactersordersinteger · -9007199254740991 to 9007199254740991sessionsinteger · -9007199254740991 to 9007199254740991conversionsnumberspendnumberresponseIdstringorderIdstringanswerstring · at most 300 charactersalreadyCreditedbooleansyncedAtstringrequired · at least 1 characterssimulatedboolean
adRulesAd rules: conditions on ad results over a window, and the pause, budget or fatigue action each takes.Brand team
Ad rules: conditions on ad results over a window, and the pause, budget or fatigue action each takes. Creator keys cannot read it.
GET /api/v1/adRules · GET /api/v1/adRules/{id}
Row fields (AdRule)
namestringrequired · 1 to 80 charactersenabledbooleanrequiredscopeobjectrequiredwindowDaysintegerrequired · 1 to 30conditionsarray of objectrequired · at most 5 itemsactionobjectrequiredmode"suggest" | "auto"requiredmaxActionsPerDayintegerrequired · 1 to 50idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatedBystringrequiredcreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 charactersupdatedBystringlastRunAtstring · at least 1 characters
payoutsEarnings per period, with status and due date.Creator
Earnings per period, with status and due date. Brand team keys cannot read it: it stays in the app. Creator keys read only their own rows.
With a creator key: Your earnings per period, with status and due date.
GET /api/v1/payouts · GET /api/v1/payouts/{id}
Row fields (Payout)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersperiodStartstringrequiredperiodEndstringrequiredamountUsdnumberrequireddueDatestringrequiredterms"net30"requiredstatus"scheduled" | "held" | "requested_early" | "paid_early" | "paid"requiredearlyPayobjectpaidAtstring · at least 1 charactersapprovedBystringbasisobjectlinesarray of objectkillFeeobjectextraobjectgrossUsdnumberreserveobjectholdReasonstringretainerIdstring · at least 1 charactersoverdueobject
uploadLinksUpload links: who each is for, the program, the limit, the expiry and the videos received.Brand team
Upload links: who each is for, the program, the limit, the expiry and the videos received. The token is never stored, only its hash. Creator keys cannot read it.
GET /api/v1/uploadLinks · GET /api/v1/uploadLinks/{id}
Row fields (UploadLink)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersnewCreatorbooleanrequiredpersonobjecttokenHashstringrequired · pattern ^[0-9a-f]{64}$maxVideosintegerrequired · 1 to 10submissionIdsarray of stringrequired · default []status"active" | "used" | "expired" | "revoked"requiredexpiresAtstringrequired · at least 1 characterscreatedAtstringrequired · at least 1 characterscreatedBystringrequiredlastUsedAtstring · at least 1 charactersrevokedAtstring · at least 1 charactersrevokedBystringinviteobject
extrasExtra clips creators offer on a submission, with price and status (for sale, bought, withdrawn).Brand teamCreator
Extra clips creators offer on a submission, with price and status (for sale, bought, withdrawn). Creator keys read only their own rows.
With a creator key: The extra clips you offer, with price and status.
GET /api/v1/extras · GET /api/v1/extras/{id}
Row fields (Extra)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterskind"hook" | "broll" | "other"requiredtitlestringrequired · 1 to 120 characterspriceUsdnumberrequiredmediaobjecturlstring · at most 2000 charactersdurationSecnumberstatus"offered" | "purchased" | "withdrawn"requiredpurchaseobjectcreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
offersOffers on agreements: every round with its terms, note and changes, and whose turn it is.Brand teamCreator
Offers on agreements: every round with its terms, note and changes, and whose turn it is. Creator keys read only their own rows.
With a creator key: Offers on your agreements: every round with its terms, note and changes.
GET /api/v1/offers · GET /api/v1/offers/{id}
Row fields (Offer)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 characterscontractIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 charactersstatus"open" | "agreed" | "declined"requiredawaiting"brand" | "creator"termsobjectrequiredroundsarray of objectrequired · at least 1 itemsagreedAtstring · at least 1 characterscreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
rightsRequestsRights requests for posts found in the wild: the post, the exact terms, the status, and the creator's acceptance record or decline reason.Brand team
Rights requests for posts found in the wild: the post, the exact terms, the status, and the creator's acceptance record or decline reason. The link token is never stored. Creator keys cannot read it.
GET /api/v1/rightsRequests · GET /api/v1/rightsRequests/{id}
Row fields (RightsRequest)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstring · at least 1 charactershandlestringrequiredemailstringpostobjectrequiredtermsobjectrequiredprogramIdstringrequired · at least 1 charactersstatus"pending" | "accepted" | "declined" | "withdrawn" | "expired"requiredexpiresAtstringrequired · at least 1 characterscreatedAtstringrequired · at least 1 characterscreatedBystringrequiredtokenHashstringemailedTostringacceptanceobjectdeclineobjectcounterobjectresultobjectwithdrawnAtstring · at least 1 characterswithdrawnBystringexpiredAtstring · at least 1 characterssimulatedboolean
capturedPostsInstagram posts that tag the brand, read from Meta, with status (new, requested, ignored).Brand team
Instagram posts that tag the brand, read from Meta, with status (new, requested, ignored). Creator keys cannot read it.
GET /api/v1/capturedPosts · GET /api/v1/capturedPosts/{id}
Row fields (CapturedPost)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersplatform"instagram"requiredsource"tag" | "mention"requiredmediaIdstringrequiredigUserIdstringrequiredusernamestringrequiredpermalinkstringmediaTypestringcaptionstringpostedAtstring · at least 1 charactersfoundAtstringrequired · at least 1 charactersstatus"new" | "requested" | "ignored"requiredrequestIdstring · at least 1 charactersignoredBystringignoredAtstring · at least 1 characterscommentobjectlookupobject
sequencesEmail sequences: steps with their wait and template, and the stop rules.Brand team
Email sequences: steps with their wait and template, and the stop rules. Creator keys cannot read it.
GET /api/v1/sequences · GET /api/v1/sequences/{id}
Row fields (Sequence)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 120 charactersprogramIdstring · at least 1 charactersstatus"active" | "paused" | "archived"requiredstepsarray of objectrequired · 1 to 8 itemsstopRulesobjectrequiredcreatedBystringrequiredcreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
automationsAutomations: the workflow event that starts each, its conditions, its actions and its owner.Brand team
Automations: the workflow event that starts each, its conditions, its actions and its owner. Creator keys cannot read it.
GET /api/v1/automations · GET /api/v1/automations/{id}
Row fields (Automation)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 120 charactersstatus"active" | "paused"requiredtrigger"submission.received" | "review.completed" | "version.approved" | "fix.updated" | "rights.updated" | "launch.updated" | "sale"requiredconditionsobjectrequiredactionsarray of objectrequired · 1 to 6 itemsownerobjectrequiredcreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characterslastRunAtstring · at least 1 charactersrunCountintegerrequired · 0 to 9007199254740991, default 0
automationRunsEach automation run: the event, and every action's result (done, drafted, skipped or failed).Brand team
Each automation run: the event, and every action's result (done, drafted, skipped or failed). Creator keys cannot read it.
GET /api/v1/automationRuns · GET /api/v1/automationRuns/{id}
Row fields (AutomationRun)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersautomationIdstringrequired · at least 1 charactersautomationNamestringrequiredeventIdstringrequired · 1 to 500 characterseventType"submission.received" | "review.completed" | "version.approved" | "fix.updated" | "rights.updated" | "launch.updated" | "sale"requiredcreatorIdstring · at least 1 characterssubmissionIdstring · at least 1 charactersstatus"done" | "partial" | "failed" | "skipped"requiredactionsarray of objectrequired · at most 6 itemsownerstringrequiredatstringrequired · at least 1 characters
creativeTagsThe brand's creative tag taxonomy: each tag's group, the rules that apply it, and the submissions people added it to or took it off.Brand team
The brand's creative tag taxonomy: each tag's group, the rules that apply it, and the submissions people added it to or took it off. Creator keys cannot read it.
GET /api/v1/creativeTags · GET /api/v1/creativeTags/{id}
Row fields (CreativeTag)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 40 charactersgroup"angle" | "hook" | "format" | "finding" | "other"requireddescriptionstringrequired · at most 300 characters, default ""matchobjectrequiredaddedarray of stringrequired · at most 5000 items, default []removedarray of stringrequired · at most 5000 items, default []archivedbooleanrequired · default falsecreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 charactersupdatedBystring
scoreModelsThe calibrated conversion score model: status, sample size, cross-validated calibration error by band, weights and the launched versions it was fitted on.Brand team
The calibrated conversion score model: status, sample size, cross-validated calibration error by band, weights and the launched versions it was fitted on. Creator keys cannot read it.
GET /api/v1/scoreModels · GET /api/v1/scoreModels/{id}
Row fields (ScoreModel)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersstatus"calibrated" | "not_calibrated"requiredtarget"top_half_ctr_roas"requirednintegerrequired · -9007199254740991 to 9007199254740991minNintegerrequired · -9007199254740991 to 9007199254740991excludedintegerrequired · -9007199254740991 to 9007199254740991featuresarray of stringrequiredweightsarray of numberrequiredinterceptnumberrequiredimputearray of numberrequiredmeansarray of numberrequiredstdsarray of numberrequiredencodersobjectrequiredlambdanumberrequiredcvobjectrowsarray of objectrequired · at most 5000 itemsminImpressionsintegerrequired · -9007199254740991 to 9007199254740991fittedAtstringrequired · at least 1 charactersfittedBystringrequired
creatorVettingCreator vetting: the last brand-safety check of stored posts (rules that would fail, with examples), the last fraud check and any override with its reason.Brand team
Creator vetting: the last brand-safety check of stored posts (rules that would fail, with examples), the last fraud check and any override with its reason. Creator keys cannot read it.
GET /api/v1/creatorVetting · GET /api/v1/creatorVetting/{id}
Row fields (CreatorVetting)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersbrandSafetyobjectfraudobjectfraudOverrideobjectupdatedAtstringrequired · at least 1 characters
deepChecksDeep checks of creators' past posts: per post, what the platform let the app read (video, image or text), the findings with the exact quote and its time, what was not checked and why, the estimate, and when the downloaded media was deleted.Brand team
Deep checks of creators' past posts: per post, what the platform let the app read (video, image or text), the findings with the exact quote and its time, what was not checked and why, the estimate, and when the downloaded media was deleted. Creator keys cannot read it.
GET /api/v1/deepChecks · GET /api/v1/deepChecks/{id}
Row fields (DeepCheck)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersstatus"queued" | "running" | "done" | "failed"requiredtrigger"manual" | "roster"requiredmode"live" | "local"requiredrequestedBystringrequired · at most 200 charactersrequestedByUserIdstringcreatedAtstringrequired · at least 1 charactersstartedAtstring · at least 1 characterscompletedAtstring · at least 1 charactersmaxPostsintegerrequired · 1 to 50estimateobjectrequiredmissingarray of stringrequired · at most 20 itemsprovidersobjectrequired · default {}postsarray of objectrequired · at most 50 itemscategoriesarray of objectrequired · at most 20 itemssummaryobjectrequiredmediaDeletedbooleanrequiredmediaDeletedAtstring · at least 1 charactersmediaDeleteErrorsinteger · 0 to 9007199254740991errorstring · at most 600 charactersnotestring · at most 600 characters
pagesLanding pages: the program page and creator pages at /p/<brand>/<page>, with every version's copy, the approved version and claims each was built from, and what is published.Brand team
Landing pages: the program page and creator pages at /p/<brand>/<page>, with every version's copy, the approved version and claims each was built from, and what is published. Creator keys cannot read it.
GET /api/v1/pages · GET /api/v1/pages/{id}
Row fields (LandingPage)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterscreatorIdstring · at least 1 characterssubmissionIdstring · at least 1 characterscreatorSlugstringcontentobjectkind"program" | "creator"requiredtitlestringrequiredurlstringrequiredstatus"draft" | "deployed" | "unpublished"requiredversionsarray of objectrequiredleadsarray of objectrequiredcreatedAtstringrequired · at least 1 characterspageSlugstringassetIdstring · at least 1 characterscontentHashstringpublishedVersioninteger · -9007199254740991 to 9007199254740991publishedAtstring · at least 1 characterspublishedBystringunpublishedAtstring · at least 1 characters
sampleRequestsSample requests: products, status, the shipping order, the gift-cap check made at approval, and the refundable deposit with its history.Brand teamCreator
Sample requests: products, status, the shipping order, the gift-cap check made at approval, and the refundable deposit with its history. Creator keys read only their own rows.
With a creator key: Your sample requests, with the shipping order and your deposit's status and history.
GET /api/v1/sampleRequests · GET /api/v1/sampleRequests/{id}
Row fields (SampleRequest)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersproductIdsarray of stringrequired · at least 1 itemsvariantIdsobjectprogramIdstring · at least 1 charactersaddressobjectrequirednotestringstatus"requested" | "approved" | "shipped" | "delivered" | "declined" | "cancelled"requiredreasonstringtrackingRefstringshipVia"shopify" | "manual" | "simulated"orderobjectdeliveredAtstring · at least 1 characterscontentDueAtstring · at least 1 charactersdepositobjectgiftCheckobjectcreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
salesOrders credited to creators: from tracked links and codes, TikTok Shop affiliate orders and Amazon Attribution day rows, with order lines, customer order count and subscription kind when the store reports them.Brand teamCreator
Orders credited to creators: from tracked links and codes, TikTok Shop affiliate orders and Amazon Attribution day rows, with order lines, customer order count and subscription kind when the store reports them. Creator keys read only their own rows.
With a creator key: Orders credited to you, with the version and the source.
GET /api/v1/sales · GET /api/v1/sales/{id}
Row fields (Sale)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersorderIdstringrequired · at least 1 charactersorderNamestringamountUsdnumberrequiredcurrencystringrequired · 3 charactersorderedAtstring · at least 1 charactersattributedAtstringrequired · at least 1 charactersclickIdstring · at least 1 charactersclickedAtstring · at least 1 characterssubmissionIdstring · at least 1 charactersadIdstring · at least 1 charactersprogramIdstring · at least 1 charactersassetIdstring · at least 1 characterslaunchIdstring · at least 1 characterscodestringdiscountCodestringvia"link" | "code" | "link_and_code"joinedBy"order_click" | "click_code" | "pixel_visitor" | "pixel_purchase" | "creator_code"model"last_click" | "first_click"requiredsource"shopify" | "orders_api" | "sample" | "tiktok_shop" | "amazon"required · default "shopify"refundedbooleanrefundedUsdnumberrefundedAtstring · at least 1 characterslinesarray of object · at most 250 itemscustomerOrderCountinteger · 0 to 9007199254740991subscription"first" | "recurring"unitsinteger · 0 to 9007199254740991
briefImportsProduct pages read for a brief: the link or pasted text, how it was read (the model or plain rules), the product name, claims and offers with the page's own words, the images, and the claims it added to the claims library as waiting for approval.Brand team
Product pages read for a brief: the link or pasted text, how it was read (the model or plain rules), the product name, claims and offers with the page's own words, the images, and the claims it added to the claims library as waiting for approval. Creator keys cannot read it.
GET /api/v1/briefImports · GET /api/v1/briefImports/{id}
Row fields (BriefImport)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstring · at least 1 characterssource"url" | "text"requiredurlstring · at most 2000 characterstextstring · at most 50000 charactersstatus"queued" | "running" | "done" | "failed"requiredmethod"model" | "rules"modelstring · at most 200 charactersnotestring · at most 500 charactersresultobjectclaimIdsarray of stringrequired · default []errorstring · at most 500 characterscreatedBystringrequiredcreatedAtstringrequired · at least 1 charactersfinishedAtstring · at least 1 characters
creatorBriefsOne creator's brief in one program: the angles, hooks, deliverables, due date, pay and note set for them only.Brand teamCreator
One creator's brief in one program: the angles, hooks, deliverables, due date, pay and note set for them only. Empty fields follow the program. Creator keys read only their own rows.
With a creator key: Your own brief for each program: the angles, hooks, deliverables, due date, pay and note the brand set for you.
GET /api/v1/creatorBriefs · GET /api/v1/creatorBriefs/{id}
Row fields (CreatorBrief)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersprogramIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersanglesarray of objectrequired · at most 10 items, default []hooksarray of stringrequired · at most 10 items, default []deliverablesarray of objectrequired · at most 10 items, default []dueAtstring · at least 1 characterspayRuleobjectnotestring · at most 1000 characterscreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 charactersupdatedBystringrequired
outreachDraftsOutreach drafts: the email, the facts it was built from with their sources, whether the template or the model wrote it, and the sequence it went out with.Brand team
Outreach drafts: the email, the facts it was built from with their sources, whether the template or the model wrote it, and the sequence it went out with. Creator keys cannot read it.
GET /api/v1/outreachDrafts · GET /api/v1/outreachDrafts/{id}
Row fields (OutreachDraft)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersbatchIdstringrequired · at least 1 characterssubjectstringrequiredbodystringrequiredstatus"draft" | "approved" | "sent"requiredcreatedAtstringrequired · at least 1 charactersapprovedBystringapprovedAtstring · at least 1 charactersprogramIdstring · at least 1 charactersmethod"template" | "model"modelstring · at most 200 charactersfactsarray of object · at most 20 itemsmodelStatus"queued" | "done" | "rejected" | "failed" | "skipped"notestring · at most 500 characterssentViaobject
fatigueDiagnosesFatigue diagnoses of the brand's live creator ads, one per day of results: each finding with its exact numbers and dates, the daily series, the tired, strong and untried angles and hooks, the brief section and who wrote it (the template or the model), and where people added it.Brand team
Fatigue diagnoses of the brand's live creator ads, one per day of results: each finding with its exact numbers and dates, the daily series, the tired, strong and untried angles and hooks, the brief section and who wrote it (the template or the model), and where people added it. Creator keys cannot read it.
GET /api/v1/fatigueDiagnoses · GET /api/v1/fatigueDiagnoses/{id}
Row fields (FatigueDiagnosis)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersstatus"fatigue_found" | "no_fatigue" | "not_enough_data"requiredasOfstringrequiredsincestringrequiredwindowDaysintegerrequired · -9007199254740991 to 9007199254740991compareDaysintegerrequired · -9007199254740991 to 9007199254740991liveAdsintegerrequired · -9007199254740991 to 9007199254740991comparedAdsintegerrequired · -9007199254740991 to 9007199254740991accountobjectrequiredfindingsarray of objectrequired · at most 200 itemssuggestionsarray of objectrequired · at most 100 itemstemplateobjectrequiredwordingobjectrequiredfactsHashstringrequired · at most 64 charactersappliedarray of objectrequired · at most 500 items, default []trigger"daily" | "person"requiredcreatedBystringrequired · at most 200 characterscreatedAtstringrequired · at least 1 charactersupdatedAtstring · at least 1 characters
creativeReviewsCreative reviews of uploaded videos: the status, the upload it watched, the verdict (re-edit or retire), the findings with their times, the numbered brief, the variations, the clips worth keeping, what the fact check left out, and the model that answered.Brand team
Creative reviews of uploaded videos: the status, the upload it watched, the verdict (re-edit or retire), the findings with their times, the numbered brief, the variations, the clips worth keeping, what the fact check left out, and the model that answered. Creator keys cannot read it.
GET /api/v1/creativeReviews · GET /api/v1/creativeReviews/{id}
Row fields (CreativeReview)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 characterskind"single"requiredstatus"queued" | "running" | "done" | "failed"requireduploadedAtstring · at least 1 charactersnumbersobjectnumbersSource"typed" | "ads"requestedByobjectrequiredmodelstring · at most 200 charactersinput"video" | "frames" | "transcript"verdict"re_edit" | "retire"summarystring · at most 800 charactersfindingsarray of objectrequired · at most 12 items, default []briefarray of objectrequired · at most 12 items, default []variationsarray of objectrequired · at most 3 items, default []salvagearray of objectrequired · at most 10 items, default []droppedarray of objectrequired · at most 40 items, default []errorstring · at most 1000 characterscostUsdnumbercreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
editBriefsBrief re-edits: the brief and its steps, the variations and shapes, the status, each draft's id, checklist, warnings and approval, and the versions rendered from the drafts marked ready.Brand team
Brief re-edits: the brief and its steps, the variations and shapes, the status, each draft's id, checklist, warnings and approval, and the versions rendered from the drafts marked ready. Creator keys cannot read it.
GET /api/v1/editBriefs · GET /api/v1/editBriefs/{id}
Row fields (EditBrief)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersreviewIdstring · at least 1 charactersbriefstringrequired · at most 6000 charactersstepsarray of objectrequired · at most 12 itemsvariationsarray of objectrequired · at most 3 itemsaspectsarray of "9:16" | "4:5" | "1:1" | "16:9"required · 1 to 3 itemsstatus"queued" | "running" | "ready" | "failed"requiredassistantstring · at most 200 charactersbaseAssetIdstring · at least 1 charactersdraftsarray of objectrequired · at most 3 itemsrenderedarray of objectrequired · at most 12 itemsrequestedByobjectrequirederrorstring · at most 1000 characterscreatedAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
launchHoldsThe brand's record of where else a video was submitted or contracted, one row per video: the answer (elsewhere, where), any paid usage or exclusivity restrictions, who recorded it and when, and the clearance of a held video.Brand team
The brand's record of where else a video was submitted or contracted, one row per video: the answer (elsewhere, where), any paid usage or exclusivity restrictions, who recorded it and when, and the clearance of a held video. The launch hold reads it before the creator's own answer on the submission. Creator keys cannot read it.
GET /api/v1/launchHolds · GET /api/v1/launchHolds/{id}
Row fields (LaunchHold)
elsewhere"yes" | "no" | "unknown"requiredwherestring · at most 120 charactersrestrictionsstring · at most 1000 charactersbystringrequiredatstringrequired · at least 1 charactersclearanceobjectidstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characters
competitorWatchesCompetitors the brand watches in Meta's Ad Library: Page ids, search terms, countries and the last sync's result.Brand team
Competitors the brand watches in Meta's Ad Library: Page ids, search terms, countries and the last sync's result. Creator keys cannot read it.
GET /api/v1/competitorWatches · GET /api/v1/competitorWatches/{id}
Row fields (CompetitorWatch)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 120 characterspageIdsarray of stringrequired · at most 10 itemssearchTermsarray of stringrequired · at most 5 itemscountriesarray of stringrequired · 1 to 30 itemsactivebooleanrequiredcreatedAtstringrequired · at least 1 characterscreatedBystringrequiredupdatedAtstring · at least 1 characterslastSyncAtstring · at least 1 characterslastSyncStatus"queued" | "ok" | "error" | "not_set_up"lastSyncMessagestring · at most 600 characterslastSyncAdsinteger · 0 to 9007199254740991simulatedboolean
competitorAdsCompetitor ads Meta's Ad Library returned: Page, delivery start and stop, platforms, ad text, snapshot link, and for EU and UK ads the reach, targeting and payer fields Meta returns.Brand team
Competitor ads Meta's Ad Library returned: Page, delivery start and stop, platforms, ad text, snapshot link, and for EU and UK ads the reach, targeting and payer fields Meta returns. Public data from Meta, no spend. Creator keys cannot read it.
GET /api/v1/competitorAds · GET /api/v1/competitorAds/{id}
Row fields (CompetitorAd)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterswatchIdsarray of stringrequired · at most 50 itemsarchiveIdstringrequired · 1 to 40 characterspageIdstring · at most 40 characterspageNamestring · at most 300 characterscreatedTimestring · at most 40 charactersstartedAtstring · at most 40 charactersstoppedAtstring · at most 40 charactersplatformsarray of stringrequired · at most 10 itemslanguagesarray of stringrequired · at most 20 itemsbodiesarray of stringrequired · at most 30 itemstitlesarray of stringrequired · at most 30 itemscaptionsarray of stringrequired · at most 30 itemsdescriptionsarray of stringrequired · at most 30 itemssnapshotUrlstring · at most 2048 charactersmedia"video" | "other" | "unknown"requiredeuTotalReachinteger · 0 to 9007199254740991reachByLocationarray of object · at most 10 itemstargetAgesarray of string · at most 10 itemstargetGenderstring · at most 20 characterstargetLocationsarray of object · at most 50 itemsbeneficiaryPayersarray of object · at most 10 itemsfirstSeenAtstringrequired · at least 1 characterslastSeenAtstringrequired · at least 1 charactersactivebooleanrequiredsimulatedboolean
liftStudiesMeta lift studies the brand created or linked: the plan, the status, and Meta's results per objective and cell under Meta's own field names.Brand team
Meta lift studies the brand created or linked: the plan, the status, and Meta's results per objective and cell under Meta's own field names. Creator keys cannot read it.
GET /api/v1/liftStudies · GET /api/v1/liftStudies/{id}
Row fields (LiftStudy)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequired · 1 to 200 characterslaunchIdstring · at least 1 charactersorigin"created" | "linked"requiredstatus"queued" | "created" | "waiting" | "results" | "refused" | "failed"requiredmetaStudyIdstring · pattern ^\d{1,30}$planobjectmetaobjectobjectivesarray of objectrequired · at most 20 items, default []messagestring · at most 800 characterslastReadAtstring · at least 1 characterscreatedAtstringrequired · at least 1 characterscreatedBystringrequiredsimulatedboolean
videoAgentsThe video agent of each submission: its stage, what the video waits on and from whom, the next step and when, chase counts, a proposed edit, and a log of what it did and why, with who wrote each message (the model or the template).Brand teamCreator
The video agent of each submission: its stage, what the video waits on and from whom, the next step and when, chase counts, a proposed edit, and a log of what it did and why, with who wrote each message (the model or the template). Creator keys read only their own rows.
With a creator key: The video agent of your videos: what waits on you, the next step and when, an edit it proposed, and what it sent and why.
GET /api/v1/videoAgents · GET /api/v1/videoAgents/{id}
Row fields (VideoAgent)
idstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 characterssubmissionIdstringrequired · at least 1 characterscreatorIdstringrequired · at least 1 charactersstatus"active" | "paused" | "stopped"requiredstage"review" | "fixes" | "edit" | "reshoot" | "new_version" | "approval" | "rights" | "launch" | "done"requiredwaitingOnobjectrequirednextActionobjectchasesarray of objectrequired · at most 20 items, default []proposalobjectreshootobjectstoppedReason"approved" | "launched" | "withdrawn" | "program_closed"stoppedAtstring · at least 1 charactersrestartedAtstring · at least 1 characterspausedAtstring · at least 1 characterspausedBystring · at most 200 characterspauseNotestring · at most 500 characterslogarray of objectrequired · at most 100 items, default []createdAtstringrequired · at least 1 charactersupdatedAtstringrequired · at least 1 characters
Methods
POST /api/v1/methods/<group.method> runs the same method the app runs, with the same permission checks, money limits and approval rules. Each method needs its scope. A method that runs another method on the way also needs the scope of that method, and its description names it. The answer is { data, simulated, dryRun, activity }.
Submissions submissions:write
Send videos and new versions, run review checklists, send review notes, tag submissions, list the open work in the inbox and give it an owner.
aiReview.acknowledgeAcknowledge the guideline check (creator)Creator
Runs aiReview.acknowledge as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: reviewId: string.
Arguments (tuple)
0: reviewIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/aiReview.acknowledge" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["review-…"]}'aiReview.overrideOverride the guideline checkBrand team
Runs aiReview.override as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the reviews.ai_override permission. Arguments, in order: reviewId: string; verdict: ReviewVerdict; reason: string.
Arguments (tuple)
0: reviewIdstringrequired · 1 to 200 characters1: verdict"pass" | "needs_changes" | "blocked"required2: reasonstringrequired · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/aiReview.override" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["review-…","pass","…"]}'aiReview.runRun the guideline checkBrand teamCreator
Runs aiReview.run as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/aiReview.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'creative.setAssetApprovalSet asset approvalBrand team
Runs creative.setAssetApproval as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string; decision: "approved" | "rejected"; note (optional): string; override (optional): { reason: string }; contentHash (optional): string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: decision"approved" | "rejected"required2: notestring | null3: overrideobject | nullreasonstringrequired · at most 1000 characters
4: contentHashstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/creative.setAssetApproval" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","approved"]}'creative.understandVideoDescribe a videoBrand team
Runs creative.understandVideo as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/creative.understandVideo" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'extras.addAdd extrasCreator
Runs extras.add as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own.
Arguments (tuple)
0stringrequired · 1 to 200 characters1objectrequiredkind"hook" | "broll" | "other"requiredtitlestringrequired · 1 to 120 characterspriceUsdnumberrequired · 1 to 10000mediaobjecturlstring · at most 2000 characters, uridurationSecnumber · 0 to 36000
curl -X POST "https://gettopspin.com/api/v1/methods/extras.add" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…",{"kind":"hook","title":"…","priceUsd":1}]}'extras.withdrawWithdraw extrasCreator
Runs extras.withdraw as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/extras.withdraw" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'inbox.listList the open work in the brand, with who owns each next stepBrand team
Runs inbox.list as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Any brand team member.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/inbox.list" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'review.draftNotesDraft notesBrand team
Runs review.draftNotes as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/review.draftNotes" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'review.resubmitSend a new version (creator)Creator
Runs review.resubmit as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: submissionId: string; url: string; note (optional): string; media (optional): SubmissionMedia.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: urlstring | ""required2: notestring | null3: mediaobject | nullstorageKeystringrequired · 1 to 500 charactersmimeType"video/mp4" | "video/quicktime" | "video/webm"requiredsizeBytesintegerrequired · 1 to 2147483648uploadedAtstringrequired · at most 40 characters
curl -X POST "https://gettopspin.com/api/v1/methods/review.resubmit" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","https://example.com/…"]}'review.runChecklistRun the review checklistBrand team
Runs review.runChecklist as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/review.runChecklist" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'review.sendNotesSend review notesBrand team
Runs review.sendNotes as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission. Arguments, in order: submissionId: string; text: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: textstringrequired · 1 to 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/review.sendNotes" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","…"]}'review.setFavoriteMark submissions as favoritesBrand team
Runs review.setFavorite as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionIds: string[]; favorite: boolean.
Arguments (tuple)
0: submissionIdsarray of stringrequired · at most 500 items1: favoritebooleanrequired
curl -X POST "https://gettopspin.com/api/v1/methods/review.setFavorite" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["submission-…"],true]}'review.submitVideoSend a video (creator)Creator
Runs review.submitVideo as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: params: SubmitVideoParams.
Arguments (tuple)
0: paramsobjectrequiredprogramIdstringrequired · 1 to 200 characterscreatorIdstringrequired · 1 to 200 charactersurlstring | ""requiredangleIdstring · 1 to 200 charactershookstring · at most 300 characterstitlestring · at most 200 charactersproductIdstring · 1 to 200 characterspostingIntent"exclusive" | "cross_posting"priorUseobjectcreatorNotesstring · at most 2000 characterscontentType"video" | "image"conceptGroupIdstring · 1 to 200 charactersonBehalfbooleanmediaobjecteditTermsobject
curl -X POST "https://gettopspin.com/api/v1/methods/review.submitVideo" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"programId":"program-…","creatorId":"creator-…","url":"https://example.com/…"}]}'routing.assignGive one piece of open work to a team member, or back to the routing rulesBrand team
Runs routing.assign as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review or payments.approve permission. Arguments, in order: subjectKind: "submission" | "fix" | "rightsRequest" | "payout" | "payoutTransfer"; subjectId: string; userId (optional): string | null.
Arguments (tuple)
0: subjectKind"submission" | "fix" | "rightsRequest" | "payout" | "payoutTransfer"required1: subjectIdstringrequired · 1 to 200 characters2: userIdstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/routing.assign" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission","subject-…"]}'routing.dealStore the owners the routing rules give the open work that has noneBrand team
Runs routing.deal as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Any brand team member.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/routing.deal" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'scoring.scoreConversionScore conversionBrand team
Runs scoring.scoreConversion as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/scoring.scoreConversion" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'teamAgent.queueQueue team agentBrand team
Runs teamAgent.queue as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.queue" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'teamAgent.videoVideo team agentBrand team
Runs teamAgent.video as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with brand team keys. Brand team members with the submissions.review permission.
Arguments (tuple)
0stringrequired · 2 to 100 characters
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.video" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'uploadLinks.submitSubmit upload linksCreator
Runs uploadLinks.submit as the key's person, with the same checks as the app. Needs the submissions:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own.
Arguments (tuple)
0stringrequired · pattern ^[A-Za-z0-9_-]{43}$1objectrequiredhookstring · at most 200 characterstitlestring · at most 200 characterscreatorNotesstring · at most 1000 characterspostingIntent"exclusive" | "cross_posting"priorUseobjectmediaobjecturlstring · at most 2000 characters, urieditTermsobject
curl -X POST "https://gettopspin.com/api/v1/methods/uploadLinks.submit" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…",{}]}'Evidence review evidence:write
Run evidence reviews and creative reviews, decide findings, answer findings and label review quality.
creativeReview.diagnoseReview a video's creative: re-edit or retire, what goes wrong, and an editor's briefBrand team
Runs creativeReview.diagnose as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Brand team members with the submissions.review or ads.insights permission. Arguments, in order: submissionId: string; numbers (optional): { spendUsd?: number; purchases?: number; roas?: number; accountRoas?: number }.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: numbersobject | nullspendUsdnumber · 0 to 100000000purchasesinteger · 0 to 10000000roasnumber · 0 to 1000accountRoasnumber · 0 to 1000
curl -X POST "https://gettopspin.com/api/v1/methods/creativeReview.diagnose" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'evidence.adjudicateConfirm or dismiss a findingBrand team
Runs evidence.adjudicate as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Brand team members with the review.adjudicate permission. Arguments, in order: params: { submissionId: string; checkKey: string; decision: AdjudicationDecision; materiality: "material" | "minor"; reason: string; version?: number }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characterscheckKeystringrequired · at most 300 charactersdecision"confirm" | "dismiss"requiredmateriality"material" | "minor"requiredreasonstringrequired · 1 to 1000 charactersversioninteger · 1 to 9007199254740991
curl -X POST "https://gettopspin.com/api/v1/methods/evidence.adjudicate" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","checkKey":"…","decision":"confirm","materiality":"material","reason":"…"}]}'evidence.backtestClaimsTest a claims list against past reviewsBrand team
Runs evidence.backtestClaims as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Any brand team member. Arguments, in order: params: { approved: { id: string; text: string }[]; banned: { id: string; text: string }[]; limit?: number }.
Arguments (tuple)
0: paramsobjectrequiredapprovedarray of objectrequired · at most 300 itemsbannedarray of objectrequired · at most 300 itemslimitinteger · 1 to 100
curl -X POST "https://gettopspin.com/api/v1/methods/evidence.backtestClaims" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"approved":[{"id":"…","text":"…"}],"banned":[{"id":"…","text":"…"}]}]}'evidence.respondAnswer a finding (creator)Creator
Runs evidence.respond as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: params: { submissionId: string; checkKey: string; response: "acknowledged" | "disputed"; note?: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characterscheckKeystringrequired · at most 300 charactersresponse"acknowledged" | "disputed"requirednotestring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/evidence.respond" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","checkKey":"…","response":"acknowledged"}]}'evidence.runRun the evidence reviewBrand teamCreator
Runs evidence.run as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/evidence.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'precheck.runCheck a draft video privately before sending itCreator
Runs precheck.run as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: request: { programId: string; media?: SubmissionMedia; hook?: string }.
Arguments (tuple)
0: requestobjectrequiredprogramIdstringrequired · 1 to 200 charactersmediaobjecthookstring · at most 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/precheck.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"programId":"program-…"}]}'productEvents.recordReviewOpenedRecord that a reviewer opened the evidence reviewBrand team
Runs productEvents.recordReviewOpened as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/productEvents.recordReviewOpened" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'quality.labelLabel a review resultBrand team
Runs quality.label as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Brand team members with the quality.manage permission. Arguments, in order: params: { submissionId: string; checkFamily: string; truth: LabelTruth; materiality: "material" | "minor"; set: "calibration" | "holdout"; note?: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characterscheckFamilystringrequired · at most 300 characterstruth"issue" | "no_issue" | "ambiguous"requiredmateriality"material" | "minor"requiredset"calibration" | "holdout"requirednotestring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/quality.label" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","checkFamily":"…","truth":"issue","materiality":"material","set":"calibration"}]}'quality.runRun the review quality benchmarkBrand team
Runs quality.run as the key's person, with the same checks as the app. Needs the evidence:write scope. Callable with brand team keys. Brand team members with the quality.manage permission. Arguments, in order: set: "calibration" | "holdout" | "all".
Arguments (tuple)
0: set"calibration" | "holdout" | "all"required
curl -X POST "https://gettopspin.com/api/v1/methods/quality.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["calibration"]}'Fixes fixes:write
Propose, send and answer fixes and suggested edits, comment on versions at a timecode, and pause, resume or chase with the video agent.
comments.addAdd commentsBrand teamCreator
Runs comments.add as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the submissions.review permission. Arguments, in order: params: { submissionId: string; assetId?: string; atSec: number; endSec?: number; text: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 charactersassetIdstring · 1 to 200 charactersatSecnumberrequired · 0 to 36000endSecnumber · 0 to 36000textstringrequired · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/comments.add" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","atSec":1,"text":"…"}]}'comments.makeFixMake fixBrand team
Runs comments.makeFix as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: commentId: string; params (optional): { kind?: FixKind; instruction?: string }.
Arguments (tuple)
0: commentIdstringrequired · 1 to 200 characters1: paramsobject | nullkind"creator_instruction" | "bounded_edit" | "reshoot"instructionstring · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/comments.makeFix" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["comment-…"]}'comments.removeRemove commentsBrand teamCreator
Runs comments.remove as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the submissions.review permission. Arguments, in order: commentId: string.
Arguments (tuple)
0: commentIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/comments.remove" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["comment-…"]}'comments.replyReply commentsBrand teamCreator
Runs comments.reply as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the submissions.review permission. Arguments, in order: commentId: string; text: string.
Arguments (tuple)
0: commentIdstringrequired · 1 to 200 characters1: textstringrequired · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/comments.reply" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["comment-…","…"]}'comments.setStatusSet statusBrand teamCreator
Runs comments.setStatus as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the submissions.review permission. Arguments, in order: commentId: string; status: "open" | "resolved".
Arguments (tuple)
0: commentIdstringrequired · 1 to 200 characters1: status"open" | "resolved"required
curl -X POST "https://gettopspin.com/api/v1/methods/comments.setStatus" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["comment-…","open"]}'edits.respondAnswer a suggested edit (creator)Creator
Runs edits.respond as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: suggestionId: string; consent: Exclude<SuggestionConsent, "pending">; reason (optional): string; rerecordUrl (optional): string.
Arguments (tuple)
0: suggestionIdstringrequired · 1 to 200 characters1: consent"approved" | "rejected" | "rerecord"required2: reasonstring | null3: rerecordUrlstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/edits.respond" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["suggestion-…","approved"]}'edits.sendToCreatorSend to creatorBrand team
Runs edits.sendToCreator as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: suggestionId: string.
Arguments (tuple)
0: suggestionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/edits.sendToCreator" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["suggestion-…"]}'edits.suggestSuggest editsBrand team
Runs edits.suggest as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: params: { submissionId: string; type: SuggestionType; trigger: "prelaunch" | "postlaunch"; title?: string; explanation?: string; changes?: { atSec?: number; description: string }[]; ops?: EditOp[] }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characterstype"resequence" | "recut" | "audio" | "visual" | "broll" | "talking_head"requiredtrigger"prelaunch" | "postlaunch"requiredtitlestring · at most 200 charactersexplanationstring · at most 2000 characterschangesarray of object · at most 50 itemsopsarray of object · at most 400 items
curl -X POST "https://gettopspin.com/api/v1/methods/edits.suggest" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","type":"resequence","trigger":"prelaunch"}]}'fixes.proposeDraft fixes from findingsBrand team
Runs fixes.propose as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/fixes.propose" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'fixes.respondAccept or dispute a fix (creator)Creator
Runs fixes.respond as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: fixId: string; answer: "accepted" | "disputed"; note (optional): string.
Arguments (tuple)
0: fixIdstringrequired · 1 to 200 characters1: answer"accepted" | "disputed"required2: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/fixes.respond" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["fix-…","accepted"]}'fixes.sendSend fixes as a revision roundBrand team
Runs fixes.send as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission. Arguments, in order: submissionId: string; fixIds: string[]; dueAt (optional): string; note (optional): string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: fixIdsarray of stringrequired · 1 to 50 items2: dueAtstring | null3: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/fixes.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…",["fix-…"]]}'fixes.updateChange or drop a draft fixBrand team
Runs fixes.update as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: fixId: string; patch: { instruction?: string; kind?: FixKind; dueAt?: string; ownerName?: string; drop?: boolean }.
Arguments (tuple)
0: fixIdstringrequired · 1 to 200 characters1: patchobjectrequiredinstructionstring · at most 2000 characterskind"creator_instruction" | "bounded_edit" | "reshoot"dueAtstring · at most 40 charactersownerNamestring · at most 120 charactersdropboolean
curl -X POST "https://gettopspin.com/api/v1/methods/fixes.update" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["fix-…",{}]}'videoAgent.answerProposalAnswer proposalCreator
Runs videoAgent.answerProposal as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with creator keys. A call can also run studio.render, which needs the studio:write scope. If the key does not have that scope, the call stops with 403 (code scope) when it gets there, and saves nothing. Creators only: the method checks the row is the creator's own.
Arguments (tuple)
0stringrequired · 1 to 200 characters1"accept" | "decline"required2string | null
curl -X POST "https://gettopspin.com/api/v1/methods/videoAgent.answerProposal" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…","accept"]}'videoAgent.chaseNowChase nowBrand team
Runs videoAgent.chaseNow as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/videoAgent.chaseNow" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'videoAgent.pausePause video agentBrand team
Runs videoAgent.pause as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters1string | null
curl -X POST "https://gettopspin.com/api/v1/methods/videoAgent.pause" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'videoAgent.resumeResume video agentBrand team
Runs videoAgent.resume as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/videoAgent.resume" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'videoAgent.runDueRun dueBrand team
Runs videoAgent.runDue as the key's person, with the same checks as the app. Needs the fixes:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission.
Arguments (array of any | tuple)
0string | null
curl -X POST "https://gettopspin.com/api/v1/methods/videoAgent.runDue" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'Video editor studio:write
Save edit drafts, turn an editor's brief into drafts and render the approved ones, render new versions, edit and translate captions, run auto frame, and manage licensed music and the video library.
assist.autoFrameAuto frameBrand teamCreator
Runs assist.autoFrame as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the edits.suggest permission. Arguments, in order: params: { submissionId: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/assist.autoFrame" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…"}]}'assist.describePictureDescribe pictureBrand teamCreator
Runs assist.describePicture as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the edits.suggest permission. Arguments, in order: params: { submissionId: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/assist.describePicture" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…"}]}'assist.translateCaptionsTranslate captionsBrand teamCreator
Runs assist.translateCaptions as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Creators, on their own rows (the method checks), and brand team members with the edits.suggest permission. Arguments, in order: params: { submissionId: string; language: string; segments: { start: number; end: number; text: string; words?: { w: string; s: number; e: number }[] }[] }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 characterslanguagestringrequired · at most 8 characterssegmentsarray of objectrequired · 1 to 400 items
curl -X POST "https://gettopspin.com/api/v1/methods/assist.translateCaptions" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","language":"…","segments":[{"start":1,"end":1,"text":"…"}]}]}'audio.addAdd a licensed trackBrand team
Runs audio.add as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the audio.manage permission. Arguments, in order: params: { name: string; artist?: string; storageKey: string; mimeType: string; durationSec?: number; license: { kind: "owned" | "licensed" | "library"; source: string; proofUrl?: string; expiresAt?: string } }.
Arguments (tuple)
0: paramsobjectrequirednamestringrequired · 1 to 120 charactersartiststring · at most 120 charactersstorageKeystringrequired · 1 to 500 charactersmimeType"audio/mpeg" | "audio/mp4" | "audio/wav" | "audio/x-wav" | "audio/aac"requireddurationSecnumber · 0 to 3600licenseobjectrequired
curl -X POST "https://gettopspin.com/api/v1/methods/audio.add" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","storageKey":"…","mimeType":"audio/mpeg","license":{"kind":"owned","source":"…"}}]}'audio.retireRetire a trackBrand team
Runs audio.retire as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the audio.manage permission. Arguments, in order: trackId: string.
Arguments (tuple)
0: trackIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/audio.retire" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["track-…"]}'captions.renderRender captionsBrand team
Runs captions.render as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the captions.edit permission. Arguments, in order: captionId: string.
Arguments (tuple)
0: captionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/captions.render" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["caption-…"]}'captions.saveSave captionsBrand team
Runs captions.save as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the captions.edit permission. Arguments, in order: params: { assetId: string; platform: AdPlatform; segments: CaptionSegment[]; stylePreset: string }.
Arguments (tuple)
0: paramsobjectrequiredassetIdstringrequired · 1 to 200 charactersplatform"meta" | "google" | "tiktok" | "pinterest" | "vibe" | "snapchat"requiredsegmentsarray of objectrequired · at most 1000 itemsstylePresetstringrequired · at most 60 characters
curl -X POST "https://gettopspin.com/api/v1/methods/captions.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"assetId":"asset-…","platform":"meta","segments":[{"start":1,"end":1,"text":"…"}],"stylePreset":"…"}]}'captions.transcribeTranscribe a versionBrand team
Runs captions.transcribe as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the captions.edit permission. Arguments, in order: assetId: string.
Arguments (tuple)
0: assetIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/captions.transcribe" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["asset-…"]}'editBriefs.approveDraftApprove one draft of a brief re-edit for rendering, or take the approval backBrand team
Runs editBriefs.approveDraft as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: briefId: string; draftId: string; approved: boolean.
Arguments (tuple)
0: briefIdstringrequired · 1 to 200 characters1: draftIdstringrequired · 1 to 200 characters2: approvedbooleanrequired
curl -X POST "https://gettopspin.com/api/v1/methods/editBriefs.approveDraft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["brief-…","draft-…",true]}'editBriefs.planTurn an editor's brief into edit drafts, one per variation, with a checklist of each stepBrand team
Runs editBriefs.plan as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: submissionId: string; params: { brief: string; variations?: { label: string; name?: string; opener: string }[]; aspects?: ("9:16" | "4:5" | "1:1" | "16:9")[]; reviewId?: string }.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: paramsobjectrequiredbriefstringrequired · 1 to 6000 charactersvariationsarray of object · at most 3 itemsaspectsarray of "9:16" | "4:5" | "1:1" | "16:9" · 1 to 3 itemsreviewIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/editBriefs.plan" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…",{"brief":"…"}]}'editBriefs.renderRender each approved draft of a brief re-edit as one version per shapeBrand team
Runs editBriefs.render as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: briefId: string.
Arguments (tuple)
0: briefIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/editBriefs.render" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["brief-…"]}'library.addAdd libraryBrand team
Runs library.add as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: params: { name: string; storageKey: string; mimeType: string; sizeBytes?: number; durationSec?: number; width?: number; height?: number; rights: MediaLibraryItem["rights"] }.
Arguments (tuple)
0: paramsobjectrequirednamestringrequired · at most 120 charactersstorageKeystringrequired · at most 500 charactersmimeTypestringrequired · at most 100 characterssizeBytesinteger · 0 to 2000000000durationSecnumber · 0 to 36000widthinteger · 1 to 10000heightinteger · 1 to 10000rightsobjectrequired
curl -X POST "https://gettopspin.com/api/v1/methods/library.add" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","storageKey":"…","mimeType":"…","rights":{"kind":"owned","note":"…"}}]}'library.retireRetire libraryBrand team
Runs library.retire as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: itemId: string.
Arguments (tuple)
0: itemIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/library.retire" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["item-…"]}'library.updateUpdate libraryBrand team
Runs library.update as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys. Brand team members with the edits.suggest permission. Arguments, in order: itemId: string; patch: { name?: string; rights?: MediaLibraryItem["rights"] }.
Arguments (tuple)
0: itemIdstringrequired · 1 to 200 characters1: patchobjectrequirednamestring · at most 120 charactersrightsobject
curl -X POST "https://gettopspin.com/api/v1/methods/library.update" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["item-…",{}]}'studio.deleteDraftDelete an edit draftBrand teamCreator
Runs studio.deleteDraft as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: draftId: string.
Arguments (tuple)
0: draftIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/studio.deleteDraft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["draft-…"]}'studio.renderRender an edit as a new versionBrand teamCreator
Runs studio.render as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: params: { submissionId: string; parentAssetId?: string; ops: EditOp[]; fixIds?: string[]; draftId?: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 charactersparentAssetIdstring · 1 to 200 charactersopsarray of objectrequired · 1 to 400 itemsfixIdsarray of string · at most 30 itemsdraftIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/studio.render" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","ops":[{"op":"trim","start":1,"end":1}]}]}'studio.saveDraftSave an edit draftBrand teamCreator
Runs studio.saveDraft as the key's person, with the same checks as the app. Needs the studio:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: params: { submissionId: string; draftId?: string; baseAssetId?: string; ops: EditOp[]; title?: string; label?: string; agentNote?: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 charactersdraftIdstring · 1 to 200 charactersbaseAssetIdstring · 1 to 200 charactersopsarray of objectrequired · at most 400 itemstitlestring · at most 120 characterslabelstring · at most 60 charactersagentNotestring · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/studio.saveDraft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","ops":[{"op":"trim","start":1,"end":1}]}]}'Approvals approvals:write
Approve or reject exact files, record approvals, reopen a decided review before launch, and buy extra clips. A bought clip's payout still waits for payment approval in the app.
app.recordApprovalRecord a confirmed actionBrand teamCreator
Runs app.recordApproval as the key's person, with the same checks as the app. Needs the approvals:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: record: ApprovalRecord.
Arguments (tuple)
0: recordobjectrequiredaction"creators.search" | "creators.score" | "creators.brand_mentions" | "creators.exclude" | "outreach.draft" | "outreach.send" | "outreach.reply" | "submissions.screen" | "submissions.approve" | "submissions.revise" | "submissions.reject" | "submissions.override" | "review.checklist" | "review.send_notes" | "scoring.conversion" | "edits.suggest" | "edits.resequence" | "edits.split_screen" | "edits.replace_voice" | "edits.broll" | "edits.talking_head" | "edits.send" | "edits.respond" | "rights.withdraw_preapproval" | "edits.score" | "launch.create" | "launch.copy" | "launch.go_live" | "launch.notify" | "captions.transcribe" | "captions.render" | "captions.save" | "analytics.refresh" | "analytics.triplewhale" | "analytics.journeys" | "analytics.northbeam" | "analytics.push_spend" | "attribution.connect" | "strategist.save" | "strategist.index" | "strategist.assess" | "payments.rule" | "payments.calculate" | "payments.approve_batch" | "payments.close_period" | "payments.request_early" | "payments.pay_early" | "payments.invoice" | "wallet.release_payout" | "contracts.send" | "contracts.sign" | "contracts.template" | "contracts.update" | "onboarding.invite" | "onboarding.import" | "onboarding.lead" | "review.resubmit" | "settings.claims" | "programs.research_reddit" | "programs.research_trends" | "programs.research_reviews" | "programs.research_tickets" | "programs.research_web" | "programs.research_surveys" | "programs.personas" | "programs.save" | "programs.apply" | "submissions.submit" | "assistant.plan" | "notifications.read" | "review.favorite" | "chat.send" | "chat.start" | "integrations.set_default" | "integrations.connect" | "integrations.reconnect" | "integrations.remove" | "integrations.pixel" | "integrations.mcp" | "ads.settings_save" | "ads.settings_copy" | "ads.create_campaign" | "ads.create_adset" | "ads.launch_tests" | "ads.set_budget" | "ads.scale" | "ads.rule_approve" | "launch.pull_copy" | "ads.pull_campaigns" | "ads.create_partnership" | "ads.create_brand" | "ads.request_permission" | "ads.enable_spend" | "ads.insights" | "payouts.approve" | "payouts.send" | "pages.generate" | "pages.deploy" | "pages.unpublish" | "deposits.terms" | "deposits.pay" | "deposits.waive" | "deposits.refund" | "deposits.sweep" | "giftRules.save" | "commission.save" | "commerce.sync" | "insights.save" | "settings.save_brand" | "seeding.ship" | "seeding.retry" | "codes.terms" | "codes.create" | "codes.disable" | "samples.decline" | "samples.deliver" | "samples.request" | "samples.cancel" | "samples.address" | "profile.save" | "partnerships.check_meta" | "partnerships.spark_code" | "payouts.setup" | "marketplace.request" | "marketplace.decide" | "creators.invite" | "creators.favorite" | "creators.archive" | "creators.videos" | "submissions.add_for_creator" | "guidelines.save" | "ai_review.run" | "ai_review.override" | "matching.run" | "reports.send" | "socials.sync" | "iam.policy" | "config.set" | "payouts.transfer" | "payouts.approve_transfer"requiredsummarystringrequired · 1 to 500 charactershrefstring · at most 300 characters, pattern ^\/(?![/\\])[^\\\s]*$
curl -X POST "https://gettopspin.com/api/v1/methods/app.recordApproval" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"action":"creators.search","summary":"…"}]}'approvals.decideApprove or reject an exact fileBrand teamCreator
Runs approvals.decide as the key's person, with the same checks as the app. Needs the approvals:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: params: { assetId: string; decision: "approved" | "rejected"; note?: string; platforms?: string[]; contentHash?: string; override?: { reason: string } }.
Arguments (tuple)
0: paramsobjectrequiredassetIdstringrequired · 1 to 200 charactersdecision"approved" | "rejected"requirednotestring · at most 1000 charactersplatformsarray of string · at most 10 itemscontentHashstring · at most 200 charactersoverrideobject
curl -X POST "https://gettopspin.com/api/v1/methods/approvals.decide" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"assetId":"asset-…","decision":"approved"}]}'approvals.reopenReopen a decided reviewBrand team
Runs approvals.reopen as the key's person, with the same checks as the app. Needs the approvals:write scope. Callable with brand team keys. Brand team members with the submissions.review permission. Arguments, in order: submissionId: string; reason: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: reasonstringrequired · 1 to 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/approvals.reopen" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","…"]}'extras.purchasePurchase extrasBrand team
Runs extras.purchase as the key's person, with the same checks as the app. Needs the approvals:write scope. Callable with brand team keys. Brand team members with the submissions.review permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/extras.purchase" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'Rights and contracts rights:write
Record, import and revoke rights, request rights for posts, build, send, negotiate, withdraw and sign contracts, send updates to signed contracts, confirm ad partnerships, record where else a video went, and clear a launch hold. New pay for one creator, in a counter-offer, an acceptance or an update, stays in the app.
contractUpdates.declineDecline an update to your contract (creator)Creator
Runs contractUpdates.decline as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: contractId: string; reason (optional): string.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters1: reasonstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/contractUpdates.decline" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…"]}'contractUpdates.sendSend an update to a signed contract to signBrand team
Runs contractUpdates.send as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. A call that changes a creator's pay stops with 403 (code mfa_required) and saves nothing: API keys cannot change pay, and a person signed in with two-factor changes it in the app. The call changes pay when the update pays the creator differently from the signed agreement. Payment days do not count: they say when, not how much. Brand team members with the contracts.build permission. Arguments, in order: contractId: string; input: ContractUpdateInput.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters1: inputobjectrequiredtermsobjectfromTemplatebooleannotestringrequired · 1 to 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/contractUpdates.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…",{"note":"…"}]}'contractUpdates.withdrawWithdraw an update the creator has not signedBrand team
Runs contractUpdates.withdraw as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the contracts.build permission. Arguments, in order: contractId: string; reason (optional): string.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters1: reasonstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/contractUpdates.withdraw" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…"]}'contracts.buildBuild a contractBrand team
Runs contracts.build as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the contracts.build permission. Arguments, in order: params: { creatorId: string; programId: string; templateId: string; overrides?: Partial<Pick<Contract, "payRule" | "rights" | "exclusivity" | "deliverables" | "clauses" | "paymentTermsDays">> }.
Arguments (tuple)
0: paramsobjectrequiredcreatorIdstringrequired · 1 to 200 charactersprogramIdstringrequired · 1 to 200 characterstemplateIdstringrequired · 1 to 200 charactersoverridesobject
curl -X POST "https://gettopspin.com/api/v1/methods/contracts.build" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"creatorId":"creator-…","programId":"program-…","templateId":"template-…"}]}'contracts.saveTemplateSave templateBrand team
Runs contracts.saveTemplate as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the contracts.build permission. Arguments, in order: template: Omit<ContractTemplate, "version" | "versions"> & { note: string }.
Arguments (tuple)
0: templateobjectrequiredidstringrequired · at least 1 charactersbrandIdstringrequired · at least 1 charactersnamestringrequiredpayRuleobjectrequiredpaymentTermsDaysintegerrequired · -9007199254740991 to 9007199254740991rightsobjectrequireddeliverablesarray of stringrequiredclausesarray of objectrequirednotestringrequired · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/contracts.saveTemplate" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"id":"…","brandId":"brand-…","name":"…","payRule":{"models":[{"type":"flat","perVideoUsd":1,"trigger":"approval"}]},"paymentTermsDays":1,"rights":{"scope":"…","platforms":["meta"],"paidUseMonths":1},"deliverables":["…"],"clauses":[{"key":"aiLikeness","included":true,"text":"…"}],"note":"…"}]}'contracts.sendSend a contractBrand team
Runs contracts.send as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.send permission. Arguments, in order: contractId: string.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/contracts.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…"]}'contracts.signSign a contract or an update to it (creator)Creator
Runs contracts.sign as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: contractId: string; version (optional): number.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters1: versioninteger | null
curl -X POST "https://gettopspin.com/api/v1/methods/contracts.sign" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…"]}'contracts.withdrawWithdraw a contract the creator has not signedBrand team
Runs contracts.withdraw as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.send permission. Arguments, in order: contractId: string; reason (optional): string.
Arguments (tuple)
0: contractIdstringrequired · 1 to 200 characters1: reasonstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/contracts.withdraw" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["contract-…"]}'launchHolds.clearClear a video held at launchBrand team
Runs launchHolds.clear as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the launch.create or rights.manage permission. Arguments, in order: submissionId: string; note (optional): string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/launchHolds.clear" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'launchHolds.recordRecord whether a video was submitted or contracted elsewhereBrand team
Runs launchHolds.record as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the launch.create or rights.manage permission. Arguments, in order: submissionId: string; answer: { elsewhere: "yes" | "no" | "unknown"; where?: string; restrictions?: string }.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: answerobjectrequiredelsewhere"yes" | "no" | "unknown"requiredwherestring · at most 120 charactersrestrictionsstring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/launchHolds.record" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…",{"elsewhere":"yes"}]}'offers.respondRespond offersBrand teamCreator
Runs offers.respond as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys and creator keys. A call that changes a creator's pay stops with 403 (code mfa_required) and saves nothing: API keys cannot change pay, and a person signed in with two-factor changes it in the app. The call changes pay when the brand counters, or accepts the creator's counter, with other pay than the draft agreement offers. A creator's own counter only proposes and needs no two-factor. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method.
Arguments (tuple)
0stringrequired · 1 to 200 characters1objectrequiredaction"accept" | "decline" | "counter"requiredtermsobjectnotestring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/offers.respond" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…",{"action":"accept"}]}'offers.sendSend offersBrand team
Runs offers.send as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the contracts.build permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters1string | null
curl -X POST "https://gettopspin.com/api/v1/methods/offers.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'partnerships.checkMetaCheck the Meta partnershipBrand teamCreator
Runs partnerships.checkMeta as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/partnerships.checkMeta" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'partnerships.submitSparkCodeSend a TikTok Spark code (creator)Creator
Runs partnerships.submitSparkCode as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: submissionId: string; code: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: codestringrequired · at most 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/partnerships.submitSparkCode" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","…"]}'rights.recordRecord a right or ad permissionBrand team
Runs rights.record as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission. Arguments, in order: params: { creatorId: string; kind: RightsKind; platforms: string[]; uses: ("organic" | "paid")[]; editLevel?: "none" | "technical" | "light" | "full"; submissionIds?: string[]; startsAt?: string; expiresAt?: string; evidenceUrl?: string; note: string; sourceRef?: string }.
Arguments (tuple)
0: paramsobjectrequiredcreatorIdstringrequired · 1 to 200 characterskind"usage" | "meta_partnership" | "tiktok_spark" | "youtube_link"requiredplatformsarray of stringrequired · 1 to 10 itemsusesarray of "organic" | "paid"required · at most 2 itemseditLevel"none" | "technical" | "light" | "full"submissionIdsarray of string · at most 100 itemsstartsAtstring · at most 40 charactersexpiresAtstring · at most 40 charactersevidenceUrlstring · at most 2000 characters, urinotestringrequired · 1 to 1000 characterssourceRefstring · at most 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/rights.record" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"creatorId":"creator-…","kind":"usage","platforms":["…"],"uses":["organic"],"note":"…"}]}'rights.revokeRevoke a rightBrand team
Runs rights.revoke as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission. Arguments, in order: rightsId: string; reason: string.
Arguments (tuple)
0: rightsIdstringrequired · 1 to 200 characters1: reasonstringrequired · 1 to 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/rights.revoke" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["rights-…","…"]}'rights.sweepExpire rights past their end dateBrand team
Runs rights.sweep as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Any brand team member.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/rights.sweep" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'rights.syncSync rights from contracts and platformsBrand team
Runs rights.sync as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Any brand team member.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/rights.sync" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'rights.withdrawPreapprovalTake back pre-approval of brand edits (creator)Creator
Runs rights.withdrawPreapproval as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: programId (optional): string.
Arguments (array of any | tuple)
0: programIdstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/rights.withdrawPreapproval" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'rightsRequests.createCreate rights requestsBrand team
Runs rightsRequests.create as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission.
Arguments (tuple)
0objectrequiredpostUrlstringrequired · at most 2000 characters, urihandlestringrequired · 1 to 61 charactersemailstring · at most 200 characterstermsobjectrequiredprogramIdstring · 1 to 200 characterscapturedPostIdstring · 1 to 200 characterssendEmailbooleanexpiresInDaysinteger · 1 to 60
curl -X POST "https://gettopspin.com/api/v1/methods/rightsRequests.create" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"postUrl":"https://example.com/…","handle":"…","terms":{"uses":["organic"],"platforms":["meta"],"editLevel":"none"}}]}'rightsRequests.importRightsImport rightsBrand team
Runs rightsRequests.importRights as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission.
Arguments (tuple)
0objectrequiredrowsarray of objectrequired · 1 to 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/rightsRequests.importRights" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"rows":[{"row":2,"creatorHandle":"…","platform":"meta","kind":"usage","uses":["organic"]}]}]}'rightsRequests.respondRespond rights requestsBrand teamCreator
Runs rightsRequests.respond as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method.
Arguments (tuple)
0stringrequired · 1 to 200 characters1objectrequiredanswerobjectrequiredipstring · at most 100 charactersuserAgentstring · at most 400 characters
curl -X POST "https://gettopspin.com/api/v1/methods/rightsRequests.respond" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…",{"answer":{"action":"accept","name":"…","email":"name@example.com","agree":true,"termsSha256":"…"}}]}'rightsRequests.setPostStatusSet post statusBrand team
Runs rightsRequests.setPostStatus as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters1"new" | "ignored"required
curl -X POST "https://gettopspin.com/api/v1/methods/rightsRequests.setPostStatus" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…","new"]}'rightsRequests.withdrawWithdraw rights requestsBrand team
Runs rightsRequests.withdraw as the key's person, with the same checks as the app. Needs the rights:write scope. Callable with brand team keys. Brand team members with the rights.manage permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/rightsRequests.withdraw" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'Launch and ads launch:write
Draft and create launches, campaigns, ad sets and funded tests, scale winners, read back ads, change ad settings and manage ad rules. Turning on spend, raising budgets and approving rule suggestions stay in the app.
adOps.createAdSetCreate ad setBrand team
Runs adOps.createAdSet as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: params: AdSetInput.
Arguments (tuple)
0: paramsobjectrequireddailyBudgetnumberrequired · at most 1000000bidStrategy"LOWEST_COST_WITHOUT_CAP" | "COST_CAP"requiredbidAmountnumber · at most 100000countriesarray of stringrequired · 1 to 25 itemsageMinintegerrequired · 18 to 65ageMaxintegerrequired · 18 to 65campaignIdstringrequired · 1 to 200 charactersnamestringrequired · 1 to 200 charactersendsAtstring · at most 40 characterspurpose"test" | "scaling" | "standard"forAssetIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.createAdSet" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"dailyBudget":1,"bidStrategy":"LOWEST_COST_WITHOUT_CAP","countries":["…"],"ageMin":18,"ageMax":18,"campaignId":"campaign-…","name":"…"}]}'adOps.createCampaignCreate campaignBrand team
Runs adOps.createCampaign as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: params: { adAccountId: string; name: string }.
Arguments (tuple)
0: paramsobjectrequiredadAccountIdstringrequired · 1 to 200 charactersnamestringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.createCampaign" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"adAccountId":"adAccount-…","name":"…"}]}'adOps.deleteRuleDelete ruleBrand team
Runs adOps.deleteRule as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: ruleId: string.
Arguments (tuple)
0: ruleIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.deleteRule" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["rule-…"]}'adOps.dismissSuggestionDismiss suggestionBrand team
Runs adOps.dismissSuggestion as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: actionId: string; note (optional): string.
Arguments (tuple)
0: actionIdstringrequired · 1 to 200 characters1: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.dismissSuggestion" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["action-…"]}'adOps.evaluateEvaluate ad opsBrand team
Runs adOps.evaluate as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: ruleId (optional): string.
Arguments (array of any | tuple)
0: ruleIdstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.evaluate" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'adOps.launchTestsLaunch testsBrand team
Runs adOps.launchTests as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: params: { launch: Omit<LaunchInput, "adSetId">; test: TestPlan }.
Arguments (tuple)
0: paramsobjectrequiredlaunchobjectrequiredtestobjectrequired
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.launchTests" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"launch":{"items":[{"submissionId":"submission-…","assetIds":["asset-…"],"format":"partnership","names":{},"destinations":{},"ctas":{}}],"adAccountId":"adAccount-…","campaignId":"campaign-…","copy":{"headline":"…","primaryText":"…","description":"…","cta":"…"},"active":true,"platforms":[{"platform":"meta"}]},"test":{"dailyBudget":1,"bidStrategy":"LOWEST_COST_WITHOUT_CAP","countries":["…"],"ageMin":18,"ageMax":18,"days":1}}]}'adOps.saveRuleSave ruleBrand team
Runs adOps.saveRule as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: draft: AdRuleDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 80 charactersenabledbooleanrequiredscopeobjectrequiredwindowDaysintegerrequired · 1 to 30conditionsarray of objectrequired · at most 5 itemsactionobjectrequiredmode"suggest" | "auto"requiredmaxActionsPerDayintegerrequired · 1 to 50
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.saveRule" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","enabled":true,"scope":{"kind":"all"},"windowDays":1,"conditions":[{"metric":"spend","op":"gt","value":1}],"action":{"kind":"pause"},"mode":"suggest","maxActionsPerDay":1}]}'adOps.scaleScale ad opsBrand team
Runs adOps.scale as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: params: { adId: string; adSetId?: string; newAdSet?: AdSetInput }.
Arguments (tuple)
0: paramsobjectrequiredadIdstringrequired · 1 to 200 charactersadSetIdstring · 1 to 200 charactersnewAdSetobject
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.scale" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"adId":"ad-…"}]}'adOps.setPixelSet pixelBrand team
Runs adOps.setPixel as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: adAccountId: string; pixelId: string.
Arguments (tuple)
0: adAccountIdstringrequired · 1 to 200 characters1: pixelIdstringrequired · pattern ^\d{5,20}$
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.setPixel" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["adAccount-…","pixel-…"]}'adOps.testRuleTest ruleBrand team
Runs adOps.testRule as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.insights permission. Arguments, in order: draft: AdRuleDraft; days (optional): number.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 80 charactersenabledbooleanrequiredscopeobjectrequiredwindowDaysintegerrequired · 1 to 30conditionsarray of objectrequired · at most 5 itemsactionobjectrequiredmode"suggest" | "auto"requiredmaxActionsPerDayintegerrequired · 1 to 50
1: daysinteger | null
curl -X POST "https://gettopspin.com/api/v1/methods/adOps.testRule" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","enabled":true,"scope":{"kind":"all"},"windowDays":1,"conditions":[{"metric":"spend","op":"gt","value":1}],"action":{"kind":"pause"},"mode":"suggest","maxActionsPerDay":1}]}'adSettings.copyCopy ad settingsBrand team
Runs adSettings.copy as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: fromAdAccountId: string; toAdAccountIds: string[].
Arguments (tuple)
0: fromAdAccountIdstringrequired · 1 to 200 characters1: toAdAccountIdsarray of stringrequired · 1 to 50 items
curl -X POST "https://gettopspin.com/api/v1/methods/adSettings.copy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["fromAdAccount-…",["toAdAccount-…"]]}'adSettings.saveSave ad settingsBrand team
Runs adSettings.save as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.settings permission. Arguments, in order: adAccountId: string; patch: AdSettingsPatch; note: string.
Arguments (tuple)
0: adAccountIdstringrequired · 1 to 200 characters1: patchobjectrequiredcopyTemplatesarray of objectnamingobjectlinksarray of objectutmParamsarray of objectdefaultCtastring
2: notestringrequired · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/adSettings.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["adAccount-…",{},"…"]}'launch.createCreate a launchBrand team
Runs launch.create as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: params: LaunchInput.
Arguments (tuple)
0: paramsobjectrequireditemsarray of objectrequired · 1 to 20 itemsadAccountIdstringrequired · 1 to 200 characterscampaignIdstringrequired · 1 to 200 charactersadSetIdstringrequired · 1 to 200 charactersidentityMode"dynamic" | "creator_only" | "both"copyobjectrequiredactivebooleanrequiredplatformsarray of objectrequired · 1 to 5 itemsflightEndsAtstring · at most 40 characters
curl -X POST "https://gettopspin.com/api/v1/methods/launch.create" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"items":[{"submissionId":"submission-…","assetIds":["asset-…"],"format":"partnership","names":{},"destinations":{},"ctas":{}}],"adAccountId":"adAccount-…","campaignId":"campaign-…","adSetId":"adSet-…","copy":{"headline":"…","primaryText":"…","description":"…","cta":"…"},"active":true,"platforms":[{"platform":"meta"}]}]}'launch.draftCopyDraft ad copyBrand team
Runs launch.draftCopy as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: params: { submissionId: string; platform: AdPlatform }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 charactersplatform"meta" | "google" | "tiktok" | "pinterest" | "vibe"required
curl -X POST "https://gettopspin.com/api/v1/methods/launch.draftCopy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","platform":"meta"}]}'launch.notifyCreatorNotify creatorBrand team
Runs launch.notifyCreator as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: launchId: string.
Arguments (tuple)
0: launchIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/launch.notifyCreator" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["launch-…"]}'launchOps.readbackRead a launch back from the platformBrand team
Runs launchOps.readback as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: launchId: string.
Arguments (tuple)
0: launchIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/launchOps.readback" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["launch-…"]}'launchOps.recordManualRecord an ad made outside the appBrand team
Runs launchOps.recordManual as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission. Arguments, in order: params: { assetId: string; platform: "meta" | "tiktok" | "google"; adSetRef: string; adId: string; evidenceNote: string; evidenceUrl?: string }.
Arguments (tuple)
0: paramsobjectrequiredassetIdstringrequired · 1 to 200 charactersplatform"meta" | "tiktok" | "google"requiredadSetRefstringrequired · 1 to 200 charactersadIdstringrequired · 3 to 60 charactersevidenceNotestringrequired · 1 to 1000 charactersevidenceUrlstring · at most 2000 characters, uri
curl -X POST "https://gettopspin.com/api/v1/methods/launchOps.recordManual" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"assetId":"asset-…","platform":"meta","adSetRef":"…","adId":"ad-…","evidenceNote":"…"}]}'meta.createAdSetCreate ad setBrand team
Runs meta.createAdSet as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: params: { campaignId: string; name: string }.
Arguments (tuple)
0: paramsobjectrequiredcampaignIdstringrequired · 1 to 200 charactersnamestringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/meta.createAdSet" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"campaignId":"campaign-…","name":"…"}]}'meta.createAdsCreate adsBrand team
Runs meta.createAds as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: params: CreateAdsParams.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstringrequired · 1 to 200 charactersassetIdsarray of stringrequired · 1 to 20 itemsformat"partnership" | "brand_page"requireddestinationUrlstringrequired · at most 2000 characters, urilaunchIdstring · 1 to 200 charactersadAccountIdstring · 1 to 200 characterscampaignIdstring · 1 to 200 charactersadSetIdstring · 1 to 200 charactersidentityMode"dynamic" | "creator_only" | "both"copyobjectnamesobjectdestinationsobjectctasobjectadCodesobject
curl -X POST "https://gettopspin.com/api/v1/methods/meta.createAds" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionId":"submission-…","assetIds":["asset-…"],"format":"partnership","destinationUrl":"https://example.com/…"}]}'meta.createCampaignCreate campaignBrand team
Runs meta.createCampaign as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: params: { adAccountId: string; name: string; objective?: "sales" | "traffic" | "awareness" }.
Arguments (tuple)
0: paramsobjectrequiredadAccountIdstringrequired · 1 to 200 charactersnamestringrequired · 1 to 200 charactersobjective"sales" | "traffic" | "awareness"
curl -X POST "https://gettopspin.com/api/v1/methods/meta.createCampaign" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"adAccountId":"adAccount-…","name":"…"}]}'meta.fetchInsightsFetch insightsBrand team
Runs meta.fetchInsights as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.insights permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/meta.fetchInsights" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'meta.requestCreatorPermissionRequest creator permissionBrand team
Runs meta.requestCreatorPermission as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the ads.create permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/meta.requestCreatorPermission" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'teamAgent.createLaunchCreate launchBrand team
Runs teamAgent.createLaunch as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the launch.create permission.
Arguments (tuple)
0objectrequiredsubmissionIdsarray of stringrequired · 1 to 10 itemsadSetstring · at most 200 charactersdailyBudgetnumber · 0 to 1000000planKeystringrequired · 1 to 40 characters
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.createLaunch" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionIds":["submission-…"],"planKey":"…"}]}'teamAgent.planLaunchPlan launchBrand team
Runs teamAgent.planLaunch as the key's person, with the same checks as the app. Needs the launch:write scope. Callable with brand team keys. Brand team members with the submissions.review permission.
Arguments (tuple)
0objectrequiredsubmissionIdsarray of stringrequired · 1 to 10 itemsadSetstring · at most 200 charactersdailyBudgetnumber · 0 to 1000000
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.planLaunch" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"submissionIds":["submission-…"]}]}'Programs programs:write
Edit programs, briefs and creator briefs, read product pages for a brief, add a program's product to the catalog, and edit guidelines, landing pages, discount codes and gift caps, and apply to programs. A key sets pay only on a new program: pay and commission rates on a program that exists, and the pay in a creator brief, stay in the app.
briefs.importPageImport pageBrand team
Runs briefs.importPage as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: params: { url?: string; text?: string; programId?: string }.
Arguments (tuple)
0: paramsobjectrequiredurlstring · at most 2000 characterstextstring · at most 50000 charactersprogramIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/briefs.importPage" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{}]}'briefs.removeCreatorBriefRemove creator briefBrand team
Runs briefs.removeCreatorBrief as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. A call that changes a creator's pay stops with 403 (code mfa_required) and saves nothing: API keys cannot change pay, and a person signed in with two-factor changes it in the app. The call changes pay when the brief sets other pay than the program's: the creator then gets the program's pay. Brand team members with the programs.edit permission. Arguments, in order: briefId: string.
Arguments (tuple)
0: briefIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/briefs.removeCreatorBrief" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["brief-…"]}'briefs.saveCreatorBriefSave creator briefBrand team
Runs briefs.saveCreatorBrief as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. A call that changes a creator's pay stops with 403 (code mfa_required) and saves nothing: API keys cannot change pay, and a person signed in with two-factor changes it in the app. The call changes pay when the brief's pay differs from the saved brief's: new pay, other pay, or no pay where the brief had some. Agreements built later take the brief's pay. Brand team members with the programs.edit permission. Arguments, in order: draft: CreatorBriefDraft.
Arguments (tuple)
0: draftobjectrequiredprogramIdstringrequired · 1 to 200 characterscreatorIdstringrequired · 1 to 200 charactersanglesarray of object · at most 10 itemshooksarray of string · at most 10 itemsdeliverablesarray of object · at most 10 itemsdueAtstring · at most 40 characterspayRuleobjectnotestring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/briefs.saveCreatorBrief" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"programId":"program-…","creatorId":"creator-…"}]}'codes.createCreate a discount codeBrand team
Runs codes.create as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: params: { creatorId: string; programId: string; code?: string; assetId?: string; launchId?: string }.
Arguments (tuple)
0: paramsobjectrequiredcreatorIdstringrequired · 1 to 200 charactersprogramIdstringrequired · 1 to 200 characterscodestring · at most 30 charactersassetIdstring · 1 to 200 characterslaunchIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/codes.create" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"creatorId":"creator-…","programId":"program-…"}]}'codes.disableTurn off a discount codeBrand team
Runs codes.disable as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: creatorId: string; codeId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: codeIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/codes.disable" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…","code-…"]}'codes.saveTermsSave discount code termsBrand team
Runs codes.saveTerms as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: programId: string; params: { terms: CodeTerms; contentDays?: number }.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters1: paramsobjectrequiredtermsobjectrequiredcontentDaysinteger · 1 to 180
curl -X POST "https://gettopspin.com/api/v1/methods/codes.saveTerms" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…",{"terms":{"enabled":true,"kind":"percentage","value":1,"oncePerCustomer":true,"singleUseOnClick":true}}]}'giftRules.checkCheck a sample request against the gift capsBrand team
Runs giftRules.check as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/giftRules.check" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…"]}'giftRules.saveSave gift caps and stock rulesBrand team
Runs giftRules.save as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: programId: string; rules: GiftRules.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters1: rulesobjectrequiredenabledbooleanrequiredunitsPerCreatorinteger · 1 to 1000totalUnitsinteger · 1 to 1000000totalRetailUsdnumber · 1 to 100000000requireStockboolean · default trueminStockAfterinteger · 0 to 1000000, default 0
curl -X POST "https://gettopspin.com/api/v1/methods/giftRules.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…",{"enabled":true}]}'guidelines.removeRemove a guidelineBrand team
Runs guidelines.remove as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the guidelines.edit permission. Arguments, in order: guidelineId: string.
Arguments (tuple)
0: guidelineIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/guidelines.remove" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["guideline-…"]}'guidelines.saveSave a guidelineBrand team
Runs guidelines.save as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the guidelines.edit permission. Arguments, in order: draft: GuidelineDraft.
Arguments (tuple)
0: draftobjectrequiredprogramIdstring · at least 1 charactersrequirement"must_have" | "nice_to_have" | "must_not" | "avoid"requiredcategory"visual" | "verbal" | "claims" | "legal" | "product" | "audio" | "format" | "brand_safety"requiredtitlestringrequired · 1 to 160 charactersdescriptionstring · at most 2000 characters, default ""examplesobject · default {"good":[],"bad":[]}detectionobject · default {"signal":"any","keywords":[]}platformsarray of string · default []activeboolean · default trueidstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/guidelines.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"requirement":"must_have","category":"visual","title":"…"}]}'landingPages.deployPublish a landing page versionBrand team
Runs landingPages.deploy as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the pages.deploy permission. Arguments, in order: pageId: string; version (optional): number.
Arguments (tuple)
0: pageIdstringrequired · 1 to 200 characters1: versioninteger | null
curl -X POST "https://gettopspin.com/api/v1/methods/landingPages.deploy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["page-…"]}'landingPages.generateBuild a landing page version from an approved versionBrand team
Runs landingPages.generate as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the pages.generate permission. Arguments, in order: params: { kind: PageKind; programId: string; submissionId?: string; assetId?: string }.
Arguments (tuple)
0: paramsobjectrequiredkind"program" | "creator"requiredprogramIdstringrequired · 1 to 200 characterssubmissionIdstring · 1 to 200 charactersassetIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/landingPages.generate" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"kind":"program","programId":"program-…"}]}'landingPages.unpublishUnpublish a landing pageBrand team
Runs landingPages.unpublish as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the pages.deploy permission. Arguments, in order: pageId: string; reason (optional): string.
Arguments (tuple)
0: pageIdstringrequired · 1 to 200 characters1: reasonstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/landingPages.unpublish" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["page-…"]}'marketplace.requestJoinAsk to join a brand (creator)Creator
Runs marketplace.requestJoin as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: params: { fromCreatorId: string; brandId: string; programId: string; message: string; previewUrl?: string }.
Arguments (tuple)
0: paramsobjectrequiredfromCreatorIdstringrequired · 1 to 200 charactersbrandIdstringrequired · 1 to 200 charactersprogramIdstringrequired · 1 to 200 charactersmessagestringrequired · at most 2000 characterspreviewUrlstring · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/marketplace.requestJoin" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"fromCreatorId":"fromCreator-…","brandId":"brand-…","programId":"program-…","message":"…"}]}'programs.addProductAdd a program's product to the catalogBrand team
Runs programs.addProduct as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: product: NewCatalogProduct.
Arguments (tuple)
0: productobjectrequirednamestringrequired · 1 to 200 characterspriceUsdnumberrequired · 0 to 1000000currencystring · pattern ^[A-Z]{3}$pageUrlstring · at most 2000 characters, uriimageUrlstring · at most 2000 characters, uri
curl -X POST "https://gettopspin.com/api/v1/methods/programs.addProduct" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","priceUsd":1}]}'programs.applyApply to a programBrand teamCreator
Runs programs.apply as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: programId: string; lead: Omit<Lead, "id" | "createdAt" | "status">.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters1: leadobjectrequirednamestringrequired · 1 to 120 charactersemailstringrequired · at most 200 characters, pattern ^\S+@\S+\.\S+$handlestringrequired · 1 to 61 characterscontentStylestringrequired · at most 2000 charactersreferredByAccountIdstring · 1 to 200 charactersplatform"instagram" | "facebook" | "tiktok" | "youtube" | "snapchat" | "pinterest" | "x" | "linkedin" | "twitch" | "threads"sampleUrlsarray of string · at most 2 items
curl -X POST "https://gettopspin.com/api/v1/methods/programs.apply" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…",{"name":"…","email":"name@example.com","handle":"…","contentStyle":"…"}]}'programs.personasDraft personas for a programBrand team
Runs programs.personas as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: snippets: ResearchSnippet[]; productName: string; brief (optional): { goal?: string; creativeBrief?: { title: string; body: string[] }[] }.
Arguments (tuple)
0: snippetsarray of objectrequired · at most 300 items[].idstringrequired · 1 to 200 characters[].source"review" | "ticket" | "survey" | "reddit" | "trends" | "forum"required[].textstringrequired · at most 2000 characters[].metastring · at most 300 characters[].origin"pasted" | "integration" | "web" | "simulated"[].kind"quote" | "summary"[].theme"praise" | "complaint" | "objection" | "pain" | "proof" | "phrase" | "angle"[].sourcesarray of object · at most 5 items[].check"page" | "search"
1: productNamestringrequired · at most 200 characters2: briefobject | nullgoalstring · at most 2000 characterscreativeBriefarray of object · at most 40 items
curl -X POST "https://gettopspin.com/api/v1/methods/programs.personas" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[[{"id":"…","source":"review","text":"…"}],"…"]}'programs.researchResearch a programBrand team
Runs programs.research as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: input: ResearchInput.
Arguments (tuple)
0: inputobjectrequiredproductNamestringrequired · at most 200 charactersgoalstringrequired · at most 2000 charactersprogramIdstring · 1 to 200 characterspageUrlstring · at most 2000 characters, uriagainboolean
curl -X POST "https://gettopspin.com/api/v1/methods/programs.research" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"productName":"…","goal":"…"}]}'programs.saveSave a programBrand team
Runs programs.save as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: draft: ProgramDraft.
Arguments (tuple)
0: draftobjectrequirednamestringrequiredproductNamestringrequiredgoalstringrequiredpitchstring · at most 280 charactersresearcharray of objectrequiredpersonasarray of objectrequiredanglesarray of objectrequiredpayRuleobjectrequiredpaymentTermsDaysinteger · -9007199254740991 to 9007199254740991, default 30rightsTermsobjectrequiredmetaCampaignstringrequireddestinationUrlstringrequiredcreativeBriefarray of objectdeliverablesarray of object · at most 10 itemsexampleVideosarray of object · at most 5 itemsannouncementsarray of objectproductIdsarray of stringclaimsPolicy"library" | "none_applicable" | "manual_review"creatorCodesobjectcontentDaysinteger · 1 to 180sampleDepositobjectgiftRulesobjectbuyerInvitesobjectidstring · 1 to 200 charactersstatus"draft" | "active" | "paused" | "ended"
curl -X POST "https://gettopspin.com/api/v1/methods/programs.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","productName":"…","goal":"…","research":[{"id":"…","source":"review","text":"…"}],"personas":[{"id":"…","name":"…","summary":"…","evidence":[{"source":"review","quote":"…"}]}],"angles":[{"id":"…","personaId":"persona-…","name":"…","exampleHook":"…"}],"payRule":{"models":[{"type":"flat","perVideoUsd":1,"trigger":"approval"}]},"rightsTerms":{"scope":"…","paidUseMonths":1},"metaCampaign":"…","destinationUrl":"https://example.com/…"}]}'teamAgent.draftBriefDraft briefBrand team
Runs teamAgent.draftBrief as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission.
Arguments (tuple)
0objectrequiredimportIdstring · 1 to 200 charactersrequeststring · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.draftBrief" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{}]}'teamAgent.saveBriefSave briefBrand team
Runs teamAgent.saveBrief as the key's person, with the same checks as the app. Needs the programs:write scope. Callable with brand team keys. Brand team members with the programs.edit permission.
Arguments (tuple)
0objectrequirednamestringrequired · 1 to 120 charactersproductNamestringrequired · at most 200 charactersgoalstringrequired · at most 2000 characterssectionsarray of objectrequired · 1 to 20 itemsdestinationUrlstring · uriimportIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.saveBrief" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","productName":"…","goal":"…","sections":[{"title":"…","body":["…"]}]}]}'Creators creators:write
Find, invite, import, match and manage creators, add people who tag you on Instagram, make upload links, run brand-safety checks, deep checks of past posts and fraud checks, and set buyer invites.
app.inviteCreatorLoginInvite creator loginBrand team
Runs app.inviteCreatorLogin as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 100 characters
curl -X POST "https://gettopspin.com/api/v1/methods/app.inviteCreatorLogin" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'buyerInvites.saveSettingsSave settingsBrand team
Runs buyerInvites.saveSettings as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: programId: string; settings: BuyerInviteSettings.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters1: settingsobjectrequiredenabledbooleanrequiredminOrdernumberrequired · 0 to 100000currencystringrequired · pattern ^[A-Z]{3}$payUsdnumberrequired · 1 to 10000sendAfterDaysintegerrequired · 0 to 60expiresDaysintegerrequired · 1 to 90messagestring · at most 600 characters, default ""
curl -X POST "https://gettopspin.com/api/v1/methods/buyerInvites.saveSettings" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…",{"enabled":true,"minOrder":1,"currency":"…","payUsd":1,"sendAfterDays":1,"expiresDays":1}]}'deepCheck.runRun deep checkBrand team
Runs deepCheck.run as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.score permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/deepCheck.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'discovery.addMentionLeadAdd mention leadBrand team
Runs discovery.addMentionLead as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: username: string.
Arguments (tuple)
0: usernamestringrequired · 1 to 100 characters
curl -X POST "https://gettopspin.com/api/v1/methods/discovery.addMentionLead" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'fraud.assessAssess fraudBrand team
Runs fraud.assess as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.score permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/fraud.assess" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'fraud.clearOverrideClear overrideBrand team
Runs fraud.clearOverride as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.score permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/fraud.clearOverride" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'imports.runRun importsBrand team
Runs imports.run as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: params: { programId: string; rows: ImportRow[] }.
Arguments (tuple)
0: paramsobjectrequiredprogramIdstringrequired · 1 to 200 charactersrowsarray of objectrequired · 1 to 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/imports.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"programId":"program-…","rows":[{"creatorHandle":"…","videoUrl":"https://example.com/…"}]}]}'influencer.checkBrandMentionsCheck brand mentionsBrand team
Runs influencer.checkBrandMentions as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.search permission. Arguments, in order: creatorIds: string[].
Arguments (tuple)
0: creatorIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.checkBrandMentions" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creator-…"]]}'influencer.draftOutreachDraft outreachBrand team
Runs influencer.draftOutreach as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: creatorIds: string[].
Arguments (tuple)
0: creatorIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.draftOutreach" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creator-…"]]}'influencer.scoreCreatorsScore creatorsBrand team
Runs influencer.scoreCreators as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.score permission. Arguments, in order: creatorIds: string[].
Arguments (tuple)
0: creatorIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.scoreCreators" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creator-…"]]}'influencer.searchCreatorsSearch creatorsBrand team
Runs influencer.searchCreators as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.search permission. Arguments, in order: params: CreatorSearch.
Arguments (tuple)
0: paramsobjectrequiredplatform"instagram" | "tiktok" | "any"requiredfollowersMinnumberrequired · 0 to 10000000000followersMaxnumberrequired · 0 to 10000000000minEngagementnumberrequired · 0 to 100countrystringrequired · at most 60 charactersquerystringrequired · at most 500 characterslimitintegerrequired · 1 to 100
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.searchCreators" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"platform":"instagram","followersMin":1,"followersMax":1,"minEngagement":1,"country":"…","query":"…","limit":1}]}'influencer.uploadExcludedCreatorsUpload excluded creatorsBrand team
Runs influencer.uploadExcludedCreators as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.search permission. Arguments, in order: creatorIds: string[].
Arguments (tuple)
0: creatorIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.uploadExcludedCreators" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creator-…"]]}'marketplace.decideAccept or decline a join requestBrand team
Runs marketplace.decide as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the marketplace.review permission. Arguments, in order: joinRequestId: string; decision: "accepted" | "declined"; note (optional): string.
Arguments (tuple)
0: joinRequestIdstringrequired · 1 to 200 characters1: decision"accepted" | "declined"required2: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/marketplace.decide" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["joinRequest-…","accepted"]}'matching.buildProfileBuild profileBrand team
Runs matching.buildProfile as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the matching.run permission. Arguments, in order: subject: { type: SemanticSubject; id: string }.
Arguments (tuple)
0: subjectobjectrequiredtype"creator" | "brand" | "program"requiredidstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/matching.buildProfile" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"type":"creator","id":"…"}]}'matching.runRun matchingBrand team
Runs matching.run as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the matching.run permission. Arguments, in order: params: { programId?: string }.
Arguments (tuple)
0: paramsobjectrequiredprogramIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/matching.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{}]}'matching.setStatusSet statusBrand team
Runs matching.setStatus as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the matching.run permission. Arguments, in order: matchId: string; status: CreatorMatch["status"].
Arguments (tuple)
0: matchIdstringrequired · 1 to 200 characters1: status"suggested" | "invited" | "dismissed"required
curl -X POST "https://gettopspin.com/api/v1/methods/matching.setStatus" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["match-…","suggested"]}'onboarding.addFromLeadAdd from leadBrand team
Runs onboarding.addFromLead as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: pageId: string; leadId: string.
Arguments (tuple)
0: pageIdstringrequired · 1 to 200 characters1: leadIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/onboarding.addFromLead" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["page-…","lead-…"]}'onboarding.importCsvImport creators from a CSV fileBrand team
Runs onboarding.importCsv as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: rows: CsvCreatorRow[]; programId: string.
Arguments (tuple)
0: rowsarray of objectrequired · at most 1000 items[].namestringrequired · 1 to 120 characters[].handlestringrequired · 1 to 61 characters[].platform"instagram" | "tiktok"required[].emailstring · at most 200 characters, pattern ^\S+@\S+\.\S+$[].followersnumber · 0 to 10000000000
1: programIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/onboarding.importCsv" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[[{"name":"…","handle":"…","platform":"instagram"}],"program-…"]}'onboarding.inviteInvite a creatorBrand team
Runs onboarding.invite as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: params: { name: string; handle: string; email: string; programId: string }.
Arguments (tuple)
0: paramsobjectrequirednamestringrequired · 1 to 120 charactershandlestringrequired · 1 to 61 charactersemailstringrequired · at most 200 characters, pattern ^\S+@\S+\.\S+$programIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/onboarding.invite" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","handle":"…","email":"name@example.com","programId":"program-…"}]}'roster.inviteInvite creators to a programBrand team
Runs roster.invite as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: creatorIds: string[]; programId: string; message: string.
Arguments (tuple)
0: creatorIdsarray of stringrequired · at most 500 items1: programIdstringrequired · 1 to 200 characters2: messagestringrequired · at most 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/roster.invite" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creator-…"],"program-…","…"]}'roster.recentVideosList a TikTok creator's recent videos (local demo only: on live data it is refused with code gap)Brand team
Runs roster.recentVideos as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Any brand team member. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/roster.recentVideos" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'roster.setArchivedSet archivedBrand team
Runs roster.setArchived as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: creatorId: string; archived: boolean.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: archivedbooleanrequired
curl -X POST "https://gettopspin.com/api/v1/methods/roster.setArchived" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…",true]}'roster.setFavoriteSet favoriteBrand team
Runs roster.setFavorite as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Any brand team member. Arguments, in order: creatorId: string; favorite: boolean.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: favoritebooleanrequired
curl -X POST "https://gettopspin.com/api/v1/methods/roster.setFavorite" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…",true]}'roster.withdrawInviteWithdraw inviteBrand team
Runs roster.withdrawInvite as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the onboarding.add permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/roster.withdrawInvite" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'uploadLinks.createCreate upload linksBrand team
Runs uploadLinks.create as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the submissions.review or onboarding.add permission.
Arguments (tuple)
0objectrequiredprogramIdstringrequired · 1 to 200 characterscreatorIdstring · 1 to 200 characterspersonobjectexpiresInDaysinteger · 1 to 60maxVideosinteger · 1 to 10
curl -X POST "https://gettopspin.com/api/v1/methods/uploadLinks.create" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"programId":"program-…"}]}'uploadLinks.revokeRevoke upload linksBrand team
Runs uploadLinks.revoke as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the submissions.review or onboarding.add permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/uploadLinks.revoke" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'vetting.runRun vettingBrand team
Runs vetting.run as the key's person, with the same checks as the app. Needs the creators:write scope. Callable with brand team keys. Brand team members with the creators.score permission. Arguments, in order: creatorId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/vetting.run" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…"]}'Outreach outreach:write
Draft outreach from your data and send it through email sequences from your own mailbox, send replies, and reply to Instagram messages.
agents.requestRevisionRequest revisionBrand team
Runs agents.requestRevision as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the review.send_notes permission. Arguments, in order: submissionId: string; note: string; comments (optional): { atSec: number; text: string }[].
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters1: notestringrequired · at most 5000 characters2: commentsarray of object | null
curl -X POST "https://gettopspin.com/api/v1/methods/agents.requestRevision" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…","…"]}'agents.sendOutreachSend outreachBrand team
Runs agents.sendOutreach as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: draftIds: string[].
Arguments (tuple)
0: draftIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/agents.sendOutreach" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["draft-…"]]}'agents.sendReplySend replyBrand team
Runs agents.sendReply as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: replyId: string; body: string.
Arguments (tuple)
0: replyIdstringrequired · 1 to 200 characters1: bodystringrequired · 1 to 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/agents.sendReply" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["reply-…","…"]}'app.saveOutreachDraftSave outreach draftBrand team
Runs app.saveOutreachDraft as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: draftId: string; patch: { subject?: string; body?: string }.
Arguments (tuple)
0: draftIdstringrequired · 1 to 200 characters1: patchobjectrequiredsubjectstring · at most 300 charactersbodystring · at most 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/app.saveOutreachDraft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["draft-…",{}]}'app.saveReplyDraftSave reply draftBrand team
Runs app.saveReplyDraft as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: replyId: string; agentDraft: string.
Arguments (tuple)
0: replyIdstringrequired · 1 to 200 characters1: agentDraftstringrequired · at most 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/app.saveReplyDraft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["reply-…","…"]}'igInbox.markReadMark an Instagram conversation as readBrand team
Runs igInbox.markRead as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: threadId: string.
Arguments (tuple)
0: threadIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/igInbox.markRead" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["thread-…"]}'igInbox.replyReply to an Instagram messageBrand team
Runs igInbox.reply as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: threadId: string; text: string.
Arguments (tuple)
0: threadIdstringrequired · 1 to 200 characters1: textstringrequired · 1 to 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/igInbox.reply" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["thread-…","…"]}'igInbox.syncRead Instagram conversations from MetaBrand team
Runs igInbox.sync as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/igInbox.sync" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'mailbox.connectConnect a mailbox (local demo only)Brand team
Runs mailbox.connect as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: params: { provider: MailProvider; email: string }.
Arguments (tuple)
0: paramsobjectrequiredprovider"google" | "microsoft"requiredemailstringrequired · 3 to 320 characters
curl -X POST "https://gettopspin.com/api/v1/methods/mailbox.connect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"provider":"google","email":"name@example.com"}]}'mailbox.disconnectDisconnect a mailboxBrand team
Runs mailbox.disconnect as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: mailboxId: string.
Arguments (tuple)
0: mailboxIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/mailbox.disconnect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["mailbox-…"]}'mailbox.saveSettingsChange a mailbox's daily cap and send windowBrand team
Runs mailbox.saveSettings as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: mailboxId: string; patch: { dailyCap?: number; sendWindow?: SendWindow }.
Arguments (tuple)
0: mailboxIdstringrequired · 1 to 200 characters1: patchobjectrequireddailyCapinteger · 1 to 300sendWindowobject
curl -X POST "https://gettopspin.com/api/v1/methods/mailbox.saveSettings" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["mailbox-…",{}]}'outreachAi.draftDraft outreach aiBrand team
Runs outreachAi.draft as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: params: { creatorIds: string[]; programId?: string }.
Arguments (tuple)
0: paramsobjectrequiredcreatorIdsarray of stringrequired · 1 to 50 itemsprogramIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/outreachAi.draft" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"creatorIds":["creator-…"]}]}'outreachAi.sendSend outreach aiBrand team
Runs outreachAi.send as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: params: { draftIds: string[]; sequenceId: string; mailboxId: string }.
Arguments (tuple)
0: paramsobjectrequireddraftIdsarray of stringrequired · 1 to 50 itemssequenceIdstringrequired · 1 to 200 charactersmailboxIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/outreachAi.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"draftIds":["draft-…"],"sequenceId":"sequence-…","mailboxId":"mailbox-…"}]}'sequences.enrollStart a sequence for creatorsBrand team
Runs sequences.enroll as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: params: { sequenceId: string; mailboxId: string; creatorIds: string[]; firstEmails?: Record<string, { subject: string; body: string; draftId: string }> }.
Arguments (tuple)
0: paramsobjectrequiredsequenceIdstringrequired · 1 to 200 charactersmailboxIdstringrequired · 1 to 200 characterscreatorIdsarray of stringrequired · 1 to 200 itemsfirstEmailsobject
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.enroll" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"sequenceId":"sequence-…","mailboxId":"mailbox-…","creatorIds":["creator-…"]}]}'sequences.runDueSend the due sequence steps nowBrand team
Runs sequences.runDue as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.runDue" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'sequences.saveSave an email sequenceBrand team
Runs sequences.save as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: draft: SequenceDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 120 charactersprogramIdstring · 1 to 200 charactersstepsarray of objectrequired · 1 to 8 itemsstopRulesobjectrequired
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","steps":[{"delayDays":1,"subject":"…","body":"…"}],"stopRules":{"briefOpened":true,"videoSent":true}}]}'sequences.setStatusPause, turn on or archive a sequenceBrand team
Runs sequences.setStatus as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: sequenceId: string; status: "active" | "paused" | "archived".
Arguments (tuple)
0: sequenceIdstringrequired · 1 to 200 characters1: status"active" | "paused" | "archived"required
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.setStatus" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["sequence-…","active"]}'sequences.stopStop one sequence runBrand team
Runs sequences.stop as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: runId: string; note (optional): string.
Arguments (tuple)
0: runIdstringrequired · 1 to 200 characters1: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.stop" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["run-…"]}'sequences.suppressAdd an address to the suppression listBrand team
Runs sequences.suppress as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: email: string; note (optional): string.
Arguments (tuple)
0: emailstringrequired · 3 to 320 characters1: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.suppress" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["name@example.com"]}'sequences.unsuppressRemove an address your team added to the suppression listBrand team
Runs sequences.unsuppress as the key's person, with the same checks as the app. Needs the outreach:write scope. Callable with brand team keys. Brand team members with the outreach.approve permission. Arguments, in order: suppressionId: string.
Arguments (tuple)
0: suppressionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/sequences.unsuppress" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["suppression-…"]}'Chat and notifications chat:write
Start conversations, send messages and mark messages and notifications as read.
chat.markReadMark a conversation as readBrand teamCreator
Runs chat.markRead as the key's person, with the same checks as the app. Needs the chat:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: conversationId: string; as: ChatSender.
Arguments (tuple)
0: conversationIdstringrequired · 1 to 200 characters1: asobjectrequiredside"creator"requiredcreatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/chat.markRead" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["conversation-…",{"side":"brand"}]}'chat.sendSend a messageBrand teamCreator
Runs chat.send as the key's person, with the same checks as the app. Needs the chat:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: conversationId: string; text: string; as: ChatSender; attachments (optional): (string | ChatAttachment)[].
Arguments (tuple)
0: conversationIdstringrequired · 1 to 200 characters1: textstringrequired · at most 5000 characters2: asobjectrequiredside"creator"requiredcreatorIdstringrequired · 1 to 200 characters
3: attachmentsarray of string | object | nullrequired
curl -X POST "https://gettopspin.com/api/v1/methods/chat.send" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["conversation-…","…",{"side":"brand"}]}'chat.startStart a conversationBrand team
Runs chat.start as the key's person, with the same checks as the app. Needs the chat:write scope. Callable with brand team keys. Brand team members with the chat.send permission. Arguments, in order: params: { kind: "dm" | "group"; creatorIds: string[]; title?: string; text?: string }.
Arguments (tuple)
0: paramsobjectrequiredkind"dm" | "group"requiredcreatorIdsarray of stringrequired · 1 to 500 itemstitlestring · at most 120 characterstextstring · at most 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/chat.start" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"kind":"dm","creatorIds":["creator-…"]}]}'notifications.markReadMark notifications as readBrand teamCreator
Runs notifications.markRead as the key's person, with the same checks as the app. Needs the chat:write scope. Callable with brand team keys and creator keys. Any member of the brand. Creators act only on their own rows; the brand side needs the matching permission inside the method. Arguments, in order: ids: string[].
Arguments (tuple)
0: idsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/notifications.markRead" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["…"]]}'Samples samples:write
Request, ship and track product samples, save shipping addresses, and set, waive or check sample deposits. Refunding a deposit stays in the app.
deposits.saveTermsSave sample deposit termsBrand team
Runs deposits.saveTerms as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the programs.edit permission. Arguments, in order: programId: string; terms: DepositTerms.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters1: termsobjectrequiredenabledbooleanrequiredamountUsdnumberrequired · 1 to 1000graceDaysintegerrequired · 0 to 60
curl -X POST "https://gettopspin.com/api/v1/methods/deposits.saveTerms" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…",{"enabled":true,"amountUsd":1,"graceDays":1}]}'deposits.simulatePaymentPay a sample deposit (local demo only)Creator
Runs deposits.simulatePayment as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: requestId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/deposits.simulatePayment" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…"]}'deposits.sweepApply the deposit refund and keep rulesBrand team
Runs deposits.sweep as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/deposits.sweep" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'deposits.waiveWaive a sample depositBrand team
Runs deposits.waive as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string; reason: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters1: reasonstringrequired · 1 to 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/deposits.waive" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…","…"]}'samples.cancelCancel a sample request (creator)Creator
Runs samples.cancel as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: requestId: string; creatorId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters1: creatorIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.cancel" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…","creator-…"]}'samples.declineDecline a sample requestBrand team
Runs samples.decline as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string; reason: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters1: reasonstringrequired · 1 to 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.decline" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…","…"]}'samples.deleteAddressDelete addressCreator
Runs samples.deleteAddress as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: creatorId: string; addressId: string.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: addressIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.deleteAddress" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…","address-…"]}'samples.markDeliveredMark deliveredBrand team
Runs samples.markDelivered as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.markDelivered" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…"]}'samples.requestRequest a sample (creator)Creator
Runs samples.request as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: params: { creatorId: string; productIds: string[]; addressId: string; note?: string; variantIds?: Record<string, string>; programId?: string }.
Arguments (tuple)
0: paramsobjectrequiredcreatorIdstringrequired · 1 to 200 charactersproductIdsarray of stringrequired · 1 to 20 itemsaddressIdstringrequired · 1 to 200 charactersnotestring · at most 500 charactersvariantIdsobjectprogramIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.request" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"creatorId":"creator-…","productIds":["product-…"],"addressId":"address-…"}]}'samples.retryOrderRetry orderBrand team
Runs samples.retryOrder as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.retryOrder" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…"]}'samples.saveAddressSave addressCreator
Runs samples.saveAddress as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: creatorId: string; address: AddressDraft & { id?: string }.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: addressobjectrequiredidstring · 1 to 200 charactersnamestringrequired · at most 120 charactersline1stringrequired · at most 200 charactersline2string · at most 200 characterscitystringrequired · at most 120 charactersregionstringrequired · at most 120 characterspostalstringrequired · at most 20 characterscountrystringrequired · at most 60 charactersisDefaultboolean
curl -X POST "https://gettopspin.com/api/v1/methods/samples.saveAddress" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…",{"name":"…","line1":"…","city":"…","region":"…","postal":"…","country":"…"}]}'samples.shipShip a sampleBrand team
Runs samples.ship as the key's person, with the same checks as the app. Needs the samples:write scope. Callable with brand team keys. Brand team members with the samples.manage permission. Arguments, in order: requestId: string.
Arguments (tuple)
0: requestIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/samples.ship" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["request-…"]}'Profile and social accounts profile:write
Connect and sync creators' social accounts.
profile.saveSave the creator profile (creator)Creator
Runs profile.save as the key's person, with the same checks as the app. Needs the profile:write scope. Callable with creator keys. Creators only: the method checks the row is the creator's own. Arguments, in order: creatorId: string; patch: { featuredSubmissionIds?: string[]; tags?: string[]; bio?: string }.
Arguments (tuple)
0: creatorIdstringrequired · 1 to 200 characters1: patchobjectrequiredfeaturedSubmissionIdsarray of string · at most 50 itemstagsarray of string · at most 50 itemsbiostring · at most 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/profile.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["creator-…",{}]}'Analytics and reports analytics:write
Refresh metrics, manage attribution, save learnings, reports and strategy notes, make or revoke view-only report links, fit the calibrated conversion score, sync TikTok Shop and Amazon Attribution orders, watch competitor ads from Meta's Ad Library, set earned media value rates, and run the fatigue diagnosis and add its brief section to a program or to creator briefs.
analytics.pullAttributionPull attributionBrand team
Runs analytics.pullAttribution as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required
curl -X POST "https://gettopspin.com/api/v1/methods/analytics.pullAttribution" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale"]}'analytics.pushSpendPush spendBrand team
Runs analytics.pushSpend as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: creativeIds: string[].
Arguments (tuple)
0: creativeIdsarray of stringrequired · at most 500 items
curl -X POST "https://gettopspin.com/api/v1/methods/analytics.pushSpend" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[["creative-…"]]}'analytics.refreshRefresh analyticsBrand team
Runs analytics.refresh as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the analytics.view permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/analytics.refresh" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'analytics.saveLearningSave learningBrand team
Runs analytics.saveLearning as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the insights.save permission. Arguments, in order: text: string.
Arguments (tuple)
0: textstringrequired · 1 to 5000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/analytics.saveLearning" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'attribution.connectConnect attributionBrand team
Runs attribution.connect as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool; model: string; windowDays: number.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required1: modelstringrequired · at most 100 characters2: windowDaysintegerrequired · 1 to 365
curl -X POST "https://gettopspin.com/api/v1/methods/attribution.connect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale","…",1]}'attribution.disconnectDisconnect attributionBrand team
Runs attribution.disconnect as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required
curl -X POST "https://gettopspin.com/api/v1/methods/attribution.disconnect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale"]}'attributionSources.connectConnect attribution sourcesBrand team
Runs attributionSources.connect as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required
curl -X POST "https://gettopspin.com/api/v1/methods/attributionSources.connect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale"]}'attributionSources.disconnectDisconnect attribution sourcesBrand team
Runs attributionSources.disconnect as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required
curl -X POST "https://gettopspin.com/api/v1/methods/attributionSources.disconnect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale"]}'attributionSources.setSourceOfTruthSet source of truthBrand team
Runs attributionSources.setSourceOfTruth as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: source: SourceOfTruth.
Arguments (tuple)
0: source"own" | "triplewhale" | "northbeam" | "ga4"required
curl -X POST "https://gettopspin.com/api/v1/methods/attributionSources.setSourceOfTruth" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["own"]}'attributionSources.syncSync attribution sourcesBrand team
Runs attributionSources.sync as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool (optional): AttributionTool.
Arguments (array of any | tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo" | null
curl -X POST "https://gettopspin.com/api/v1/methods/attributionSources.sync" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'attributionSources.testTest attribution sourcesBrand team
Runs attributionSources.test as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: tool: AttributionTool.
Arguments (tuple)
0: tool"triplewhale" | "northbeam" | "ga4" | "fairing" | "klaviyo"required
curl -X POST "https://gettopspin.com/api/v1/methods/attributionSources.test" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["triplewhale"]}'commerce.syncSync TikTok Shop or Amazon Attribution ordersBrand team
Runs commerce.sync as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the attribution.manage permission. Arguments, in order: provider: CommerceProvider.
Arguments (tuple)
0: provider"tiktok_shop" | "amazon"required
curl -X POST "https://gettopspin.com/api/v1/methods/commerce.sync" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["tiktok_shop"]}'emv.resetRatesReset ratesBrand team
Runs emv.resetRates as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the reports.manage permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/emv.resetRates" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'emv.saveRatesSave ratesBrand team
Runs emv.saveRates as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the reports.manage permission. Arguments, in order: params: { rates: Record<EmvPlatform, EmvRates>; note: string }.
Arguments (tuple)
0: paramsobjectrequiredratesobjectrequirednotestringrequired · 1 to 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/emv.saveRates" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"rates":{"instagram":{"viewsPer1000":1,"likes":1,"comments":1,"shares":1,"saves":1},"tiktok":{"viewsPer1000":1,"likes":1,"comments":1,"shares":1,"saves":1},"youtube":{"viewsPer1000":1,"likes":1,"comments":1,"shares":1,"saves":1},"facebook":{"viewsPer1000":1,"likes":1,"comments":1,"shares":1,"saves":1},"other":{"viewsPer1000":1,"likes":1,"comments":1,"shares":1,"saves":1}},"note":"…"}]}'fatigue.addToProgramAdd to programBrand team
Runs fatigue.addToProgram as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the programs.edit permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters1stringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/fatigue.addToProgram" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…","…"]}'fatigue.diagnoseDiagnose fatigueBrand team
Runs fatigue.diagnose as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/fatigue.diagnose" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'fatigue.toCreatorBriefsTo creator briefsBrand team
Runs fatigue.toCreatorBriefs as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the programs.edit permission.
Arguments (tuple)
0stringrequired · 1 to 200 characters1objectrequiredprogramIdstringrequired · 1 to 200 characterscreatorIdsarray of stringrequired · 1 to 50 itemsuseAnglesboolean
curl -X POST "https://gettopspin.com/api/v1/methods/fatigue.toCreatorBriefs" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…",{"programId":"program-…","creatorIds":["creator-…"]}]}'marketIntel.removeWatchRemove watchBrand team
Runs marketIntel.removeWatch as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission. Arguments, in order: watchId: string.
Arguments (tuple)
0: watchIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/marketIntel.removeWatch" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["watch-…"]}'marketIntel.saveWatchSave watchBrand team
Runs marketIntel.saveWatch as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission. Arguments, in order: draft: WatchDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 120 characterspageIdsarray of stringrequired · at most 10 itemssearchTermsarray of stringrequired · at most 5 itemscountriesarray of stringrequired · 1 to 30 itemsactiveboolean
curl -X POST "https://gettopspin.com/api/v1/methods/marketIntel.saveWatch" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","pageIds":["page-…"],"searchTerms":["…"],"countries":["…"]}]}'marketIntel.syncSync market intelBrand team
Runs marketIntel.sync as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission. Arguments, in order: watchId (optional): string.
Arguments (array of any | tuple)
0: watchIdstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/marketIntel.sync" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'reports.removeRemove a reportBrand team
Runs reports.remove as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the reports.manage permission. Arguments, in order: reportId: string.
Arguments (tuple)
0: reportIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/reports.remove" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["report-…"]}'reports.saveSave a reportBrand team
Runs reports.save as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the reports.manage permission. Arguments, in order: draft: ReportDraft.
Arguments (tuple)
0: draftobjectrequirednamestringrequired · 1 to 120 charactersdescriptionstring · at most 500 characters, default ""filtersobject · default {"platforms":[],"programIds":[],"creatorIds":[],"scopes":[],"days":30}metricsarray of stringrequired · at least 1 itemsgroupBy"day" | "week" | "platform" | "creator" | "program" | "submission"requiredchart"line" | "area" | "bar" | "table" · default "line"scheduleobjectidstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/reports.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","metrics":["…"],"groupBy":"day"}]}'reports.sendNowSend a report nowBrand team
Runs reports.sendNow as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the reports.view permission. Arguments, in order: reportId: string.
Arguments (tuple)
0: reportIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/reports.sendNow" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["report-…"]}'scoring2.fitFit scoring2Brand team
Runs scoring2.fit as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the insights.save permission.
Arguments (array of any)
array of any
curl -X POST "https://gettopspin.com/api/v1/methods/scoring2.fit" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'strategist.assessBriefAssess briefBrand team
Runs strategist.assessBrief as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the strategist.assess permission. Arguments, in order: programId: string.
Arguments (tuple)
0: programIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/strategist.assessBrief" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["program-…"]}'strategist.assessVideoAssess videoBrand team
Runs strategist.assessVideo as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the strategist.assess permission. Arguments, in order: submissionId: string.
Arguments (tuple)
0: submissionIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/strategist.assessVideo" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["submission-…"]}'strategist.saveTacticSave tacticBrand team
Runs strategist.saveTactic as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the strategist.edit permission. Arguments, in order: tactic: Omit<Tactic, "version" | "versions" | "performance" | "updatedAt" | "stale"> & { note: string }.
Arguments (tuple)
0: tacticobjectrequiredidstringrequired · at least 1 charactersstrategistIdstringrequired · at least 1 characterstitlestringrequiredcategory"hook" | "structure" | "offer" | "cta" | "format" | "platform"requiredwhenToUsestringrequiredwhenNotstringrequiredexamplesarray of objectrequiredevidencestringrequiredtagsarray of stringrequirednotestringrequired · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/strategist.saveTactic" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"id":"…","strategistId":"strategist-…","title":"…","category":"hook","whenToUse":"…","whenNot":"…","examples":[{"kind":"clip","text":"…"}],"evidence":"…","tags":["…"],"note":"…"}]}'teamAgent.creatorCreator team agentBrand team
Runs teamAgent.creator as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission.
Arguments (tuple)
0stringrequired · 1 to 100 characters
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.creator" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["…"]}'teamAgent.spendSpend team agentBrand team
Runs teamAgent.spend as the key's person, with the same checks as the app. Needs the analytics:write scope. Callable with brand team keys. Brand team members with the ads.insights permission.
Arguments (array of any | tuple)
0integerrequired · 1 to 90
curl -X POST "https://gettopspin.com/api/v1/methods/teamAgent.spend" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'Experiments experiments:write
Save, register, start and conclude creative tests, plan holdouts and record their store numbers, and create, link and read Meta lift studies.
experiments.concludeConclude a creative testBrand team
Runs experiments.conclude as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string; status: "complete" | "stopped"; conclusion: string.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters1: status"complete" | "stopped"required2: conclusionstringrequired · 1 to 2000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/experiments.conclude" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…","complete","…"]}'experiments.recordResultRecord a test resultBrand team
Runs experiments.recordResult as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string; armId: string; result: Omit<ArmResult, "at">.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters1: armIdstringrequired · 1 to 200 characters2: resultobjectrequiredspendUsdnumberrequiredimpressionsintegerrequired · 0 to 9007199254740991clicksintegerrequired · 0 to 9007199254740991conversionsintegerrequired · 0 to 9007199254740991revenueUsdnumberrequiredthreeSecViewsinteger · 0 to 9007199254740991sourcestringrequired
curl -X POST "https://gettopspin.com/api/v1/methods/experiments.recordResult" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…","arm-…",{"spendUsd":1,"impressions":1,"clicks":1,"conversions":1,"revenueUsd":1,"source":"…"}]}'experiments.registerRegister a creative testBrand team
Runs experiments.register as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/experiments.register" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…"]}'experiments.saveSave a creative testBrand team
Runs experiments.save as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: draft: ExperimentDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 160 characterskind"workflow" | "edit" | "new_brief" | "lift"requiredregistrationobjectrequiredarmsarray of objectrequired · 2 to 6 items
curl -X POST "https://gettopspin.com/api/v1/methods/experiments.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","kind":"workflow","registration":{"question":"…","product":"…","audience":"…","placements":"…","objective":"…","conversionEvent":"…","attributionWindow":"…","budgetUsd":1,"primaryMetric":"cpa","minEffect":1,"minEventsPerArm":1,"stopConditions":"…","design":"randomized"},"arms":[{"label":"…","role":"baseline"}]}]}'experiments.startStart a creative testBrand team
Runs experiments.start as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/experiments.start" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…"]}'lift.createMetaStudyCreate meta studyBrand team
Runs lift.createMetaStudy as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: draft: MetaStudyDraft.
Arguments (tuple)
0: draftobjectrequirednamestringrequired · 1 to 200 characterslaunchIdstring · 1 to 200 charactersadAccountIdstringrequired · 1 to 200 characterscampaignIdsarray of stringrequired · 1 to 50 itemspixelIdstring · pattern ^\d{1,30}$eventNamestringrequired · 1 to 100 charactersstartDatestringrequired · pattern ^\d{4}-\d{2}-\d{2}$endDatestringrequired · pattern ^\d{4}-\d{2}-\d{2}$controlPercentintegerrequired · 10 to 50
curl -X POST "https://gettopspin.com/api/v1/methods/lift.createMetaStudy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","adAccountId":"adAccount-…","campaignIds":["campaign-…"],"eventName":"…","startDate":"2026-10-17T12:00:00Z","endDate":"2026-10-17T12:00:00Z","controlPercent":10}]}'lift.linkMetaStudyLink meta studyBrand team
Runs lift.linkMetaStudy as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: params: { metaStudyId: string; name?: string; launchId?: string }.
Arguments (tuple)
0: paramsobjectrequiredmetaStudyIdstringrequired · pattern ^\d{1,30}$namestring · at most 200 characterslaunchIdstring · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/lift.linkMetaStudy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"metaStudyId":"metaStudy-…"}]}'lift.planHoldoutPlan holdoutBrand team
Runs lift.planHoldout as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string; draft: HoldoutDraft.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters1: draftobjectrequiredkind"geo" | "time"requiredregionsarray of string · at most 200 itemspreStartstring · pattern ^\d{4}-\d{2}-\d{2}$preEndstring · pattern ^\d{4}-\d{2}-\d{2}$testStartstringrequired · pattern ^\d{4}-\d{2}-\d{2}$testEndstringrequired · pattern ^\d{4}-\d{2}-\d{2}$periodDaysinteger · 1 to 28washoutDaysinteger · 0 to 14expectedCvnumber · 0.01 to 5
curl -X POST "https://gettopspin.com/api/v1/methods/lift.planHoldout" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…",{"kind":"geo","testStart":"…","testEnd":"…"}]}'lift.recordObservationsRecord observationsBrand team
Runs lift.recordObservations as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: experimentId: string; rows: ObservationInput[]; source: string.
Arguments (tuple)
0: experimentIdstringrequired · 1 to 200 characters1: rowsarray of objectrequired · 1 to 400 items[].unitIdstringrequired · 1 to 20 characters[].window"pre" | "test"required[].valuenumberrequired · 0 to 1000000000000[].controlSpendUsdnumber · 0 to 1000000
2: sourcestringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/lift.recordObservations" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["experiment-…",[{"unitId":"unit-…","window":"pre","value":1}],"…"]}'lift.refreshMetaStudyRefresh meta studyBrand team
Runs lift.refreshMetaStudy as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: studyId: string.
Arguments (tuple)
0: studyIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/lift.refreshMetaStudy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["study-…"]}'lift.removeMetaStudyRemove meta studyBrand team
Runs lift.removeMetaStudy as the key's person, with the same checks as the app. Needs the experiments:write scope. Callable with brand team keys. Brand team members with the experiments.manage permission. Arguments, in order: studyId: string.
Arguments (tuple)
0: studyIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/lift.removeMetaStudy" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["study-…"]}'Pilot and time logs engagements:write
Update the pilot plan, record its baseline, make or revoke view-only case-study links, and log time spent.
baseline.createCaseStudyLinkMake a view-only case-study link for a pilotBrand team
Runs baseline.createCaseStudyLink as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; days (optional): number.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: daysinteger | null
curl -X POST "https://gettopspin.com/api/v1/methods/baseline.createCaseStudyLink" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…"]}'baseline.revokeCaseStudyLinkRevoke a case-study linkBrand team
Runs baseline.revokeCaseStudyLink as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; shareId: string.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: shareIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/baseline.revokeCaseStudyLink" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…","share-…"]}'baseline.saveSave the baseline a pilot is measured againstBrand team
Runs baseline.save as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; baseline: BaselineDraft.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: baselineobjectrequiredreceivedToApprovedHoursnumber · 0 to 8784revisionTurnaroundHoursnumber · 0 to 8784revisionRoundsnumber · 0 to 50operatorMinutesPerAssetnumber · 0 to 10000approvedToLiveHoursnumber · 0 to 8784launchRatenumber · 0 to 1source"measured" | "reported" | "imported"requirednotestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/baseline.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…",{"source":"measured"}]}'engagements.decideChangeDecide changeBrand team
Runs engagements.decideChange as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; changeId: string; decision: "approved" | "declined".
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: changeIdstringrequired · 1 to 200 characters2: decision"approved" | "declined"required
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.decideChange" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…","change-…","approved"]}'engagements.requestChangeRequest changeBrand team
Runs engagements.requestChange as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Any brand team member. Arguments, in order: engagementId: string; params: { what: string; kind: "sources" | "edits" | "channel" | "production" | "other"; quantity: number; feeUsd: number }.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: paramsobjectrequiredwhatstringrequired · 1 to 500 characterskind"sources" | "edits" | "channel" | "production" | "other"requiredquantityintegerrequired · 0 to 10000feeUsdnumberrequired · 0 to 1000000
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.requestChange" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…",{"what":"…","kind":"sources","quantity":1,"feeUsd":1}]}'engagements.reviewReview the pilotBrand team
Runs engagements.review as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; params: { summary: string; decision: "continue" | "revise" | "stop" }.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: paramsobjectrequiredsummarystringrequired · 1 to 4000 charactersdecision"continue" | "revise" | "stop"required
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.review" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…",{"summary":"…","decision":"continue"}]}'engagements.saveSave the pilot planBrand team
Runs engagements.save as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: draft: EngagementDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 characterskind"pilot" | "recurring"requirednamestringrequired · at most 120 characterspriceUsdnumber · 0 to 1000000scopeobject
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"kind":"pilot","name":"…"}]}'engagements.setCommercialSet commercialBrand team
Runs engagements.setCommercial as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the engagements.manage permission. Arguments, in order: engagementId: string; patch: Partial<Engagement["commercial"]>.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: patchobjectrequiredofferedUsdnumber · 0 to 1000000acceptedAtstring · at most 40 charactersinvoicedUsdnumber · 0 to 1000000collectedUsdnumber · 0 to 1000000discountUsdnumber · 0 to 1000000renewal"undecided" | "renewed" | "declined"renewalReasonstring · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.setCommercial" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…",{}]}'engagements.setReadinessSet readinessBrand team
Runs engagements.setReadiness as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Any brand team member. Arguments, in order: engagementId: string; key: string; done: boolean; evidence (optional): string.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: keystringrequired · at most 40 characters2: donebooleanrequired3: evidencestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/engagements.setReadiness" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…","…",true]}'worklog.addLog timeBrand team
Runs worklog.add as the key's person, with the same checks as the app. Needs the engagements:write scope. Callable with brand team keys. Brand team members with the worklog.add permission. Arguments, in order: params: Omit<WorkLog, "id" | "brandId" | "by" | "at"> & { at?: string }.
Arguments (tuple)
0: paramsobjectrequiredsubmissionIdstring · 1 to 200 charactersengagementIdstring · 1 to 200 charactersactivity"review" | "coordination" | "editing" | "launch" | "payout" | "support" | "setup"requiredminutesnumberrequired · 1 to 1440party"brand" | "company" | "contractor" | "creator"requiredsource"timer" | "manual" | "estimate"requirednotestring · at most 300 charactersatstring · at most 40 characters
curl -X POST "https://gettopspin.com/api/v1/methods/worklog.add" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"activity":"review","minutes":1,"party":"brand","source":"timer"}]}'Integrations and settings settings:write
Connect integrations, save the brand profile and claims library, approve claims read from product pages, build automations, edit creative tags and apply the platform pack.
adConnections.requestPartnerAccessAsk the brand's Meta Business for partner access to an ad account and its PageBrand team
Runs adConnections.requestPartnerAccess as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: adAccountId: string; pageId (optional): string.
Arguments (tuple)
0: adAccountIdstringrequired · 1 to 200 characters1: pageIdstring | null
curl -X POST "https://gettopspin.com/api/v1/methods/adConnections.requestPartnerAccess" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["adAccount-…"]}'adConnections.setRevokeOnDealEndChoose whether partner access ends with the engagementBrand team
Runs adConnections.setRevokeOnDealEnd as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: engagementId: string; revoke: boolean.
Arguments (tuple)
0: engagementIdstringrequired · 1 to 200 characters1: revokebooleanrequired
curl -X POST "https://gettopspin.com/api/v1/methods/adConnections.setRevokeOnDealEnd" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["engagement-…",true]}'app.saveClaimsSave claimsBrand team
Runs app.saveClaims as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the settings.edit permission. Arguments, in order: patch: Partial<Pick<ClaimsLibrary, "approved" | "banned" | "disclaimers" | "categoryRules" | "productFacts" | "claimsApprover">>; note: string.
Arguments (tuple)
0: patchobjectrequiredapprovedarray of objectbannedarray of objectdisclaimersarray of objectcategoryRulesarray of objectproductFactsarray of objectclaimsApproverstring
1: notestringrequired · at most 1000 characters
curl -X POST "https://gettopspin.com/api/v1/methods/app.saveClaims" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{},"…"]}'automations.removeDelete an automationBrand team
Runs automations.remove as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the automations.manage permission. Arguments, in order: automationId: string.
Arguments (tuple)
0: automationIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/automations.remove" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["automation-…"]}'automations.saveSave an automationBrand team
Runs automations.save as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the automations.manage permission. Arguments, in order: draft: AutomationDraft.
Arguments (tuple)
0: draftobjectrequiredidstring · 1 to 200 charactersnamestringrequired · 1 to 120 characterstrigger"submission.received" | "review.completed" | "version.approved" | "fix.updated" | "rights.updated" | "launch.updated" | "sale"requiredconditionsobjectrequiredactionsarray of objectrequired · 1 to 6 items
curl -X POST "https://gettopspin.com/api/v1/methods/automations.save" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"name":"…","trigger":"submission.received","conditions":{},"actions":[{"type":"chat_message","text":"…"}]}]}'automations.setStatusTurn an automation on or offBrand team
Runs automations.setStatus as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the automations.manage permission. Arguments, in order: automationId: string; status: "active" | "paused".
Arguments (tuple)
0: automationIdstringrequired · 1 to 200 characters1: status"active" | "paused"required
curl -X POST "https://gettopspin.com/api/v1/methods/automations.setStatus" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["automation-…","active"]}'automations.testDry-run an automation against recent eventsBrand team
Runs automations.test as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the automations.manage permission. Arguments, in order: automationId: string.
Arguments (tuple)
0: automationIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/automations.test" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["automation-…"]}'briefs.decideClaimDecide claimBrand team
Runs briefs.decideClaim as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the settings.edit permission. Arguments, in order: pendingId: string; decision: "approve" | "reject"; note (optional): string.
Arguments (tuple)
0: pendingIdstringrequired · 1 to 200 characters1: decision"approve" | "reject"required2: notestring | null
curl -X POST "https://gettopspin.com/api/v1/methods/briefs.decideClaim" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["pending-…","approve"]}'influencer.saveBrandSave brandBrand team
Runs influencer.saveBrand as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the settings.edit permission. Arguments, in order: patch: Record<string, unknown>.
Arguments (tuple)
0: patchobjectrequiredshareRevenueWithCreatorsbooleanaiCloneEnabledbooleandescriptionstring · at most 4000 charactersaliasesarray of string · at most 50 itemsinstagramHandlestring · at most 100 characterswebsitestring · 1 to 200 charactersmatchmakingInstructionsstring · at most 4000 charactersoutreachCtastring · at most 500 charactersemailSignoffstring · at most 500 characters
curl -X POST "https://gettopspin.com/api/v1/methods/influencer.saveBrand" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{}]}'integrations.connectConnect an integrationBrand team
Runs integrations.connect as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: kind: ConnectionKind; params: { name: string; externalId: string; instagramHandle?: string }.
Arguments (tuple)
0: kind"ad_account" | "page" | "tiktok_shop"required1: paramsobjectrequirednamestringrequired · 1 to 200 charactersexternalIdstringrequired · 1 to 60 charactersinstagramHandlestring · at most 100 characters
curl -X POST "https://gettopspin.com/api/v1/methods/integrations.connect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["ad_account",{"name":"…","externalId":"external-…"}]}'integrations.reconnectReconnect an ad accountBrand team
Runs integrations.reconnect as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: adAccountId: string.
Arguments (tuple)
0: adAccountIdstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/integrations.reconnect" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["adAccount-…"]}'integrations.removeRemove an integrationBrand team
Runs integrations.remove as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: kind: ConnectionKind; id: string.
Arguments (tuple)
0: kind"ad_account" | "page" | "tiktok_shop"required1: idstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/integrations.remove" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["ad_account","…"]}'integrations.setDefaultSet the default accountBrand team
Runs integrations.setDefault as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the integrations.manage permission. Arguments, in order: kind: ConnectionKind; id: string.
Arguments (tuple)
0: kind"ad_account" | "page" | "tiktok_shop"required1: idstringrequired · 1 to 200 characters
curl -X POST "https://gettopspin.com/api/v1/methods/integrations.setDefault" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":["ad_account","…"]}'platformPacks.applyApply platform packsBrand team
Runs platformPacks.apply as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the settings.edit permission. Arguments, in order: params: { version: string }.
Arguments (tuple)
0: paramsobjectrequiredversionstringrequired · 1 to 40 characters
curl -X POST "https://gettopspin.com/api/v1/methods/platformPacks.apply" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[{"version":"…"}]}'platformPacks.previewPreview platform packsBrand team
Runs platformPacks.preview as the key's person, with the same checks as the app. Needs the settings:write scope. Callable with brand team keys. Brand team members with the settings.edit permission. Arguments, in order: params (optional): { limit?: number }.
Arguments (array of any | tuple)
0: paramsobject | nulllimitinteger · 1 to 100
curl -X POST "https://gettopspin.com/api/v1/methods/platformPacks.preview" \
-H "Authorization: Bearer $TOPSPIN_KEY" \
-H "content-type: application/json" \
-d '{"args":[null]}'Errors
Errors come back as { "error": "…", "code": "…" }. The message says what happened and what to do; branch on code.
| Status | Code | Meaning |
|---|---|---|
400 | invalid | The body or arguments are not valid. The message names the field. |
401 | unauthenticated | Missing, bad, revoked or expired key. |
403 | scope | The key does not have a scope that this call needs. This includes the scope of each method that the call runs on the way. The message names the scope. |
403 | permission | The person's role, access policy or the creator rules do not allow it, or the call runs a method that keys cannot call. |
403 | mfa_required | Money, access and security changes, and a change to a creator's pay. Keys can never make them. |
404 | not_found, unknown_method | No such collection, row or method, or a row the key may not see. |
409 | gap, consent, contract, blocker, budget | A business rule refused the call, for example a changed file or the revision-round cap. |
429 | rate_limited | Too many requests. Wait for the seconds in Retry-After. |
Rate limits
- 600 requests per 60 seconds per key, for the REST API and the MCP server together.
- 3000 requests per 60 seconds per IP address, in front of that.
- Every answer carries
RateLimit-Limit,RateLimit-RemainingandRateLimit-Reset. A 429 also carriesRetry-Afterin seconds. - Method arguments: at most 8 items, 256 KB and 8 levels deep.
Webhooks
Brand Admins add HTTPS endpoints in Settings → Developers and pick the events. Each event is queued in the same database transaction as the change, then posted as JSON: { id, type, brandId, createdAt, data }.
| Event | When | Data fields |
|---|---|---|
submission.received | A creator sent a video or a new version of it. | id, creatorId, programId, status, version, title, hook, submittedAt, durationSec |
submission.status_changed | A video moved to a new status (in review, changes requested, approved, rejected). | id, creatorId, programId, status, version, title, hook, submittedAt, durationSec |
review.completed | The evidence review finished for a video version, with its outcome. | id, submissionId, creatorId, version, contentHash, outcome, mode, createdAt, failed, uncertain, notChecked, passed |
version.ready | A version's file is ready (the original after ingest, or a rendered edit), with its fingerprint. | id, submissionId, label, origin, parentAssetId, status, contentHash, durationSec, aspect, editLevel, edl |
version.approved | The creator or the brand approved one exact file. | id, assetId, submissionId, contentHash, party, decision, by, note, scope, at |
version.rejected | The creator or the brand rejected one exact file. | id, assetId, submissionId, contentHash, party, decision, by, note, scope, at |
fix.updated | A requested change was sent, accepted, disputed, applied or resolved. | id, submissionId, creatorId, title, instruction, owner, status, round, dueAt, assetId, atSec |
launch.updated | A launch was created or its platform status changed (in review, paused, active, rejected). | id, submissionId, submissionIds, assetIds, mode, format, destinationUrl, createdAt, platforms |
rights.updated | A usage right or ad permission was granted, changed, expired or revoked. | id, creatorId, kind, source, permissionSource, status, scope, startsAt, expiresAt, revokedAt |
payout.updated | A payout transfer changed status. | id, creatorId, amountUsd, currency, provider, status, createdAt |
ad.rule_action | An ad rule suggested, made or failed a change: pause an ad, raise or lower a daily budget, or flag creative fatigue. Also sent for budget changes people make in the app. | none |
rights_request.accepted | A creator accepted a rights request for a post, with the terms and the rights record it made. | id, creatorId, handle, status, terms, post, acceptedBy, rightsId, submissionId, payoutId |
rights_request.declined | A creator declined a rights request for a post, with the reason. | id, creatorId, handle, status, terms, post, decline |
extra.purchased | The brand bought an extra clip from a creator. A one-off payout now waits for payment approval. | none |
offer.updated | An offer on an agreement was sent, countered, accepted or declined, with the terms on the table. | none |
contract.updated | An agreement was built, sent or signed, or an update to signed terms was sent, signed, declined or withdrawn, with what changes. | none |
automation.run | An automation ran on a workflow event, with the result of each action. | none |
video_agent.escalated | The video agent chased the creator or the brand team the most times it may (videoAgent.maxChases), nothing changed, and it escalated to the brand owner. | none |
ping | Sent by Send test in Settings → Developers, to check an endpoint. | none |
Check the signature
x-topspin-signature: t=<unix seconds>,v1=<hex>.v1is HMAC-SHA256 of<t>.<raw body>, keyed with the endpoint's signing secret.- Reject a signature more than 300 seconds old.
x-topspin-deliveryis the event id. It is stable for one state of one record, so ignore repeats.- Any 2xx counts as delivered. Failed deliveries retry after 1 minute, 5 minutes, 30 minutes, 2 hours, 12 hours. After 25 failures in a row the endpoint turns off.
import crypto from "node:crypto";
// rawBody: the request body exactly as received, before JSON.parse.
export function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false;
const want = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
const a = Buffer.from(want);
const b = Buffer.from(parts.v1 ?? "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}MCP server
https://gettopspin.com/api/mcp is a Model Context Protocol server (Streamable HTTP, stateless). Assistants such as Claude and Cursor use it with the same API key. It lists only the tools the key's scopes allow, and brand team keys and creator keys get different tools.
claude mcp add --transport http topspin https://gettopspin.com/api/mcp \ --header "Authorization: Bearer ts_…"
{
"mcpServers": {
"topspin": {
"type": "http",
"url": "https://gettopspin.com/api/mcp",
"headers": {
"Authorization": "Bearer ts_…"
}
}
}
}Claude Desktop and claude.ai: add a custom connector with the server URL, or use the same JSON in the app's MCP settings where your plan allows custom headers.
Tools for brand team keys
| Tool | Needs | What it does |
|---|---|---|
review_queue | read | Videos waiting on the brand: new submissions and new versions, oldest first, with the evidence outcome and how long each has waited. |
open_work | submissions:write | Everything open in the brand, ranked late first: videos to review, fix, approve, give rights or launch, contracts and rights waiting on creators, payouts and transfers to approve, outreach to approve and ad suggestions. Each item says who owns the next step, when it is due and whether it is late, with counts. The same list as the app's Home and Queue. |
get_video | read | One submission: transcript, every version with its file fingerprint (contentHash) and approvals, the evidence review for the original (failed and uncertain checks with times, quotes and suggested fixes), and open fixes. |
approve_version | approvals:write | Approve one exact file, as the brand. Pass the contentHash you read from get_video: if the file changed since, the approval is refused. The approval is also refused while the evidence review blocks the file or a person must still decide findings; send fixes instead. A version runs as an ad only when both the creator and the brand approved the same file. |
reject_version | approvals:write | Reject one exact file, as the brand, with a reason the creator will read. |
propose_fixes | fixes:write | Turn the video's failed and uncertain evidence checks into draft fixes (instruction, bounded edit, or reshoot). Nothing is sent to the creator yet. |
send_fixes | fixes:write | Send draft fixes to the creator as one revision round. Respects the revision-round cap. |
get_edit_context | read | What an edit of this video may do: length, words with times, evidence findings, the edit scope the creator agreed to, licensed music, and the brand's latest draft. Edit lists use the original's seconds for clips, cuts and mutes, and the edited video's seconds for text, captions and music. |
plan_video_edit | read | Plan an edit from a plain-language instruction (e.g. 'remove the clinically proven line and add the paid partnership badge'). Returns the edit list, each step, the edit level against the creator's agreement, and how the new version's review would look. Changes nothing. |
save_edit_draft | studio:write | Save an edit list as the brand's draft for this video, so a person can open it in the editor. Does not render. |
render_edit | studio:write | Render an edit list from the original as a new version. The server checks the list and the creator's edit scope again. The new version runs only after the creator approves the exact file. |
launch_readiness | read | The preflight for one version: approvals on this exact file from both sides, rights and permissions covering the platform and flight, evidence outcome, file specs, copy and destination. Lists what blocks a launch. |
list_rights | read | Usage rights and ad permissions, with what they cover and when they end. Filter by creator or by ending soon. |
ad_results | read | Spend, impressions, clicks, purchases and revenue per creative over the last N days, from the platforms' daily metrics. |
list_records | read | Read a collection the key can see, oldest first, one page at a time. GET /api/v1 lists them. |
call_method | any write scope | Run a method the app runs (e.g. rights.record, launchOps.readback, experiments.save) with the same arguments and permission checks. The key needs the method's scope, and the scope of each method it runs on the way (x-also-needs-scopes in the API reference). Money, access and security methods need a person in the app. |
Tools for creator keys
| Tool | Needs | What it does |
|---|---|---|
my_videos | read | Your videos for this brand, newest first: status, version, the evidence review outcome, open fixes, and brand edits waiting for your approval. |
get_video | read | One of your videos: transcript, every version with its file fingerprint (contentHash) and approvals, the evidence review findings with your answers, the fixes the brand sent, and your saved drafts. |
respond_to_fix | fixes:write | Accept or dispute a fix the brand sent. To dispute, say why: the brand reads your note. |
respond_to_finding | evidence:write | Acknowledge or dispute one finding of the evidence review on your latest version. Use the finding's key from get_video. To dispute, say why. |
approve_version | approvals:write | Approve one exact file, as the creator, for example the brand's edit of your video. Pass the contentHash you read from get_video: if the file changed since, the approval is refused. |
reject_version | approvals:write | Reject one exact file, as the creator, with a reason the brand will read. |
plan_video_edit | read | Plan an edit of your own video from a plain-language instruction (e.g. 'cut the first two seconds and add captions'). Returns the edit list, each step and how the new version's review would look. Changes nothing. |
save_edit_draft | studio:write | Save an edit list as your draft for this video, so you can open it in the editor. Does not render. |
render_edit | studio:write | Render an edit list from your original as a new version. The server checks the list again. The brand reviews the new version. |
my_earnings | read | Your earnings for this brand: each period with amount, status and due date, the transfers sent to you, and totals. |
list_records | read | Read your rows of a collection, oldest first, one page at a time. GET /api/v1 lists the collections. |
call_method | any write scope | Run a method the app runs for creators (e.g. samples.request, chat.send, contracts.sign) with the same arguments and checks. The key needs the method's scope, and the scope of each method it runs on the way (x-also-needs-scopes in the API reference). For example, a yes to the video agent's proposed edit (videoAgent.answerProposal) renders it, so it also needs studio:write. |
In the app only
These methods move money or change access, security or platform config. Keys can never call them, whatever their scopes. Do them in the app, signed in with two-factor where your role needs it.
adOps.approveSuggestion, adOps.setBudget, app.enableSpend, app.inviteMember, app.removeMember, app.setGenticKey, commission.save, config.reset, config.set, deposits.refund, fraud.override, iam.assign, iam.removePolicy, iam.savePolicy, launch.goLive, payments.approveBatch, payments.calculate, payments.closePeriod, payments.completePayoutSetup, payments.generateInvoice, payments.payEarly, payments.rateEarlyPay, payments.requestEarlyPay, payments.savePayRule, payments.startPayoutSetup, payoutPreview.approvals, payoutPreview.batch, payoutPreview.close, payouts.approveTransfer, payouts.cancelTransfer, payouts.createTransfer, payouts.markPaid, payouts.removeMethod, payouts.retryTransfer, payouts.saveMethod, payouts.saveRetainer, payouts.setDefaultMethod, payouts.submitTaxForm, tax.requestForm, tax.submitForm, taxFiling.approve, taxFiling.cancel, taxFiling.checkTin, taxFiling.correct, taxFiling.prepare, taxFiling.refresh, wallet.adjust, wallet.hold, wallet.release, wallet.releaseHeldPayout, wallet.topUp