প্রমাণীকরণ

একটি বিয়ার টোকেন হিসেবে একটি এপিআই কি পাঠান। এই এন্ডপয়েন্টটি স্পেসিফিকেশনে কোনো নির্দিষ্ট অনুমতির কথা বলে না, তাই অনুমান না করে আপনার কি-কে এর জন্য ন্যূনতম প্রয়োজনীয় অনুমতি দিন এবং রেসপন্স পরীক্ষা করুন।

যেখানে আপনার অর্গানাইজেশন আইডি দেওয়া হবে

এই এন্ডপয়েন্টটি org_id-কে একটি কুয়েরি প্যারামিটার হিসেবে গ্রহণ করে। এটি বাদ দিলে কলটি আপনার পুরো টেনেন্সি সাবট্রিকে কভার করে; এটিকে পাঠালে কলটি একটি সংস্থায় সীমাবদ্ধ হয়।

আপনার ড্যাশবোর্ডের API কি স্ক্রিনে, কি-এর ঠিক পাশেই আপনার অর্গানাইজেশন আইডি রয়েছে। আপনি যে কলই করুন না কেন, সবগুলিতেই এই আইডি একই থাকে।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

curl -X POST https://api.zinndigital.com/v1/content/campaigns \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "brief": <string>, "posts": <integer> }'

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

Creates one queued article per topic, each targeting every site the campaign resolved to, each with its own moment inside the drip window. Gated on links.edit. Nothing is started by this call. The articles are queued as pending runs and a Temporal sweep starts each when its moment arrives — so the request path carries no long work, generation cost is spread across the window rather than paid upfront, and a campaign created during a Temporal outage is visible and simply starts late. Refused with 422 when the account is not in good standing: we do not spend money on an account that is not being paid for.

পরামিতি

নামধরনআবশ্যকএটি কী
org_id (query)stringনাNarrow to one organisation. A reseller managing several client organisations reads the wrong one without it — and on a footprint-free network, another operator's posting schedule…

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
briefstringহ্যাঁThe standing instruction — voice, audience, what the sites are about.
postsintegerহ্যাঁHow many ARTICLES to write. Each is placed on every target site, so the number of publications is this times the site count.
topicsstring[]নাOne subject per article, so N articles are N articles rather than N paraphrases. A shorter list cycles; an empty one means the brief alone.
site_idsstring[]না
site_group_idstringনাA site group, resolved when the campaign is created rather than copied. A recurring schedule pointed at a group re-resolves it on every firing, so sites added later are…
drip_daysintegerনাSpread the articles across this many days. 0 publishes them together.
drip_jitter_minutesintegerনাRandomise each moment by up to this many minutes either way. Perfectly even spacing is more detectable than posting all at once — nothing a person does is that regular — so this…
anchorsContentRunAnchor[]না
categorystringনা
publish_policyContentRunPublishPolicyনাHow far a run may go on its own. draft_only is the default and puts nothing live.
recipe_idstringনা

প্রতিক্রিয়া

নামধরনআবশ্যকএটি কী
campaign_idstringহ্যাঁ
targetsContentCampaignTargetsহ্যাঁ
postsContentCampaignPlannedPost[]হ্যাঁ
total_articlesintegerহ্যাঁArticles written. One per topic.
total_placementsintegerহ্যাঁIndividual publications — articles times sites. The number that reads as "how much am I about to do", and the one the spend estimate is built on.
first_atstringনা
last_atstringনা

এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে

401 · 403 · 404 · 422