API
READ
WRITE
সংযোগ পদ্ধতি
আপনার API কী দেখুন
উপরের ডানদিকের মেনু > সেটিংস > অ্যাকাউন্ট > API কী থেকে দেখা যাবে।
রিকোয়েস্ট হেডারে যুক্ত করুন
ইস্যু করা API কী Authorization হেডারে Bearer ফরম্যাটে যুক্ত করুন।
বেস URL-এ রিকোয়েস্ট পাঠান
নিচের বেস URL-এর সাথে এন্ডপয়েন্টের পাথ যুক্ত করে রিকোয়েস্ট পাঠান।
প্রতিটি অ্যাকাউন্টের একটি করে API কী থাকে। কী পরিবর্তন করলে পুরোনো কী সঙ্গে সঙ্গে কাজ করা বন্ধ করে দেয়। আপনার কী গোপন রাখুন।
বেস URL
https://stepeee.com/public-api/v1
রিকোয়েস্টের উদাহরণ
curl "https://stepeee.com/public-api/v1/projects" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
রেসপন্স ফরম্যাট ও ত্রুটি
সব রেসপন্স নিচের এনভেলপ ফরম্যাটে ফেরত পাঠানো হয়।
সফল হলে
{ "data": ... }
ত্রুটি হলে
{ "error": { "code": "...", "message": "...", "details": { ... } } }
স্ট্যাটাস কোড
| স্ট্যাটাস | অর্থ |
|---|---|
| 401 | API কী নেই, ভুল, অথবা বাতিল করা হয়েছে |
| 403 | এই রিকোয়েস্টের জন্য আপনার অনুমতি নেই (যেমন Pro প্ল্যানের নিচের অ্যাকাউন্টের API কী দিয়ে Pro প্ল্যান বা তার উপরের প্ল্যান প্রয়োজন এমন এন্ডপয়েন্ট কল করা, অথবা টিমের স্টাফ সদস্য টিমের Token ব্যবহার চাওয়া) |
| 404 | রিসোর্স নেই (অ্যাক্সেসের অনুমতি না থাকার ক্ষেত্রেও প্রযোজ্য) |
| 405 | এই পাথে ওই HTTP মেথড ব্যবহার করা যায় না |
| 409 | বর্তমান অবস্থায় এই কাজটি করা যায় না (যেমন যে কনটেন্টের অটোমেশন চলছে তা মুছে ফেলা, অথবা একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন)। কারণ আলাদা করতে error.code ব্যবহার করুন |
| 422 | প্যারামিটার ভুল, অথবা রিকোয়েস্টটি গ্রহণ করা যায় না। validation_error-এর ক্ষেত্রে error.details-এ প্রতিটি প্যারামিটারের কারণ থাকে |
| 429 | রেট লিমিট অতিক্রম করা হয়েছে |
| 500 | একটি অপ্রত্যাশিত ত্রুটি ঘটেছে |
| 503 | কাজটি শুরু করা যায়নি (যেমন অটোমেশন রান শুরু করা ব্যর্থ হলে)। অনুগ্রহ করে পরে আবার চেষ্টা করুন |
সাধারণ নিয়ম
কী অ্যাক্সেস ও পরিবর্তন করা যায়
অ্যাপে API কী-এর মালিক যা দেখতে পান, আপনি তা-ই পড়তে ও পরিবর্তন করতে পারবেন। নিজের প্রজেক্টের পাশাপাশি Team প্ল্যানে টিম মালিক ও অ্যাডমিনরা টিমের সব প্রজেক্ট পড়তে ও পরিবর্তন করতে পারেন, আর স্টাফ সদস্যরা তাঁদের দেওয়া প্রজেক্টগুলো পড়তে ও পরিবর্তন করতে পারেন। এই সীমার বাইরের রিসোর্সে না-থাকা রিসোর্সের মতোই 404 ফেরত আসে।
মুছে ফেলা ডেটা
মুছে ফেলা প্রজেক্ট, কনসেপ্ট, টাইটেল, কনটেন্ট ও ম্যাটেরিয়াল স্থায়ীভাবে মুছে ফেলার আগের সময়কালেও ফেরত আসে না। কোনো টাইটেল বা কনসেপ্ট মুছলে তার অধীনের কনটেন্টও ফেরত আসে না।
পৃষ্ঠা ভাগ করা (পেজিনেশন)
তালিকায় page (1 থেকে শুরু) ও per_page (1–100, ডিফল্ট 20) দিয়ে ফেরত আসার পরিসর বেছে নেওয়া হয়। meta-তে মোট সংখ্যা (total), বর্তমান পৃষ্ঠা (current_page), প্রতি পৃষ্ঠার আইটেম সংখ্যা (per_page) এবং শেষ পৃষ্ঠা (last_page) থাকে।
তারিখ ও সময়
রেসপন্সের সব তারিখ ও সময় UTC ISO 8601 ফরম্যাটে থাকে (যেমন 2026-10-21T09:30:00Z)। from / to প্যারামিটারে তারিখ (2026-10-21), তারিখ ও সময় (2026-10-21T09:30:00), অথবা অফসেটসহ তারিখ ও সময় (2026-10-21T18:30:00+09:00) দেওয়া যায়; অফসেট ছাড়া মান UTC ধরা হয়। from সেই মুহূর্তসহ ধরে, আর to-তে শুধু তারিখ দিলে সেই দিনের 23:59:59 পর্যন্ত অন্তর্ভুক্ত হয়।
ID
রিসোর্স চেনা যায় project_unique ও variation_unique-এর মতো অক্ষর-সংখ্যার পাবলিক ID দিয়ে। ID কখনো বদলায় না।
ফাইলের URL
ইমেজ, ভিডিও ও অডিওর URL {url, expires_at} আকারে ফেরত আসে। প্রাইভেট ফাইলে সাইন করা URL ব্যবহার হয়, যা expires_at-এর পর (ইস্যু করার এক ঘণ্টা পরে) কাজ করা বন্ধ করে দেয়। ফাইলটি ব্যবহার চালিয়ে যেতে মেয়াদ শেষ হওয়ার আগে ডাউনলোড করে সংরক্ষণ করুন, অথবা নতুন URL পেতে আবার API কল করুন। পাবলিক করা ফাইলের URL-এর মেয়াদ শেষ হয় না এবং expires_at হয় null।
মানের ধরন
status ও platform-এর মতো মান এই পৃষ্ঠায় তালিকাভুক্ত ছোট হাতের স্ট্রিং হিসেবে ফেরত আসে। নতুন ফিচার যোগ হলে নতুন মান যোগ হতে পারে, তাই অজানা মান পেলেও যেন আপনার কোড ঠিকভাবে চলে, তা নিশ্চিত করুন।
অর্থের পরিমাণ
অর্থের পরিমাণ মুদ্রার ক্ষুদ্রতম এককে পূর্ণসংখ্যা (USD-এর ক্ষেত্রে সেন্ট, JPY-এর ক্ষেত্রে ইয়েন)। মুদ্রা currency-তে ছোট হাতের ISO 4217 কোড হিসেবে থাকে (usd, jpy ইত্যাদি)।
লেখার রিকোয়েস্ট (Pro প্ল্যান)
GET ছাড়া অন্য মেথড দিয়ে টাইটেল যোগ করা, কনটেন্ট মুছে ফেলা, অটোমেশন শুরু করা, পোস্ট অনুমোদন করা এবং ওয়েবহুক নিবন্ধন করার মতো কাজ করা যায়। প্রতিটি কাজ অ্যাপে একই কাজ করলে যে প্রক্রিয়া চলে, ঠিক সেটাই চালায় এবং একই নিয়ম প্রযোজ্য হয়। লেখার রিকোয়েস্ট শুধু তখনই ব্যবহার করা যায় যখন API কী-এর মালিক Pro প্ল্যান বা তার উপরে আছেন; Pro প্ল্যানের নিচে এগুলো 403 plan_required ফেরত দেয়। টিম মালিক আর Team প্ল্যানে না থাকলে টিম সদস্যরা 403 team_plan_lost পান। তবে অটোমেশন বন্ধ করা, ওয়েবহুকের তালিকা দেখা ও মুছে ফেলা এবং রিভিউয়ের অপেক্ষায় থাকা পোস্টের তালিকা দেখা যেকোনো প্ল্যানে করা যায় (যাতে প্ল্যান বদলের পরেও চলমান অটোমেশন ও বিজ্ঞপ্তি বন্ধ করা যায়)। কিছু তৈরি হলে 201 ফেরত আসে; বাকি সব ক্ষেত্রে 200।
Idempotency-Key
সংযোগ কেটে গিয়ে রেসপন্স না পেলে যাতে নিরাপদে কাজটি আবার চেষ্টা করা যায়, সেজন্য কিছু লেখার এন্ডপয়েন্ট Idempotency-Key হেডার গ্রহণ করে (যে এন্ডপয়েন্টগুলো গ্রহণ করে, সেগুলোর প্যারামিটার টেবিলে এটি দেওয়া আছে; অটোমেশন শুরু করতে এটি আবশ্যক)। প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং ব্যবহার করুন (যেমন UUID; 1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু (মেথড, পাথ ও বডি) আবার পাঠালে কাজটি আবার করা হয় না; প্রথম রেসপন্সটি Idempotent-Replayed: true হেডারসহ হুবহু ফেরত দেওয়া হয়। কী প্রতিটি API কী-এর মালিকের জন্য 24 ঘণ্টা বৈধ থাকে। একই কী দিয়ে ভিন্ন বিষয়বস্তু পাঠালে 422 idempotency_key_reused ফেরত আসে, আর প্রথম রিকোয়েস্ট এখনো প্রক্রিয়াধীন থাকলে 409 idempotency_request_in_progress ফেরত আসে। 5xx রেসপন্স সংরক্ষণ করা হয় না, তাই একই কী দিয়ে আবার চেষ্টা করা যায়। যেসব এন্ডপয়েন্টে হেডারটি আবশ্যক, সেখানে হেডার না থাকলে 422 idempotency_key_required এবং ফরম্যাট ভুল হলে 422 idempotency_key_invalid ফেরত আসে।
রেট লিমিট
প্রতিটি API কী দিয়ে প্রতি মিনিটে সর্বোচ্চ 120টি রিকোয়েস্ট পাঠানো যায় (লেখার রিকোয়েস্টে নিচে বর্ণিত লেখার রেট লিমিটও প্রযোজ্য)। রেসপন্স হেডারে X-RateLimit-Limit (সীমা) ও X-RateLimit-Remaining (অবশিষ্ট সংখ্যা) দেখতে পারবেন। সীমা ছাড়ালে 429 ফেরত আসে, আর Retry-After-এ আবার চেষ্টা করার আগে কত সেকেন্ড অপেক্ষা করতে হবে তা থাকে।
লেখার রেট লিমিট
লেখার রিকোয়েস্ট (GET ছাড়া অন্য মেথড) প্রতি API কী-তে প্রতি মিনিটে 30টি রিকোয়েস্টে সীমাবদ্ধ, যা প্রতি মিনিটে 120টি রিকোয়েস্টের সীমার অতিরিক্ত। এটি ছাড়ালে 429 rate_limited ফেরত আসে, আর Retry-After-এ আবার চেষ্টা করার আগে কত সেকেন্ড অপেক্ষা করতে হবে তা থাকে। লেখার রিকোয়েস্টে X-RateLimit-Limit ও X-RateLimit-Remaining রেসপন্স হেডার দুটি সীমার মধ্যে যেটিতে কম রিকোয়েস্ট বাকি আছে, সেটির মান দেখায়।
ত্রুটির কোড
ত্রুটি হলে error.code-এ ত্রুটির ধরন এবং error.message-এ ইংরেজিতে বিবরণ থাকে। যেকোনো এন্ডপয়েন্ট যে কোডগুলো ফেরত দিতে পারে, সেগুলো নিচে দেওয়া হয়েছে। নির্দিষ্ট এন্ডপয়েন্টের নিজস্ব কোড (যেমন title_limit_reached) সেই এন্ডপয়েন্টের ত্রুটির টেবিলে দেওয়া আছে। ত্রুটি আলাদা করতে আপনার কোডে error.code ব্যবহার করুন।
| কোড | অর্থ |
|---|---|
unauthorized | API কী নেই, ভুল, অথবা বাতিল করা হয়েছে (401) |
forbidden | আপনার অনুমতি নেই (403) |
plan_required | কাজটির জন্য Pro প্ল্যান বা তার উপরের প্ল্যান প্রয়োজন (403) |
team_plan_lost | টিম মালিক আর Team প্ল্যানে নেই, তাই টিম সদস্যরা লিখতে পারেন না (403) |
not_found | রিসোর্সটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (404) |
method_not_allowed | এই পাথে ওই HTTP মেথড ব্যবহার করা যায় না (405) |
conflict | বর্তমান অবস্থায় এই কাজটি করা যায় না (409) |
idempotency_request_in_progress | একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন (409) |
validation_error | প্যারামিটার ভুল (422) |
idempotency_key_required | যে এন্ডপয়েন্টে আবশ্যক, সেখানে Idempotency-Key হেডার নেই (422) |
idempotency_key_invalid | Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় (422) |
idempotency_key_reused | ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে (422) |
rate_limited | রেট লিমিট ছাড়িয়ে গেছে (429) |
internal_error | একটি অপ্রত্যাশিত ত্রুটি ঘটেছে (500) |
422-এর উদাহরণ
{
"error": {
"code": "validation_error",
"message": "The per page field must not be greater than 100.",
"details": {
"per_page": ["The per page field must not be greater than 100."]
}
}
}
অ্যাকাউন্ট
API কী-এর মালিকের অ্যাকাউন্টের তথ্য। প্ল্যান, Token ব্যালেন্স, ব্যবহার, স্টোরেজ, পেমেন্ট এবং রেফারেল প্রোগ্রামের অবস্থা পাওয়া যায়।
-
অ্যাকাউন্টের তথ্য
GET /me -
সাবস্ক্রিপশন
GET /me/subscription -
Token ব্যালেন্স
GET /me/tokens -
Token ব্যবহার
GET /me/token-usage -
স্টোরেজ
GET /me/storage -
পেমেন্টের ইতিহাস
GET /me/payments -
রেফারেল প্রোগ্রাম
GET /me/referral
অ্যাকাউন্টের তথ্য
API কী-এর মালিকের প্রোফাইল, প্ল্যান, প্ল্যানের সীমা এবং টিম পাওয়া যায়।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
user_unique |
string | ব্যবহারকারীর ID |
nickname |
string | null | ডাকনাম |
email |
string | সাইন ইনের জন্য ব্যবহৃত ইমেল ঠিকানা |
plan |
string | প্ল্যান। free / vault / plus / pro / team |
limits |
object | বর্তমান প্ল্যানের সীমা। null মানে সীমাহীন |
limits.projects |
integer | null | যতগুলো প্রজেক্ট তৈরি করা যায় |
limits.moviemode_variations_per_title |
integer | null | প্রতিটি ভিডিও টাইটেলে কনটেন্টের সংখ্যা |
limits.blogmode_variations_per_title |
integer | null | প্রতিটি ব্লগ টাইটেলে কনটেন্টের সংখ্যা |
limits.carouselmode_variations_per_title |
integer | null | প্রতিটি ক্যারোসেল টাইটেলে কনটেন্টের সংখ্যা |
limits.postmode_variations_per_concept |
integer | null | প্রতিটি পোস্ট কনসেপ্টে কনটেন্টের সংখ্যা |
limits.team |
boolean | টিমের ফিচার ব্যবহার করা যায় কি না |
limits.script_duration_max |
integer | ভিডিও স্ক্রিপ্টের সর্বোচ্চ দৈর্ঘ্য (সেকেন্ড) |
limits.reading_time_max |
integer | ব্লগ নিবন্ধের সর্বোচ্চ পড়ার সময় (মিনিট) |
limits.reading_time_max_fulltext |
integer | পুরো লেখা পড়ে শোনানো হলে ব্লগ নিবন্ধের সর্বোচ্চ পড়ার সময় (মিনিট) |
limits.slide_count_max |
integer | ক্যারোসেল স্লাইডের সর্বোচ্চ সংখ্যা |
limits.cta_enabled |
boolean | CTA (যেমন পদক্ষেপ নিতে উৎসাহ দেওয়া শেষ স্লাইড) ব্যবহার করা যায় কি না |
limits.thread_enabled |
boolean | পোস্টে থ্রেড এবং ইমেজসহ পোস্ট ব্যবহার করা যায় কি না |
limits.schedule_title_variation_max |
integer | নির্ধারিত আইটেম তৈরির সময় একসঙ্গে যতগুলো টাইটেল ও কনটেন্ট দেওয়া যায় |
limits.schedule_variation_create_max |
integer | নির্ধারিত আইটেম তৈরির সময় একসঙ্গে যতগুলো কনটেন্ট তৈরি করা যায় |
language |
string | null | অ্যাপের প্রদর্শনের ভাষা |
timezone |
string | আপনার টাইম জোন সেটিং (IANA ফরম্যাট, যেমন Asia/Tokyo) |
team |
object | null | আপনি যে টিমে আছেন। Team প্ল্যানে না থাকলে বা কোনো টিমের সদস্য না হলে null |
team.team_unique |
string | টিমের ID |
team.role |
string | টিমে আপনার ভূমিকা। owner / admin / staff |
created_at |
string | অ্যাকাউন্ট কখন তৈরি হয়েছে |
curl "https://stepeee.com/public-api/v1/me" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"user_unique": "aB3dE5gH7j",
"nickname": "Alice",
"email": "alice@example.com",
"plan": "pro",
"limits": {
"projects": 3,
"moviemode_variations_per_title": null,
"blogmode_variations_per_title": null,
"carouselmode_variations_per_title": null,
"postmode_variations_per_concept": null,
"team": false,
"script_duration_max": 1800,
"reading_time_max": 15,
"reading_time_max_fulltext": 4,
"slide_count_max": 20,
"cta_enabled": true,
"thread_enabled": true,
"schedule_title_variation_max": 50,
"schedule_variation_create_max": 5
},
"language": "ja",
"timezone": "Asia/Tokyo",
"team": null,
"created_at": "2026-09-01T10:20:30Z"
}
}
সাবস্ক্রিপশন
আপনার বর্তমান প্ল্যানের অবস্থা, বিলিং পিরিয়ড, নির্ধারিত বাতিল এবং নির্ধারিত প্ল্যান পরিবর্তন পাওয়া যায়। টিম সদস্যরা টিম মালিকের সাবস্ক্রিপশন পান।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
plan |
string | প্ল্যান। free / vault / plus / pro / team |
status |
string | সাবস্ক্রিপশনের অবস্থা। active / past_due (পেমেন্ট বকেয়া) / trialing (ট্রায়ালে) / none (কোনো পেইড প্ল্যান নেই) |
managed_by_team |
boolean | আপনি টিম মালিকের সাবস্ক্রিপশনের মাধ্যমে প্ল্যান ব্যবহার করছেন কি না। true হলে পিরিয়ড ও বাতিলের ফিল্ডগুলো মালিকের মান |
current_period_start |
string | null | বর্তমান বিলিং পিরিয়ড কখন শুরু হয়েছে |
current_period_end |
string | null | বর্তমান বিলিং পিরিয়ড কখন শেষ হবে (পরের বিলিংয়ের তারিখ) |
cancel_at_period_end |
boolean | সাবস্ক্রিপশন বর্তমান বিলিং পিরিয়ডের শেষে বাতিল হওয়ার জন্য নির্ধারিত কি না |
cancel_at |
string | null | সাবস্ক্রিপশন কখন বাতিল হবে |
canceled_at |
string | null | বাতিলের অনুরোধ কখন করা হয়েছে |
scheduled_change |
object | null | নির্ধারিত প্ল্যান পরিবর্তন (না থাকলে null) |
scheduled_change.plan |
string | পরিবর্তনের পরের প্ল্যান |
scheduled_change.effective_at |
string | null | পরিবর্তন কখন কার্যকর হবে |
curl "https://stepeee.com/public-api/v1/me/subscription" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/subscription",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/subscription", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/subscription")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/subscription"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/subscription");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"plan": "pro",
"status": "active",
"managed_by_team": false,
"current_period_start": "2026-10-01T00:00:00Z",
"current_period_end": "2026-11-01T00:00:00Z",
"cancel_at_period_end": false,
"cancel_at": null,
"canceled_at": null,
"scheduled_change": {
"plan": "plus",
"effective_at": "2026-11-01T00:00:00Z"
}
}
}
Token ব্যালেন্স
আপনার ব্যবহারযোগ্য Token ব্যালেন্স পাওয়া যায়। টিমে থাকলে টিমের শেয়ার করা ব্যালেন্স এবং আপনাকে দেওয়া কোটা ফেরত আসে।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
balance |
integer | ব্যালেন্স |
reserved |
integer | চলমান কাজের জন্য আটকে রাখা পরিমাণ |
available |
integer | এখন যা ব্যবহার করা যায় (ব্যালেন্স থেকে আটকে রাখা পরিমাণ বাদ দিয়ে) |
wallet |
string | personal (আপনার নিজের ব্যালেন্স) / team (টিমের শেয়ার করা ব্যালেন্স) |
team_quota |
object | null | টিম মালিকের ঠিক করা আপনার কোটা। আপনি নিজের ব্যালেন্স ব্যবহার করলে এবং টিম মালিকের জন্য null |
team_quota.unlimited |
boolean | কোটা সীমাহীন কি না |
team_quota.view_only |
boolean | আপনি শুধু দেখতে পারেন এবং Token ব্যবহার করতে পারেন না কি না |
team_quota.budget |
integer | null | প্রতি পিরিয়ডের সীমা (null মানে সীমাহীন, 0 মানে শুধু দেখা) |
team_quota.used |
integer | বর্তমান পিরিয়ডে যা ব্যবহার করা হয়েছে |
team_quota.available |
integer | null | বর্তমান পিরিয়ডে যা বাকি আছে (সীমাহীন হলে null) |
team_quota.period |
string | null | সীমার পিরিয়ড। day / week / month (সীমা না থাকলে null) |
team_quota.next_reset_at |
string | null | ব্যবহার কখন রিসেট হবে |
auto_purchase.enabled |
boolean | ব্যালেন্স কমে গেলে স্বয়ংক্রিয় কেনা চালু কি না |
auto_purchase.plan |
string | null | স্বয়ংক্রিয়ভাবে কেনা Token প্যাকেজ (যেমন token_100)। বন্ধ থাকলে null |
auto_purchase.threshold |
integer | ব্যালেন্স এই মানের নিচে নামলে স্বয়ংক্রিয়ভাবে কেনা হয় |
curl "https://stepeee.com/public-api/v1/me/tokens" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/tokens",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/tokens", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/tokens")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/tokens"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/tokens");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"balance": 90000,
"reserved": 1200,
"available": 88800,
"wallet": "team",
"team_quota": {
"unlimited": false,
"view_only": false,
"budget": 10000,
"used": 2500,
"available": 7500,
"period": "week",
"next_reset_at": "2026-10-26T00:00:00Z"
},
"auto_purchase": {
"enabled": true,
"plan": "token_100",
"threshold": 5000
}
}
}
Token ব্যবহার
দিন বা মাস অনুযায়ী Token-এর ব্যবহার ও যোগ হওয়া পাওয়া যায়। ব্যবহার একদিন করে হিসাব করা হয় এবং আগের দিনের হিসাব প্রায় 2:45 UTC-তে প্রতিফলিত হয় (আজকের ব্যবহার অন্তর্ভুক্ত নয়)। কেনা ও বোনাস থেকে যোগ হওয়া Token সঙ্গে সঙ্গে প্রতিফলিত হয়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
from |
কোয়েরি | string (YYYY-MM-DD) | ঐচ্ছিক | — | শুরুর তারিখ (UTC)। না দিলে to-এর 29 দিন আগে |
to |
কোয়েরি | string (YYYY-MM-DD) | ঐচ্ছিক | — | শেষ তারিখ (UTC, এটিসহ)। না দিলে আজ। পরিসর সর্বোচ্চ 366 দিন হতে পারে |
group_by |
কোয়েরি | string | ঐচ্ছিক | day |
কীভাবে ভাগ করা হবে। day / month |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].period |
string | পিরিয়ড। দিন অনুযায়ী হলে YYYY-MM-DD, মাস অনুযায়ী হলে YYYY-MM। যে পিরিয়ডে কোনো ব্যবহার বা যোগ হওয়া নেই তা অন্তর্ভুক্ত নয় |
data[].consumed |
integer | ব্যবহার |
data[].added |
integer | যোগ হওয়া (বাতিল হওয়া রেফারেল পুরস্কারের মতো কমানো অংশ বাদ দিয়ে) |
data[].consumed_by_type |
object | ধরন অনুযায়ী ব্যবহার (টেক্সট / ইমেজ / ভিডিও / অডিও ইত্যাদি) |
data[].added_by_type |
object | ধরন অনুযায়ী যোগ হওয়া। purchase / bonus / refund / referral_revoke (বাতিল হওয়া রেফারেল পুরস্কার, ঋণাত্মক) |
meta.from |
string | হিসাব করা পিরিয়ডের শুরুর তারিখ |
meta.to |
string | হিসাব করা পিরিয়ডের শেষ তারিখ |
meta.group_by |
string | ফলাফল কীভাবে ভাগ করা হয়েছে |
meta.total_consumed |
integer | পিরিয়ডে মোট ব্যবহার |
meta.total_added |
integer | পিরিয়ডে মোট যোগ হওয়া |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | forbidden |
টিমের Token ব্যবহার করা একজন স্টাফ সদস্য (শুধু টিম মালিক ও অ্যাডমিনরা টিমের Token ব্যবহার দেখতে পারেন) |
| 422 | validation_error |
পরিসর 366 দিনের বেশি, to তারিখ from-এর আগে, কোনো মান তারিখ হিসেবে পড়া যায় না, অথবা group_by day / month নয় |
curl "https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"period": "2026-10-18",
"consumed": 450,
"added": 0,
"consumed_by_type": { "image": 300, "text": 150 },
"added_by_type": {}
},
{
"period": "2026-10-20",
"consumed": 1000,
"added": 4800,
"consumed_by_type": { "video": 1000 },
"added_by_type": { "purchase": 5000, "referral_revoke": -200 }
}
],
"meta": {
"from": "2026-10-01",
"to": "2026-10-20",
"group_by": "day",
"total_consumed": 1450,
"total_added": 4800
}
}
স্টোরেজ
স্টোরেজের ব্যবহার, ধারণক্ষমতা এবং ফাইলের ধরন অনুযায়ী বিভাজন পাওয়া যায়। টিমে থাকলে টিমের শেয়ার করা স্টোরেজ ফেরত আসে।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
used_bytes |
integer | ব্যবহার (বাইট)। by_type-এর মোটের সমান |
capacity_bytes |
integer | null | ধারণক্ষমতা (বাইট)। null মানে সীমাহীন, আর 0 মানে কোনো স্টোরেজ নেই (Free প্ল্যান) |
by_type[].file_type |
string | null | ফাইলের ধরন। material / image / video / bgm / voice (অডিও) / movie (তৈরি শেষ হওয়া ভিডিও) |
by_type[].bytes |
integer | ওই ধরনের ব্যবহার (বাইট) |
by_type[].files |
integer | ওই ধরনের ফাইলের সংখ্যা |
curl "https://stepeee.com/public-api/v1/me/storage" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/storage",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/storage", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/storage")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/storage"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/storage");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"used_bytes": 734003200,
"capacity_bytes": null,
"by_type": [
{ "file_type": "image", "bytes": 52428800, "files": 120 },
{ "file_type": "movie", "bytes": 629145600, "files": 8 },
{ "file_type": "voice", "bytes": 52428800, "files": 15 }
]
}
}
পেমেন্টের ইতিহাস
প্ল্যানের ফি ও Token কেনার মতো পেমেন্ট নতুনটি আগে রেখে পাওয়া যায়। আপনার হিসাবরক্ষণ ব্যবস্থায় পেমেন্ট আনতে এটি ব্যবহার করতে পারেন।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
status |
কোয়েরি | string | ঐচ্ছিক | — | পেমেন্টের অবস্থা অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। succeeded / refunded / partially_refunded। না দিলে সব |
type |
কোয়েরি | string | ঐচ্ছিক | — | পেমেন্টের ধরন অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। মানগুলো data[].type-এর মতোই |
from |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার পরে তৈরি হওয়া আইটেম ফেরত দেয় |
to |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার আগে তৈরি হওয়া আইটেম ফেরত দেয় |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].payment_unique |
string | পেমেন্টের ID |
data[].type |
string | ধরন। token_first_time (প্রথমবার Token কেনা) / token_regular (Token কেনা) / subscription_vault, subscription_plus, subscription_pro, subscription_team (প্ল্যানের ফি) |
data[].description |
string | পেমেন্টের নাম (ইংরেজিতে) |
data[].status |
string | অবস্থা। succeeded (পরিশোধিত) / refunded (সম্পূর্ণ ফেরত) / partially_refunded |
data[].currency |
string | মুদ্রা (ছোট হাতের ISO 4217) |
data[].amount_subtotal |
integer | করের আগের পরিমাণ (ক্ষুদ্রতম একক) |
data[].tax_amount |
integer | কর (ক্ষুদ্রতম একক) |
data[].amount_total |
integer | করসহ পরিমাণ (ক্ষুদ্রতম একক) |
data[].line_items[] |
object | লাইন আইটেম। type (base_plan: প্ল্যানের ফি / storage_addon: অতিরিক্ত স্টোরেজ / extra_member: অতিরিক্ত সদস্য), quantity, amount এবং description (না থাকলে null) |
data[].receipt_url |
string | null | রসিদের URL (Stripe)। ইস্যুর কিছু সময় পর এটি আর না-ও খুলতে পারে |
data[].invoice_pdf_url |
string | null | ইনভয়েস PDF-এর URL (Stripe)। ইস্যুর কিছু সময় পর এটি আর না-ও খুলতে পারে |
data[].created_at |
string | পেমেন্ট কখন করা হয়েছে |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/payments?status=succeeded&per_page=10");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"payment_unique": "Xy12AbCd34Ef",
"type": "subscription_team",
"description": "Team Monthly",
"status": "succeeded",
"currency": "usd",
"amount_subtotal": 5000,
"tax_amount": 500,
"amount_total": 5500,
"line_items": [
{ "type": "base_plan", "quantity": 1, "amount": 4000, "description": "Team plan" },
{ "type": "extra_member", "quantity": 2, "amount": 1000, "description": null }
],
"receipt_url": "https://invoice.stripe.com/i/...",
"invoice_pdf_url": "https://pay.stripe.com/invoice/.../pdf",
"created_at": "2026-10-01T08:00:00Z"
}
],
"meta": { "total": 1, "current_page": 1, "per_page": 10, "last_page": 1 }
}
রেফারেল প্রোগ্রাম
আপনার রেফারেল কোড এবং রেফারেল ও পুরস্কারের অবস্থা পাওয়া যায়।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
code |
string | null | রেফারেল কোড (এখনো না থাকলে null) |
referral_url |
string | null | রেফারেল URL (রেফারেল কোড না থাকলে null) |
is_active |
boolean | রেফারেল কোড সক্রিয় কি না |
reward_type |
string | null | আপনি কীভাবে পুরস্কার পান। cash / token। রেফারেল কোড না থাকলে null |
clicks |
integer | রেফারেল URL কতবার খোলা হয়েছে |
signups |
integer | আপনার রেফারেলের মাধ্যমে যতজন সাইন আপ করেছেন |
conversions |
integer | আপনার রেফারেলের মাধ্যমে যতজন পেইড প্ল্যানে সাবস্ক্রাইব করেছেন |
earned |
object | এখন পর্যন্ত নিশ্চিত হওয়া পুরস্কার {amount (ক্ষুদ্রতম একক), currency} |
earned_tokens |
integer | এখন পর্যন্ত পাওয়া Token |
pending |
object | নিশ্চিত হওয়ার অপেক্ষায় থাকা পুরস্কার {amount, currency} |
available |
object | যে পুরস্কার গ্রহণের অনুরোধ করা যায় {amount, currency} |
curl "https://stepeee.com/public-api/v1/me/referral" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/me/referral",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/referral", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/referral")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/me/referral"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/referral");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"code": "REFk5m2j8x9ab",
"referral_url": "https://stepeee.com?ref=REFk5m2j8x9ab",
"is_active": true,
"reward_type": "cash",
"clicks": 12,
"signups": 4,
"conversions": 2,
"earned": { "amount": 1300, "currency": "usd" },
"earned_tokens": 0,
"pending": { "amount": 300, "currency": "usd" },
"available": { "amount": 800, "currency": "usd" }
}
}
প্রজেক্ট
প্রজেক্ট এবং তার ভেতরের কনসেপ্ট ও টাইটেলের কাঠামো পাওয়া যায়।
-
প্রজেক্টের তালিকা
GET /projects -
প্রজেক্টের বিস্তারিত
GET /projects/{project_unique} -
কনসেপ্টের তালিকা
GET /projects/{project_unique}/concepts -
কনসেপ্টের বিস্তারিত
GET /projects/{project_unique}/concepts/{concept_unique}
প্রজেক্টের তালিকা
আপনার অ্যাক্সেসযোগ্য প্রজেক্টগুলো নতুনটি আগে রেখে পাওয়া যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].project_unique |
string | প্রজেক্টের ID |
data[].project_name |
string | প্রজেক্টের নাম |
data[].description |
string | null | প্রজেক্টের বিবরণ |
data[].access_level |
string | আপনার অনুমতি। owner (আপনার নিজের প্রজেক্ট) / admin (টিম মালিক বা অ্যাডমিন হিসেবে পূর্ণ অনুমতি) / edit (টিমে দেওয়া সম্পাদনার অনুমতি) |
data[].team |
object | null | টিম প্রজেক্টের জন্য টিম, অথবা শুধু আপনার প্রজেক্টের জন্য null |
data[].team.team_unique |
string | টিমের ID |
data[].is_readonly |
boolean | প্ল্যান ডাউনগ্রেডের পর সীমা ছাড়িয়ে যাওয়ায় প্রজেক্টটি শুধু দেখার জন্য কি না (আপগ্রেড করলে এটি সরে যায়) |
data[].readonly_since |
string | null | প্রজেক্টটি কখন থেকে শুধু দেখার জন্য হয়েছে |
data[].created_at |
string | তৈরির সময় |
data[].updated_at |
string | হালনাগাদের সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/projects" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"project_unique": "a1b2c3d4e5",
"project_name": "Sample Project",
"description": "Sample project description",
"access_level": "owner",
"team": null,
"is_readonly": false,
"readonly_since": null,
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-10-01T12:00:00Z"
}
],
"meta": { "total": 1, "current_page": 1, "per_page": 20, "last_page": 1 }
}
প্রজেক্টের বিস্তারিত
একটি প্রজেক্টের বিস্তারিত পাওয়া যায়, সঙ্গে মোড অনুযায়ী কনসেপ্ট ও টাইটেলের সংখ্যা এবং অগ্রগতি অনুযায়ী কনটেন্টের সংখ্যা থাকে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
project_unique |
string | প্রজেক্টের ID |
project_name |
string | প্রজেক্টের নাম |
description |
string | null | প্রজেক্টের বিবরণ |
access_level |
string | আপনার অনুমতি। owner (আপনার নিজের প্রজেক্ট) / admin (টিম মালিক বা অ্যাডমিন হিসেবে পূর্ণ অনুমতি) / edit (টিমে দেওয়া সম্পাদনার অনুমতি) |
team |
object | null | টিম প্রজেক্টের জন্য টিম, অথবা শুধু আপনার প্রজেক্টের জন্য null |
team.team_unique |
string | টিমের ID |
is_readonly |
boolean | প্ল্যান ডাউনগ্রেডের পর সীমা ছাড়িয়ে যাওয়ায় প্রজেক্টটি শুধু দেখার জন্য কি না (আপগ্রেড করলে এটি সরে যায়) |
readonly_since |
string | null | প্রজেক্টটি কখন থেকে শুধু দেখার জন্য হয়েছে |
created_at |
string | তৈরির সময় |
updated_at |
string | হালনাগাদের সময় |
scope |
string | লক্ষ্য অঞ্চল। global (নির্দিষ্ট করা নেই) / region (নির্দিষ্ট একটি দেশ) |
scope_region |
string | null | লক্ষ্য দেশ (ISO 3166-1 alpha-2, যেমন JP)। global হলে null |
counts.{mode}.concepts |
integer | মোড অনুযায়ী কনসেপ্টের সংখ্যা (moviemode / blogmode / carouselmode / postmode) |
counts.{mode}.titles |
integer | null | টাইটেলের সংখ্যা (টাইটেল নেই এমন postmode-এর জন্য null) |
counts.{mode}.contents |
object | কনটেন্টের সংখ্যা {total, not_started, in_progress, complete} |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"project_unique": "a1b2c3d4e5",
"project_name": "Sample Project",
"description": "Sample project description",
"access_level": "owner",
"team": null,
"is_readonly": false,
"readonly_since": null,
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-10-01T12:00:00Z",
"scope": "region",
"scope_region": "JP",
"counts": {
"moviemode": {
"concepts": 2,
"titles": 5,
"contents": { "total": 8, "not_started": 1, "in_progress": 3, "complete": 4 }
},
"blogmode": {
"concepts": 1,
"titles": 3,
"contents": { "total": 3, "not_started": 0, "in_progress": 1, "complete": 2 }
},
"carouselmode": {
"concepts": 0,
"titles": 0,
"contents": { "total": 0, "not_started": 0, "in_progress": 0, "complete": 0 }
},
"postmode": {
"concepts": 1,
"titles": null,
"contents": { "total": 1, "not_started": 0, "in_progress": 1, "complete": 0 }
}
}
}
}
কনসেপ্টের তালিকা
প্রজেক্টের সব মোডের কনসেপ্ট নতুনটি আগে রেখে পাওয়া যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
mode |
কোয়েরি | string | ঐচ্ছিক | — | মোড অনুযায়ী ফিল্টার। moviemode (ভিডিও), blogmode (ব্লগ), carouselmode (ক্যারোসেল) ও postmode (পোস্ট)-এর একাধিক কমা দিয়ে আলাদা করে দেওয়া যায়। না দিলে সব মোড |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].concept_unique |
string | কনসেপ্টের ID |
data[].mode |
string | moviemode (ভিডিও) / blogmode (ব্লগ) / carouselmode (ক্যারোসেল) / postmode (পোস্ট) |
data[].concept_name |
string | কনসেপ্টের নাম |
data[].title_count |
integer | null | টাইটেলের সংখ্যা (postmode-এর জন্য null) |
data[].content_count |
integer | কনটেন্টের সংখ্যা |
data[].created_at |
string | তৈরির সময় |
data[].updated_at |
string | হালনাগাদের সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts?mode=moviemode,postmode");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"concept_unique": "pC7d2KqLx01m",
"mode": "postmode",
"concept_name": "SaaS growth tips",
"title_count": null,
"content_count": 1,
"created_at": "2026-10-02T09:00:00Z",
"updated_at": "2026-10-02T09:00:00Z"
},
{
"concept_unique": "mC4f9TnB2q",
"mode": "moviemode",
"concept_name": "Cat facts",
"title_count": 3,
"content_count": 5,
"created_at": "2026-09-20T03:00:00Z",
"updated_at": "2026-09-28T03:00:00Z"
}
],
"meta": { "total": 2, "current_page": 1, "per_page": 20, "last_page": 1 }
}
কনসেপ্টের বিস্তারিত
একটি কনসেপ্টের বিস্তারিত পাওয়া যায়। ভিডিও, ব্লগ ও ক্যারোসেল কনসেপ্টে টাইটেলের তালিকা থাকে, আর পোস্ট (postmode) কনসেপ্টে পোস্টকারীর পারসোনা ও পোস্টের নিয়ম থাকে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
concept_unique |
পাথ | string | আবশ্যক | — | কনসেপ্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
concept_unique / mode / concept_name / title_count / content_count / created_at / updated_at |
— | কনসেপ্টের তালিকার মতোই |
description |
string | null | কনসেপ্টের বিবরণ |
scope |
string | লক্ষ্য অঞ্চল। global (নির্দিষ্ট করা নেই) / region (নির্দিষ্ট একটি দেশ) |
scope_region |
string | null | লক্ষ্য দেশ (ISO 3166-1 alpha-2, যেমন JP)। global হলে null |
default_template_unique |
string | null | নতুন কনটেন্টের জন্য ব্যবহৃত সেটআপ টেমপ্লেট (টেমপ্লেটের তালিকার template_unique)। সেট না থাকলে এবং postmode-এর জন্য null |
titles |
array | null | টাইটেলের তালিকা (নতুনটি আগে)। postmode-এর জন্য null |
titles[].title_unique |
string | টাইটেলের ID |
titles[].title_name |
string | টাইটেল |
titles[].article_type |
string | null | ধরন। moviemode-এর জন্য standard / news, blogmode-এর জন্য standard / news / promotion (পণ্য পরিচিতি)। carouselmode-এর জন্য null |
titles[].content_count |
integer | ওই টাইটেলের কনটেন্টের সংখ্যা |
persona |
object | null | পোস্টকারীর পারসোনা (শুধু postmode, তৈরি না হলে null) |
persona.persona_unique |
string | পারসোনার ID |
persona.gender |
string | লিঙ্গ। male / female / undisclosed |
persona.generation |
string | বয়সের গোষ্ঠী। 10s / 20s / 30s / 40s / 50s / 60s_plus |
persona.region |
string | null | সাংস্কৃতিক অঞ্চলের দেশের কোড |
persona.keywords |
object | পারসোনার কীওয়ার্ড। occupation, industry, residence, workstyle, household ও personality স্ট্রিং, আর interest ও expertise স্ট্রিংয়ের অ্যারে। শুধু যেগুলো সেট করা আছে সেগুলো থাকে |
persona.description |
string | পারসোনার লেখা |
persona.casual_description |
string | null | প্রতিদিনের পোস্টে ব্যবহৃত পারসোনার লেখা (না থাকলে null) |
persona.taboos |
array | পোস্টে যা এড়িয়ে চলতে হবে |
persona.timezone_mode |
string | টাইম জোন কীভাবে ঠিক করা হয়। auto (অঞ্চল থেকে, অঞ্চল না থাকলে পোস্টের ভাষা থেকে) / specify (নির্দিষ্ট করা টাইম জোন) |
persona.timezone |
string | null | পোস্টের সময়সূচিতে ব্যবহৃত টাইম জোন (IANA ফরম্যাট)। পোস্টের নিয়ম তৈরি না হওয়ায় ঠিক করা না গেলে null |
rule |
object | null | পোস্টের নিয়ম (শুধু postmode, তৈরি না হলে null) |
rule.rule_unique |
string | পোস্টের নিয়মের ID |
rule.language |
string | পোস্টের ভাষা |
rule.formality |
string | ভঙ্গি। very_casual / casual / normal / polite / honorific |
rule.emoji |
string | ইমোজি। never / sometimes / often / always |
rule.line_break |
string | কতগুলো লাইন ব্রেক। none / moderate / frequent |
rule.post_type_share |
object | প্রতিটি পোস্টের ধরনের অংশ (%)। assertion (মতামত) / knowhow / experience / casual (প্রতিদিনের) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 404 | not_found |
কনসেপ্টটি নেই (Concept not found.) |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"concept_unique": "pC7d2KqLx01m",
"mode": "postmode",
"concept_name": "SaaS growth tips",
"title_count": null,
"content_count": 1,
"created_at": "2026-10-02T09:00:00Z",
"updated_at": "2026-10-02T09:00:00Z",
"description": "Practical growth tips for SaaS founders",
"scope": "global",
"scope_region": null,
"default_template_unique": null,
"titles": null,
"persona": {
"persona_unique": "aV3kQ9mN2pRt",
"gender": "female",
"generation": "30s",
"region": "JP",
"keywords": { "occupation": "SaaS marketer", "interest": ["growth", "analytics"] },
"description": "A B2B SaaS marketer with ten years of experience...",
"casual_description": null,
"taboos": ["politics"],
"timezone_mode": "auto",
"timezone": "Asia/Tokyo",
"updated_at": "2026-10-02T09:10:00Z"
},
"rule": {
"rule_unique": "rU5tW7yZ9aBc",
"language": "ja",
"formality": "polite",
"emoji": "sometimes",
"line_break": "moderate",
"post_type_share": { "assertion": 40, "knowhow": 30, "experience": 20, "casual": 10 },
"updated_at": "2026-10-02T09:20:00Z"
}
}
}
কনটেন্ট
সব মোড মিলিয়ে ভিডিও, ব্লগ, ক্যারোসেল ও পোস্ট কনটেন্ট পাওয়া যায়। বিস্তারিতে package-এ প্রতিটি সোশ্যাল নেটওয়ার্ক বা সাইটে যা পোস্ট করা হয় (মূল লেখা, ইমেজ, ভিডিও ও ক্যাপশন) তা থাকে, তাই Stepeee-তে তৈরি কনটেন্ট আপনার নিজের সিস্টেমে নিয়ে যেতে পারেন।
-
কনটেন্টের তালিকা
GET /projects/{project_unique}/contents -
কনটেন্টের বিস্তারিত
GET /projects/{project_unique}/contents/{variation_unique} -
পোস্টের সময়সূচি
GET /projects/{project_unique}/contents/{variation_unique}/schedule
কনটেন্টের তালিকা
প্রজেক্টের কনটেন্ট (ভিডিও, ব্লগ, ক্যারোসেল ও পোস্ট) সব মোড মিলিয়ে পাওয়া যায়। অগ্রগতি, প্রকাশের ভাষা, পোস্ট করা হয়েছে কি না ইত্যাদি দিয়ে ফিল্টার করা যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
mode |
কোয়েরি | string | ঐচ্ছিক | — | মোড অনুযায়ী ফিল্টার। moviemode (ভিডিও), blogmode (ব্লগ), carouselmode (ক্যারোসেল) ও postmode (পোস্ট)-এর একাধিক কমা দিয়ে আলাদা করে দেওয়া যায়। না দিলে সব মোড |
status |
কোয়েরি | string | ঐচ্ছিক | — | অগ্রগতি অনুযায়ী ফিল্টার। not_started / in_progress / complete |
concept_unique |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই কনসেপ্টের কনটেন্ট ফেরত দেয় |
title_unique |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই টাইটেলের কনটেন্ট ফেরত দেয় (postmode-এ টাইটেল নেই, তাই এতে অন্তর্ভুক্ত নয়) |
language |
কোয়েরি | string | ঐচ্ছিক | — | প্রকাশের ভাষা অনুযায়ী ফিল্টার (যেমন ja বা en) |
published |
কোয়েরি | string | ঐচ্ছিক | — | true দিলে শুধু পোস্ট করা কনটেন্ট ফেরত আসে, আর false দিলে শুধু এখনো পোস্ট না করা কনটেন্ট ফেরত আসে |
from |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার পরে তৈরি হওয়া আইটেম ফেরত দেয় |
to |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার আগে তৈরি হওয়া আইটেম ফেরত দেয় |
sort |
কোয়েরি | string | ঐচ্ছিক | -created_at |
ক্রম। created_at / -created_at / updated_at / -updated_at (- মানে নতুনটি আগে) |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].mode |
string | moviemode (ভিডিও) / blogmode (ব্লগ) / carouselmode (ক্যারোসেল) / postmode (পোস্ট) |
data[].variation_unique |
string | কনটেন্টের ID |
data[].variation_no |
integer | টাইটেলের মধ্যে নম্বর (postmode-এর জন্য কনসেপ্ট) |
data[].title |
string | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
data[].concept |
object | যে কনসেপ্টের অন্তর্গত {concept_unique, concept_name} |
data[].title_unique |
string | null | যে টাইটেলের অন্তর্গত তার ID (postmode-এর জন্য null) |
data[].language |
string | null | প্রকাশের ভাষা (দর্শক ও পাঠকরা যে ভাষা দেখেন)। সেট না থাকলে null |
data[].status |
string | অগ্রগতি। not_started / in_progress / complete (সম্পূর্ণ হিসেবে চিহ্নিত) |
data[].progress.step_process |
integer | সম্পূর্ণ হওয়া ধাপ (0–3) |
data[].progress.is_complete |
boolean | সম্পূর্ণ হিসেবে চিহ্নিত কি না |
data[].is_readonly |
boolean | প্ল্যান ডাউনগ্রেডের কারণে শুধু দেখার জন্য কি না |
data[].confirmed_at |
string | null | কনটেন্ট কখন রিভিউ করা হিসেবে চিহ্নিত হয়েছে (postmode-এর জন্য এবং রিভিউ না হলে null) |
data[].published_platforms |
array | যেসব গন্তব্যে পোস্ট করা হয়েছে (success / partial_success) |
data[].created_at |
string | তৈরির সময় |
data[].updated_at |
string | হালনাগাদের সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents?mode=blogmode&status=complete&published=false");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"mode": "blogmode",
"variation_unique": "bmA1b2C3d4E5",
"variation_no": 1,
"title": "How to start a blog",
"concept": { "concept_unique": "bC2x8RtY4u", "concept_name": "Blogging for beginners" },
"title_unique": "bT9kL3mN5pQr",
"language": "en",
"status": "complete",
"progress": { "step_process": 3, "is_complete": true },
"is_readonly": false,
"confirmed_at": "2026-10-03T08:00:00Z",
"published_platforms": [],
"created_at": "2026-10-01T03:00:00Z",
"updated_at": "2026-10-03T08:00:00Z"
}
],
"meta": { "total": 1, "current_page": 1, "per_page": 20, "last_page": 1 }
}
কনটেন্টের বিস্তারিত
একটি কনটেন্টের বিস্তারিত পাওয়া যায়। package-এ প্রতিটি গন্তব্যে আসলে যা পোস্ট করা হয় তা থাকে (Stepeee থেকে পোস্ট করার সময়কার মতোই)। পোস্ট (postmode) কনটেন্টের জন্য schedule দিয়ে পোস্টের তালিকা নিন।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
variation_unique |
পাথ | string | আবশ্যক | — | কনটেন্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
mode / variation_unique / … / updated_at |
— | কনটেন্টের তালিকার মতোই |
publish[] |
object | গন্তব্য অনুযায়ী পোস্ট করার ফলাফল |
publish[].platform |
string | গন্তব্য। youtube / tiktok / instagram / x / wordpress / webhook |
publish[].status |
string | পোস্ট করার ফলাফল। success (পোস্ট হয়েছে) / failed / scheduled (গন্তব্যে নির্ধারিত) / processing / partial_success (পোস্ট সফল হয়েছে কিন্তু থাম্বনেইল সেট করার মতো সংশ্লিষ্ট কোনো ধাপ ব্যর্থ হয়েছে) / reviewing (পোস্ট সফল হয়েছে এবং গন্তব্যের রিভিউয়ের অপেক্ষায় আছে, তাই URL এখনো পাওয়া যায়নি) |
publish[].post_url |
string | null | পোস্টের URL (এখনো না পাওয়া গেলে null) |
publish[].posted_at |
string | null | কখন পোস্ট করা হয়েছে (পোস্ট না হলে null) |
content |
object | মোড অনুযায়ী তৈরি হওয়া ডেটা। blogmode: body_html (নিবন্ধের মূল অংশ) / carouselmode: scenario (স্লাইডের কাঠামো; resolved_header, resolved_footer ও resolved_texts প্রকাশের ভাষার লেখা) / moviemode: movie_unique, download_url, thumbnail_url (Step3-এ বেছে নেওয়া ভিডিও; URL ইস্যু করার এক ঘণ্টা পর্যন্ত বৈধ) / postmode: posts (post_text, post_type) |
package |
object | null | যা পোস্ট করা হয়। postmode-এর জন্য null |
package.video (moviemode) |
object | null | তৈরি শেষ হওয়া ভিডিও {file: {url, expires_at}, thumbnail: {url, expires_at} | null, duration_ms, width, height, size_bytes}। এখনো না থাকলে null |
package.youtube.title (moviemode) |
string | null | YouTube-এর শিরোনাম |
package.youtube.description (moviemode) |
string | null | YouTube-এর বিবরণ (নির্দিষ্ট লেখাসহ) |
package.youtube.thumbnail (moviemode) |
object | null | YouTube-এর থাম্বনেইল {url, expires_at, width, height}। থাম্বনেইল সেট করা হয় না এমন উল্লম্ব ভিডিওর (Shorts) জন্য null |
package.tiktok.caption (moviemode) |
string | null | TikTok-এর ক্যাপশন |
package.instagram.caption (moviemode / carouselmode) |
string | null | Instagram-এর ক্যাপশন (নির্দিষ্ট লেখাসহ) |
package.instagram.cover (moviemode) |
object | null | Instagram-এর কভার ইমেজ {url, expires_at, width, height} |
package.x.posts (moviemode / blogmode / carouselmode) |
array | X-এর পোস্ট। দুটি বা তার বেশি হলে থ্রেড হিসেবে ক্রমানুসারে পোস্ট করা হয় |
package.title (blogmode) |
string | null | নিবন্ধের শিরোনাম |
package.meta_description (blogmode) |
string | null | মেটা বিবরণ |
package.body_html (blogmode) |
string | null | নিবন্ধের মূল অংশের HTML। ইমেজ img ট্যাগের src-তে থাকে, এবং পণ্য পরিচিতির অ্যাফিলিয়েট কোড ও রিভিউ আগেই বসানো থাকে। এটি যেমন আছে তেমনই আপনার সাইটে প্রকাশ করতে পারেন |
package.images (blogmode) |
array | মূল অংশের ইমেজ (দেখা দেওয়ার ক্রমে) {url, expires_at, width, height} |
package.cover_image (blogmode) |
object | null | কভার ইমেজ {url, expires_at, width, height} |
package.audio (blogmode) |
object | null | নিবন্ধের অডিও {url, expires_at, duration_ms} |
package.slides[] (carouselmode) |
object | স্লাইডের ইমেজ (স্লাইডের ক্রমে) {no, image: {url, expires_at, width, height}} |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 404 | not_found |
কনটেন্টটি নেই (Content not found.) |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/bmA1b2C3d4E5");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"mode": "blogmode",
"variation_unique": "bmA1b2C3d4E5",
"variation_no": 1,
"title": "How to start a blog",
"concept": { "concept_unique": "bC2x8RtY4u", "concept_name": "Blogging for beginners" },
"title_unique": "bT9kL3mN5pQr",
"language": "en",
"status": "complete",
"progress": { "step_process": 3, "is_complete": true },
"is_readonly": false,
"confirmed_at": "2026-10-03T08:00:00Z",
"published_platforms": ["wordpress"],
"created_at": "2026-10-01T03:00:00Z",
"updated_at": "2026-10-03T08:00:00Z",
"publish": [
{
"platform": "wordpress",
"status": "success",
"post_url": "https://blog.example.com/how-to-start-a-blog/",
"posted_at": "2026-10-03T09:00:00Z"
}
],
"content": { "body_html": "<h2>Why start a blog</h2><p>...</p>" },
"package": {
"title": "How to Start a Blog in 2026",
"meta_description": "A step-by-step guide to starting your first blog.",
"body_html": "<h2>Why start a blog</h2><p>...</p><figure><img src=\"https://...\" alt=\"\" /></figure>",
"images": [
{ "url": "https://...", "expires_at": "2026-10-21T10:00:00Z", "width": 1536, "height": 1024 }
],
"cover_image": { "url": "https://...", "expires_at": "2026-10-21T10:00:00Z", "width": 1200, "height": 630 },
"audio": null,
"x": { "posts": ["New post: How to start a blog in 2026"] }
}
}
}
পোস্টের সময়সূচি
পোস্ট (postmode) কনটেন্টের পরিকল্পিত, তৈরি হওয়া ও পোস্ট করা পোস্টগুলো নির্ধারিত সময়ের ক্রমে পাওয়া যায়। এতে অটোমেশনের অবস্থাও থাকে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
variation_unique |
পাথ | string | আবশ্যক | — | কনটেন্টের ID |
from |
কোয়েরি | string | ঐচ্ছিক | — | পরিসরের শুরু (নির্ধারিত সময়)। না দিলে 7 দিন আগে (শুধু to দিলে to-এর 37 দিন আগে) |
to |
কোয়েরি | string | ঐচ্ছিক | — | পরিসরের শেষ (নির্ধারিত সময়)। না দিলে এখন থেকে 30 দিন পরে (শুধু from দিলে from-এর 37 দিন পরে)। পরিসর সর্বোচ্চ 92 দিন হতে পারে |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
automation.enabled |
boolean | অটোমেশন চালু কি না |
automation.is_executing |
boolean | স্বয়ংক্রিয় পোস্ট তৈরি চলছে কি না (অটোমেশন বন্ধ করার পরেও তৈরি হতে থাকা পোস্ট বাকি থাকলে true) |
automation.week_limit |
integer | null | স্বয়ংক্রিয়ভাবে সর্বোচ্চ যত সপ্তাহের পরিকল্পনা তৈরি হয় (null মানে সীমাহীন) |
automation.week_count |
integer | এখন পর্যন্ত যত সপ্তাহের পরিকল্পনা তৈরি হয়েছে |
automation.next_refill_at |
string | null | পরের পরিকল্পনা কখন তৈরি হবে (অটোমেশন বন্ধ থাকলে null) |
automation.timezone |
string | null | পোস্টের সময়সূচিতে ব্যবহৃত টাইম জোন |
items[].schedule_unique |
string | সময়সূচির ID |
items[].post_unique |
string | null | পোস্টের ID (লেখা এখনো তৈরি না হলে null) |
items[].scheduled_at |
string | পোস্টের নির্ধারিত সময় |
items[].scheduled_at_local |
string | timezone-এর স্থানীয় সময়ে নির্ধারিত সময় (YYYY-MM-DDTHH:MM:SS) |
items[].timezone |
string | পরিকল্পনা তৈরির সময়ের টাইম জোন |
items[].status |
string | অবস্থা। pending (লেখা তৈরির অপেক্ষায়) / generating / generated (তৈরি হয়েছে, পোস্টের অপেক্ষায়) / awaiting_image (ইমেজের অপেক্ষায়) / posting / posted / failed / discarded (বাতিল) |
items[].confirm_state |
string | পোস্ট করার আগে রিভিউ। none (রিভিউ নেই) / awaiting (অনুমোদন না করলে পোস্ট হয় না) / notice (শুধু বিজ্ঞপ্তির পর পোস্ট হয়) / confirmed (অনুমোদিত) |
items[].created_via |
string | কীভাবে তৈরি হয়েছে। auto (অটোমেশন) / manual |
items[].post_type |
string | পোস্টের ধরন। assertion (মতামত) / knowhow / experience / casual (প্রতিদিনের) |
items[].text |
string | null | পোস্টের লেখা (এখনো তৈরি না হলে null) |
items[].thread[] |
object | থ্রেডের পরবর্তী পোস্ট (ক্রমানুসারে) {text, post_url, posted_at, image} |
items[].image |
object | null | সংযুক্ত ইমেজ {url, expires_at} (না থাকলে null) |
items[].post_url |
string | null | পোস্টের URL (এখনো না পাওয়া গেলে null) |
items[].posted_at |
string | null | কখন পোস্ট করা হয়েছে (পোস্ট না হলে null) |
items[].fail_reason |
string | null | ব্যর্থতার কারণ। token_expired (X সংযোগ বিচ্ছিন্ন) / api_error (X-এর ত্রুটি) / not_found (পোস্টের লক্ষ্য নেই) / insufficient_token (Token যথেষ্ট নয়) / no_x_account (কোনো X অ্যাকাউন্ট সেট করা নেই) / node_ws_timeout (লেখা তৈরিতে টাইমআউট) / unconfirmed (অনুমোদিত হয়নি) |
meta.from / meta.to |
string | যে পরিসর ফেরত দেওয়া হয়েছে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 404 | not_found |
কনটেন্টটি পোস্ট (postmode) কনটেন্ট নয়, অথবা কনটেন্টটি নেই (Schedule not found.) |
| 422 | validation_error |
পরিসর 92 দিনের বেশি, to তারিখ from-এর আগে, অথবা কোনো মান তারিখ ও সময় হিসেবে পড়া যায় না |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/contents/pmV7d2KqLx01/schedule?from=2026-10-20&to=2026-11-20");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"automation": {
"enabled": true,
"is_executing": true,
"week_limit": 4,
"week_count": 2,
"next_refill_at": "2026-10-26T15:00:00Z",
"timezone": "Asia/Tokyo"
},
"items": [
{
"schedule_unique": "Sc1aB2cD3eF4",
"post_unique": "Po1aB2cD3eF4",
"scheduled_at": "2026-10-20T01:00:00Z",
"scheduled_at_local": "2026-10-20T10:00:00",
"timezone": "Asia/Tokyo",
"status": "posted",
"confirm_state": "none",
"created_via": "auto",
"post_type": "assertion",
"text": "Most teams overthink onboarding...",
"thread": [
{
"text": "First, cut the steps in half.",
"post_url": "https://x.com/i/status/1848000000000000002",
"posted_at": "2026-10-20T01:00:05Z",
"image": null
}
],
"image": { "url": "https://...", "expires_at": "2026-10-21T10:00:00Z" },
"post_url": "https://x.com/i/status/1848000000000000001",
"posted_at": "2026-10-20T01:00:00Z",
"fail_reason": null
},
{
"schedule_unique": "Sc9zY8xW7vU6",
"post_unique": null,
"scheduled_at": "2026-10-25T09:30:00Z",
"scheduled_at_local": "2026-10-25T18:30:00",
"timezone": "Asia/Tokyo",
"status": "pending",
"confirm_state": "none",
"created_via": "auto",
"post_type": "knowhow",
"text": null,
"thread": [],
"image": null,
"post_url": null,
"posted_at": null,
"fail_reason": null
}
]
},
"meta": { "from": "2026-10-20T00:00:00Z", "to": "2026-11-20T23:59:59Z" }
}
পোস্ট করার ফলাফল ও গন্তব্য
সোশ্যাল নেটওয়ার্ক, WordPress ও ওয়েবহুকে পোস্ট করার ফলাফল এবং প্রজেক্টে সংযুক্ত গন্তব্যগুলোর অবস্থা পাওয়া যায়। সংযোগ বিচ্ছিন্ন অ্যাকাউন্ট শনাক্ত করতে এটি ব্যবহার করতে পারেন।
-
পোস্ট করার ফলাফল
GET /projects/{project_unique}/publications -
সংযুক্ত গন্তব্য
GET /projects/{project_unique}/accounts
পোস্ট করার ফলাফল
প্রজেক্টের সব মোড ও গন্তব্যের পোস্ট করার ফলাফল নতুনটি আগে রেখে পাওয়া যায়। পোস্টের (postmode) ক্ষেত্রে পোস্ট হওয়া ও ব্যর্থ হওয়া পোস্ট (প্রতিটি থ্রেডের প্রথম পোস্ট) অন্তর্ভুক্ত থাকে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
mode |
কোয়েরি | string | ঐচ্ছিক | — | মোড অনুযায়ী ফিল্টার। moviemode (ভিডিও), blogmode (ব্লগ), carouselmode (ক্যারোসেল) ও postmode (পোস্ট)-এর একাধিক কমা দিয়ে আলাদা করে দেওয়া যায়। না দিলে সব মোড |
platform |
কোয়েরি | string | ঐচ্ছিক | — | গন্তব্য অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। youtube / tiktok / instagram / x / wordpress / webhook |
status |
কোয়েরি | string | ঐচ্ছিক | — | পোস্ট করার ফলাফল অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। success / failed / scheduled / processing / partial_success / reviewing |
from |
কোয়েরি | string | ঐচ্ছিক | — | শুধু সেই ফলাফল ফেরত দেয় যার পোস্টের সময় (পোস্ট না হলে নথিভুক্ত সময়) এই তারিখ ও সময় বা তার পরে |
to |
কোয়েরি | string | ঐচ্ছিক | — | শুধু সেই ফলাফল ফেরত দেয় যার পোস্টের সময় (পোস্ট না হলে নথিভুক্ত সময়) এই তারিখ ও সময় বা তার আগে |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].publication_unique |
string | পোস্ট করার ফলাফলের ID |
data[].mode |
string | moviemode (ভিডিও) / blogmode (ব্লগ) / carouselmode (ক্যারোসেল) / postmode (পোস্ট) |
data[].content.variation_unique |
string | কনটেন্টের ID |
data[].content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
data[].platform |
string | গন্তব্য। youtube / tiktok / instagram / x / wordpress / webhook |
data[].account |
object | null | পোস্ট করতে ব্যবহৃত অ্যাকাউন্ট {account_unique, name}। সংযোগ বিচ্ছিন্ন অ্যাকাউন্টের জন্য name হয় null। postmode-এর জন্য null |
data[].status |
string | পোস্ট করার ফলাফল। success (পোস্ট হয়েছে) / failed / scheduled (গন্তব্যে নির্ধারিত) / processing / partial_success (পোস্ট সফল হয়েছে কিন্তু থাম্বনেইল সেট করার মতো সংশ্লিষ্ট কোনো ধাপ ব্যর্থ হয়েছে) / reviewing (পোস্ট সফল হয়েছে এবং গন্তব্যের রিভিউয়ের অপেক্ষায় আছে, তাই URL এখনো পাওয়া যায়নি) |
data[].post_url |
string | null | পোস্টের URL (এখনো না পাওয়া গেলে null) |
data[].error_code |
string | null | ব্যর্থতার কারণের কোড (গন্তব্য ও মোড অনুযায়ী ভিন্ন) |
data[].is_automation |
boolean | অটোমেশন পোস্ট করেছে কি না |
data[].posted_at |
string | null | কখন পোস্ট করা হয়েছে (পোস্ট না হলে null) |
data[].created_at |
string | তৈরির সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/publications?platform=x,youtube&status=failed");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"publication_unique": "Xk3p9QmZ2aLw",
"mode": "postmode",
"content": { "variation_unique": "pmV7d2KqLx01", "title": "SaaS growth tips" },
"platform": "x",
"account": null,
"status": "success",
"post_url": "https://x.com/i/status/1848123456789012345",
"error_code": null,
"is_automation": true,
"posted_at": "2026-10-04T10:00:00Z",
"created_at": "2026-10-03T22:10:00Z"
},
{
"publication_unique": "Pq2wE4rT6yUi",
"mode": "blogmode",
"content": { "variation_unique": "bmA1b2C3d4E5", "title": "How to start a blog" },
"platform": "wordpress",
"account": { "account_unique": "Wp3xY5zA7bCd", "name": "My WP Site" },
"status": "failed",
"post_url": null,
"error_code": "auth_failed",
"is_automation": false,
"posted_at": null,
"created_at": "2026-10-02T10:00:00Z"
}
],
"meta": { "total": 2, "current_page": 1, "per_page": 20, "last_page": 1 }
}
সংযুক্ত গন্তব্য
প্রজেক্টে সংযুক্ত গন্তব্যগুলো (সোশ্যাল নেটওয়ার্ক অ্যাকাউন্ট, WordPress ও ওয়েবহুক) এবং সেগুলোর অবস্থা পাওয়া যায়। status expired বা connection_error হয়ে গেলে আপনাকে আবার সংযোগ করতে হবে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].account_unique |
string | গন্তব্যের ID |
data[].platform |
string | গন্তব্য। youtube / tiktok / instagram / x / wordpress / webhook |
data[].name |
string | প্রদর্শনের নাম। সোশ্যাল নেটওয়ার্কের জন্য অ্যাকাউন্টের নাম, WordPress-এর জন্য সাইটের নাম, আর ওয়েবহুকের জন্য গন্তব্য URL-এর ডোমেইন (https://example.com/… আকারে, পাথ ছাড়া) |
data[].image_url |
string | null | অ্যাকাউন্টের আইকন ইমেজের URL (শুধু সোশ্যাল নেটওয়ার্ক) |
data[].status |
string | অবস্থা। active / expired (সংযোগের মেয়াদ শেষ হয়েছে এবং আবার সংযোগ করতে হবে) / connection_error (WordPress-এ সংযোগ করা যাচ্ছে না) |
data[].token_expires_at |
string | null | সংযোগের মেয়াদ কখন শেষ হবে (শুধু সোশ্যাল নেটওয়ার্ক) |
data[].connected_at |
string | null | কখন সংযুক্ত হয়েছে |
data[].last_used_at |
string | null | সর্বশেষ কখন পোস্ট করতে ব্যবহার করা হয়েছে (শুধু সোশ্যাল নেটওয়ার্ক) |
data[].site_url |
string | null | WordPress সাইটের URL (শুধু WordPress) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/accounts");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"account_unique": "Wh9kQ2mN4pRt",
"platform": "webhook",
"name": "https://hooks.example.com/…",
"image_url": null,
"status": "active",
"token_expires_at": null,
"connected_at": "2026-07-01T00:00:00Z",
"last_used_at": null,
"site_url": null
},
{
"account_unique": "Wp3xY5zA7bCd",
"platform": "wordpress",
"name": "Example Blog",
"image_url": null,
"status": "connection_error",
"token_expires_at": null,
"connected_at": "2026-08-01T00:00:00Z",
"last_used_at": null,
"site_url": "https://blog.example.com"
},
{
"account_unique": "Yt4aB6cD8eFg",
"platform": "youtube",
"name": "Channel B",
"image_url": "https://yt3.ggpht.com/abc.png",
"status": "expired",
"token_expires_at": "2026-10-01T00:00:00Z",
"connected_at": "2026-09-01T00:00:00Z",
"last_used_at": "2026-09-30T00:00:00Z",
"site_url": null
}
]
}
অটোমেশন
ভিডিও, ব্লগ ও ক্যারোসেল অটোমেশনের অগ্রগতি পাওয়া যায়। পোস্ট অটোমেশনের (পোস্ট মোড) জন্য কনটেন্টের সময়সূচি ব্যবহার করুন।
অটোমেশন রান
ভিডিও, ব্লগ ও ক্যারোসেল অটোমেশন রান (নির্ধারিত, চলমান, রিভিউয়ের অপেক্ষায় ও শেষ হওয়া) নতুনটি আগে রেখে পাওয়া যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
status |
কোয়েরি | string | ঐচ্ছিক | — | অবস্থা অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। মানগুলো data[].status-এর মতোই |
mode |
কোয়েরি | string | ঐচ্ছিক | — | মোড অনুযায়ী ফিল্টার (কমা দিয়ে আলাদা করে)। moviemode / blogmode / carouselmode |
project_unique |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই প্রজেক্টের রান ফেরত দেয় |
from |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার পরে তৈরি হওয়া আইটেম ফেরত দেয় |
to |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই তারিখ ও সময় বা তার আগে তৈরি হওয়া আইটেম ফেরত দেয় |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].auto_unique |
string | অটোমেশন রানের ID |
data[].mode |
string | moviemode / blogmode / carouselmode |
data[].project |
object | প্রজেক্ট {project_unique, project_name} |
data[].content.variation_unique |
string | কনটেন্টের ID |
data[].content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
data[].run_no |
integer | কনটেন্টের জন্য এটি কত নম্বর রান |
data[].status |
string | অবস্থা। pending (চালানোর অপেক্ষায়; reserved_at ভবিষ্যতে হলে নির্ধারিত) / executing / waiting_confirmation (কনটেন্ট রিভিউয়ের অপেক্ষায়; রিভিউয়ের পর চলতে থাকে) / completed / failed / stopped / token_shortage (Token ফুরিয়ে যাওয়ায় শেষ হয়েছে) |
data[].execution_mode |
string | sequential (একটি একটি করে) / parallel (সব একসঙ্গে) |
data[].phases |
object | প্রতিটি পর্যায়ের অবস্থা {setup, step1, step2, step3}। not_started / running (চলছে, বা যে পর্যায়ে থেমেছে) / done (skip করা ধাপসহ, এবং completed হিসেবে শেষ হওয়া রানের ক্ষেত্রে এই রানের পরিধির বাইরে থাকা ধাপসহ) / error |
data[].template.setup_template_name |
string | null | শুরুর সময়ে ব্যবহৃত সেটআপ টেমপ্লেটের নাম |
data[].template.automation_template_name |
string | null | শুরুর সময়ে ব্যবহৃত অটোমেশন টেমপ্লেটের নাম |
data[].reserved_at |
string | null | নির্ধারিত চালানোর সময় |
data[].executed_at |
string | null | রান কখন শুরু হয়েছে |
data[].completed_at |
string | null | রান কখন শেষ হয়েছে (completed / failed / stopped / token_shortage-এর জন্য) |
data[].created_at |
string | রান কখন নিবন্ধিত হয়েছে |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/automations?status=executing,waiting_confirmation");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"auto_unique": "aB3dE5fG7h",
"mode": "blogmode",
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My Blog" },
"content": { "variation_unique": "Xy12Zw34Ab56", "title": "Spring travel tips" },
"run_no": 2,
"status": "executing",
"execution_mode": "sequential",
"phases": { "setup": "done", "step1": "done", "step2": "running", "step3": "not_started" },
"template": { "setup_template_name": "Default setup", "automation_template_name": null },
"reserved_at": null,
"executed_at": "2026-10-19T23:09:27Z",
"completed_at": null,
"created_at": "2026-10-19T23:09:20Z"
}
],
"meta": { "total": 1, "current_page": 1, "per_page": 20, "last_page": 1 }
}
অটোমেশন রানের বিস্তারিত
একটি অটোমেশন রানের বিস্তারিত এবং প্রতিটি ধাপের অগ্রগতি পাওয়া যায়। চলার সময় অগ্রগতি দেখতে এটি ব্যবহার করতে পারেন।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
auto_unique |
পাথ | string | আবশ্যক | — | অটোমেশন রানের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
auto_unique / mode / … / created_at |
— | অটোমেশন রানের তালিকার মতোই |
steps[].key |
string | ধাপের নাম (যেমন step1_1_text) |
steps[].phase |
string | ধাপের পর্যায়। setup / step1 / step2 / step3 |
steps[].status |
string | ধাপের অবস্থা। not_run (চালানো হয়নি, প্রযোজ্য নয়, বা চলছে) / success / error / skipped |
steps[].started_at |
string | null | চলমান ধাপ কখন শুরু হয়েছে (শেষ হলে null) |
steps[].finished_at |
string | null | ধাপ কখন শেষ হয়েছে |
steps[].duration_sec |
number | null | কত সেকেন্ড লেগেছে (success / error-এর জন্য) |
steps[].error_code |
string | null | ব্যর্থতার কারণ। internal_error / automation_record_not_found / automation_stopped_by_admin / insufficient_token (Token যথেষ্ট নয়) / token_group_blocked (টিমের কোটায় পৌঁছেছে) / automation_auth_error (গন্তব্যের অথেনটিকেশন ত্রুটি) / automation_not_found / automation_conflict / automation_rate_limited (গন্তব্যের রেট লিমিট) / automation_server_error (গন্তব্যের ত্রুটি) / automation_network_error (নেটওয়ার্ক ত্রুটি) / automation_step_failed। কোনো কারণ নথিভুক্ত না হলে null |
accounts[] |
object | শুরুর সময়ের গন্তব্য {platform, account_unique, name}। ওয়েবহুকের জন্য name হয় null |
stop_requested |
boolean | বন্ধ করার অনুরোধ করা হয়েছে কি না |
confirmation.requested_at |
string | null | রিভিউয়ের অপেক্ষা কখন শুরু হয়েছে |
confirmation.confirmed_at |
string | null | কনটেন্ট কখন রিভিউ করা হয়েছে (রিভিউয়ের অপেক্ষায় থাকলে বা রিভিউ না হলে null) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
অটোমেশনটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Automation not found.) |
curl "https://stepeee.com/public-api/v1/automations/aB3dE5fG7h" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/automations/aB3dE5fG7h",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations/aB3dE5fG7h", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations/aB3dE5fG7h")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations/aB3dE5fG7h"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/automations/aB3dE5fG7h");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"auto_unique": "aB3dE5fG7h",
"mode": "blogmode",
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My Blog" },
"content": { "variation_unique": "Xy12Zw34Ab56", "title": "Spring travel tips" },
"run_no": 2,
"status": "failed",
"execution_mode": "sequential",
"phases": { "setup": "done", "step1": "done", "step2": "done", "step3": "error" },
"template": { "setup_template_name": "Default setup", "automation_template_name": "Skip voice" },
"reserved_at": null,
"executed_at": "2026-10-19T23:09:27Z",
"completed_at": "2026-10-19T23:17:50Z",
"created_at": "2026-10-19T23:09:20Z",
"steps": [
{ "key": "setup", "phase": "setup", "status": "success", "started_at": null, "finished_at": "2026-10-19T23:09:29Z", "duration_sec": 2.3, "error_code": null },
{ "key": "step1_1_text", "phase": "step1", "status": "success", "started_at": null, "finished_at": "2026-10-19T23:11:40Z", "duration_sec": 126.3, "error_code": null },
{ "key": "step2_2", "phase": "step2", "status": "skipped", "started_at": null, "finished_at": "2026-10-19T23:17:39Z", "duration_sec": null, "error_code": null },
{ "key": "step3_4_webhook", "phase": "step3", "status": "error", "started_at": null, "finished_at": "2026-10-19T23:17:46Z", "duration_sec": 1.2, "error_code": "automation_server_error" }
],
"accounts": [
{ "platform": "webhook", "account_unique": "dxuD2gk3NYuA", "name": null }
],
"stop_requested": false,
"confirmation": { "requested_at": null, "confirmed_at": null }
}
}
ম্যাটেরিয়াল ও টেমপ্লেট
আমার ম্যাটেরিয়াল (ইমেজ, ভিডিও ও BGM) এবং সেটআপ ও অটোমেশন টেমপ্লেট পাওয়া যায়।
-
ম্যাটেরিয়ালের তালিকা
GET /materials -
ম্যাটেরিয়ালের বিস্তারিত
GET /materials/{material_unique} -
ম্যাটেরিয়ালের ক্যাটাগরি
GET /material-categories -
টেমপ্লেটের তালিকা
GET /templates
ম্যাটেরিয়ালের তালিকা
আমার ম্যাটেরিয়াল (ইমেজ, ভিডিও ও BGM) নতুনটি আগে রেখে পাওয়া যায়। টিমে থাকলে টিমের শেয়ার করা ম্যাটেরিয়াল ফেরত আসে। শুধু প্রজেক্টের ভেতরে ব্যবহৃত ইমেজ এবং এখনো তৈরি হতে থাকা ফাইল এতে অন্তর্ভুক্ত নয়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
kind |
কোয়েরি | string | ঐচ্ছিক | — | ম্যাটেরিয়ালের ধরন অনুযায়ী ফিল্টার। image / video / bgm |
type |
কোয়েরি | string | ঐচ্ছিক | — | ম্যাটেরিয়ালের ব্যবহার অনুযায়ী ফিল্টার। মানগুলো data[].type-এর মতোই। kind-এর সঙ্গে ব্যবহার করলে শুধু সেই ধরনের ব্যবহার দেওয়া যায় |
category_unique |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই ক্যাটাগরির ম্যাটেরিয়াল ফেরত দেয় |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].material_unique |
string | ম্যাটেরিয়ালের ID |
data[].kind |
string | ধরন। image / video / bgm |
data[].type |
string | ব্যবহার। image_element (এলিমেন্ট) / image_vertical (উল্লম্ব) / image_horizontal (আনুভূমিক) / reference_person (রেফারেন্স ইমেজ: ব্যক্তি) / reference_background (রেফারেন্স ইমেজ: ব্যাকগ্রাউন্ড) / reference_layout (রেফারেন্স ইমেজ: লেআউট) / reference_cta (রেফারেন্স ইমেজ: CTA) / reference_pet (রেফারেন্স ইমেজ: পোষা প্রাণী) / reference_product (রেফারেন্স ইমেজ: পণ্য বা সেবা) / image_rulebook (রুলবুক) / image_promotion (প্রচার) / video_vertical (উল্লম্ব ভিডিও) / video_horizontal (আনুভূমিক ভিডিও) / bgm |
data[].category |
object | null | ক্যাটাগরি {category_unique, name} (ক্যাটাগরিহীন হলে null) |
data[].width / data[].height |
integer | null | প্রস্থ ও উচ্চতা (পিক্সেল)। BGM-এর জন্য এবং পরিমাপ না করা হলে null |
data[].duration_ms |
integer | null | দৈর্ঘ্য (মিলিসেকেন্ড)। ইমেজের জন্য null |
data[].size_bytes |
integer | ফাইলের আকার (বাইট)। ম্যাটেরিয়াল শেয়ার করা ম্যাটেরিয়ালকে নির্দেশ করলে এটি 0 হতে পারে |
data[].file |
object | ফাইল নিজেই {url, expires_at} |
data[].thumbnail |
object | null | থাম্বনেইল {url, expires_at}। BGM ও এলিমেন্টের জন্য এবং থাম্বনেইল তৈরি হওয়ার সময় null |
data[].created_at |
string | তৈরির সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/materials?kind=image&type=image_vertical");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"material_unique": "aB3dE5fG7hJ9kL1mN3pQ",
"kind": "image",
"type": "image_vertical",
"category": { "category_unique": "Xy12Ab34Cd", "name": "Product shots" },
"width": 768,
"height": 1344,
"duration_ms": null,
"size_bytes": 1234567,
"file": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
"thumbnail": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
"created_at": "2026-10-01T10:00:00Z"
},
{
"material_unique": "Zq9Wv8Ut7Sr6Qp5On4Ml",
"kind": "bgm",
"type": "bgm",
"category": null,
"width": null,
"height": null,
"duration_ms": 30000,
"size_bytes": 482133,
"file": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
"thumbnail": null,
"created_at": "2026-09-30T08:12:00Z"
}
],
"meta": { "total": 2, "current_page": 1, "per_page": 20, "last_page": 1 }
}
ম্যাটেরিয়ালের বিস্তারিত
একটি ম্যাটেরিয়াল পাওয়া যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
material_unique |
পাথ | string | আবশ্যক | — | ম্যাটেরিয়ালের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
material_unique |
string | ম্যাটেরিয়ালের ID |
kind |
string | ধরন। image / video / bgm |
type |
string | ব্যবহার। image_element (এলিমেন্ট) / image_vertical (উল্লম্ব) / image_horizontal (আনুভূমিক) / reference_person (রেফারেন্স ইমেজ: ব্যক্তি) / reference_background (রেফারেন্স ইমেজ: ব্যাকগ্রাউন্ড) / reference_layout (রেফারেন্স ইমেজ: লেআউট) / reference_cta (রেফারেন্স ইমেজ: CTA) / reference_pet (রেফারেন্স ইমেজ: পোষা প্রাণী) / reference_product (রেফারেন্স ইমেজ: পণ্য বা সেবা) / image_rulebook (রুলবুক) / image_promotion (প্রচার) / video_vertical (উল্লম্ব ভিডিও) / video_horizontal (আনুভূমিক ভিডিও) / bgm |
category |
object | null | ক্যাটাগরি {category_unique, name} (ক্যাটাগরিহীন হলে null) |
width / height |
integer | null | প্রস্থ ও উচ্চতা (পিক্সেল)। BGM-এর জন্য এবং পরিমাপ না করা হলে null |
duration_ms |
integer | null | দৈর্ঘ্য (মিলিসেকেন্ড)। ইমেজের জন্য null |
size_bytes |
integer | ফাইলের আকার (বাইট)। ম্যাটেরিয়াল শেয়ার করা ম্যাটেরিয়ালকে নির্দেশ করলে এটি 0 হতে পারে |
file |
object | ফাইল নিজেই {url, expires_at} |
thumbnail |
object | null | থাম্বনেইল {url, expires_at}। BGM ও এলিমেন্টের জন্য এবং থাম্বনেইল তৈরি হওয়ার সময় null |
created_at |
string | তৈরির সময় |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
ম্যাটেরিয়ালটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Material not found.) |
curl "https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"material_unique": "aB3dE5fG7hJ9kL1mN3pQ",
"kind": "image",
"type": "image_vertical",
"category": { "category_unique": "Xy12Ab34Cd", "name": "Product shots" },
"width": 768,
"height": 1344,
"duration_ms": null,
"size_bytes": 1234567,
"file": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
"thumbnail": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
"created_at": "2026-10-01T10:00:00Z"
}
}
ম্যাটেরিয়ালের ক্যাটাগরি
ম্যাটেরিয়ালের ক্যাটাগরি এবং প্রতিটি ক্যাটাগরিতে ম্যাটেরিয়ালের সংখ্যা পাওয়া যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
kind |
কোয়েরি | string | ঐচ্ছিক | — | ম্যাটেরিয়ালের ধরন অনুযায়ী ফিল্টার। image / video / bgm |
type |
কোয়েরি | string | ঐচ্ছিক | — | ম্যাটেরিয়ালের ব্যবহার অনুযায়ী ফিল্টার। মানগুলো data[].type-এর মতোই। kind-এর সঙ্গে ব্যবহার করলে শুধু সেই ধরনের ব্যবহার দেওয়া যায় |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].category_unique |
string | ক্যাটাগরির ID |
data[].name |
string | ক্যাটাগরির নাম |
data[].kind |
string | ধরন। image / video / bgm |
data[].type |
string | ব্যবহার। image_element (এলিমেন্ট) / image_vertical (উল্লম্ব) / image_horizontal (আনুভূমিক) / reference_person (রেফারেন্স ইমেজ: ব্যক্তি) / reference_background (রেফারেন্স ইমেজ: ব্যাকগ্রাউন্ড) / reference_layout (রেফারেন্স ইমেজ: লেআউট) / reference_cta (রেফারেন্স ইমেজ: CTA) / reference_pet (রেফারেন্স ইমেজ: পোষা প্রাণী) / reference_product (রেফারেন্স ইমেজ: পণ্য বা সেবা) / image_rulebook (রুলবুক) / image_promotion (প্রচার) / video_vertical (উল্লম্ব ভিডিও) / video_horizontal (আনুভূমিক ভিডিও) / bgm |
data[].is_system |
boolean | ক্যাটাগরিটি Stepeee স্বয়ংক্রিয়ভাবে তৈরি করেছে কি না |
data[].material_count |
integer | ক্যাটাগরিতে ম্যাটেরিয়ালের সংখ্যা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/material-categories?kind=image" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/material-categories?kind=image",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/material-categories?kind=image", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/material-categories?kind=image")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/material-categories?kind=image"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/material-categories?kind=image");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"category_unique": "Bg12Ab34Cd",
"name": "Lo-fi",
"kind": "bgm",
"type": "bgm",
"is_system": false,
"material_count": 3
},
{
"category_unique": "Xy12Ab34Cd",
"name": "Product shots",
"kind": "image",
"type": "image_vertical",
"is_system": false,
"material_count": 12
}
]
}
টেমপ্লেটের তালিকা
সেটআপ টেমপ্লেট ও অটোমেশন টেমপ্লেট সর্বশেষ হালনাগাদের ক্রমে পাওয়া যায়। টিমে থাকলে টিমের শেয়ার করা টেমপ্লেট ফেরত আসে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
mode |
কোয়েরি | string | ঐচ্ছিক | — | মোড অনুযায়ী ফিল্টার। moviemode / blogmode / carouselmode / postmode |
kind |
কোয়েরি | string | ঐচ্ছিক | — | টেমপ্লেটের ধরন অনুযায়ী ফিল্টার। setup / automation |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].template_unique |
string | টেমপ্লেটের ID |
data[].kind |
string | ধরন। setup (প্রোডাকশন সেটিংস ধারণ করা সেটআপ টেমপ্লেট) / automation (অটোমেশন কোন ধাপগুলো চালাবে তা ঠিক করা অটোমেশন টেমপ্লেট) |
data[].mode |
string | moviemode (ভিডিও) / blogmode (ব্লগ) / carouselmode (ক্যারোসেল) / postmode (পোস্ট) |
data[].name |
string | টেমপ্লেটের নাম |
data[].created_at |
string | তৈরির সময় |
data[].updated_at |
string | হালনাগাদের সময় |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/templates?kind=setup&mode=moviemode");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"template_unique": "Ab12Cd34Ef",
"kind": "automation",
"mode": "carouselmode",
"name": "Morning carousel",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-10-05T00:00:00Z"
},
{
"template_unique": "Gh56Ij78Kl",
"kind": "setup",
"mode": "moviemode",
"name": "60-second explainer",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-10-01T00:00:00Z"
}
],
"meta": { "total": 2, "current_page": 1, "per_page": 20, "last_page": 1 }
}
টাইটেল ও কনটেন্ট
ভিডিও, ব্লগ ও ক্যারোসেল কনসেপ্টে টাইটেল যোগ করা এবং কনটেন্ট মোছা যায়। Pro প্ল্যান বা তার উপরের প্ল্যানে পাওয়া যায়।
-
টাইটেল যোগ করা
POST /projects/{project_unique}/concepts/{concept_unique}/titles -
কনটেন্ট মোছা
DELETE /projects/{project_unique}/contents/{variation_unique}
টাইটেল যোগ করা
ভিডিও, ব্লগ বা ক্যারোসেল কনসেপ্টে একসঙ্গে টাইটেল যোগ করে এবং প্রতিটি টাইটেলের জন্য প্রথম কনটেন্ট তৈরি করে (অ্যাপে হাতে টাইটেল যোগ করার মতোই একই প্রক্রিয়া)। একই কনসেপ্টে যে টাইটেলের নাম আগে থেকেই আছে এবং একই রিকোয়েস্টে দ্বিতীয়বার বা তার পরে আসা নামগুলো তৈরি হয় না, এবং সেগুলো skipped-এ তালিকাভুক্ত হয়। একটি কনসেপ্টে সর্বোচ্চ 100টি টাইটেল থাকতে পারে; যোগ করলে 100 ছাড়িয়ে গেলে কিছুই তৈরি হয় না (বাদ পড়া নামগুলো গণনায় ধরা হয় না)। প্ল্যানের কনটেন্ট সীমার কারণে কনটেন্ট তৈরি করা না গেলে শুধু টাইটেল তৈরি হয় এবং variation_unique হয় null। ব্লগের প্রচার ও অ্যাফিলিয়েট সেটিংস দেওয়া যায় না; টাইটেলগুলো সাধারণ নিবন্ধ হিসেবে তৈরি হয়। টিমে থাকলে আপনার তৈরি করা টাইটেল ও কনটেন্টের মালিক টিম মালিক।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
concept_unique |
পাথ | string | আবশ্যক | — | কনসেপ্টের ID (প্রজেক্টের একটি ভিডিও, ব্লগ বা ক্যারোসেল কনসেপ্ট) |
titles |
বডি | string[] | আবশ্যক | — | যে টাইটেলগুলো যোগ করা হবে। 1–50টি আইটেম। শুরু ও শেষের ফাঁকা অংশ বাদ দেওয়ার পর প্রতিটি 1–500 অক্ষরের হতে হবে (শুধু ফাঁকা, শুধু "0", বা মাঝখানে লাইন ব্রেক থাকা টাইটেল অনুমোদিত নয়) |
language |
বডি | string | আবশ্যক | — | যে কনটেন্ট তৈরি হবে তার প্রকাশের ভাষা (ja, en বা fr-এর মতো ভাষার কোড) |
setup_template_unique |
বডি | string | null | ঐচ্ছিক | — | যে সেটআপ টেমপ্লেট প্রয়োগ হবে তার ID (GET /templates থেকে পাওয়া template_unique, kind setup এবং কনসেপ্টের মতো একই মোডের)। না দিলে কনসেপ্টের ডিফল্ট টেমপ্লেট ব্যবহার হয় (কোনোটি সেট না থাকলে স্ট্যান্ডার্ড সেটআপ) |
Idempotency-Key |
হেডার | string | ঐচ্ছিক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
created[] |
object | যে টাইটেলগুলো তৈরি হয়েছে (পাঠানোর ক্রমে) |
created[].title_unique |
string | টাইটেলের ID |
created[].title_name |
string | টাইটেলের নাম (শুরু ও শেষের ফাঁকা অংশ বাদ দিয়ে) |
created[].variation_unique |
string | null | যে প্রথম কনটেন্ট তৈরি হয়েছে তার ID। প্ল্যানের কনটেন্ট সীমার কারণে তৈরি করা না গেলে null |
skipped[] |
object | যে টাইটেলগুলো তৈরি হয়নি (পাঠানোর ক্রমে) |
skipped[].title_name |
string | টাইটেলের নাম (শুরু ও শেষের ফাঁকা অংশ বাদ দিয়ে) |
skipped[].reason |
string | কেন তৈরি হয়নি। duplicate (একই কনসেপ্টে একই নামের টাইটেল আছে, অথবা নামটি একই রিকোয়েস্টে দ্বিতীয়বার বা তার পরে এসেছে) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 403 | readonly |
প্ল্যান ডাউনগ্রেডের কারণে প্রজেক্টটি শুধু পড়ার জন্য |
| 404 | not_found |
প্রজেক্টটি নেই বা আপনার অ্যাক্সেসের বাইরে, অথবা কনসেপ্টটি সেই প্রজেক্টে নেই |
| 409 | title_limit_reached |
যোগ করলে কনসেপ্টে টাইটেল 100টির বেশি হয়ে যাবে (কিছুই তৈরি হয় না)। details-এ limit (সীমা) ও total_after_add (যোগ করার পরের সংখ্যা) থাকে |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | validation_error |
প্যারামিটার ভুল |
| 422 | mode_not_supported |
একটি পোস্ট (পোস্ট মোড) বা ফটো কনসেপ্ট |
| 422 | template_not_found |
setup_template_unique-এর টেমপ্লেটটি নেই (অন্য মোডের টেমপ্লেটসহ) |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
curl -X POST "https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90" \
-d '{
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}'
import requests
body = """{
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}"""
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
body: JSON.stringify({
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
request.httpBody = """
{
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"titles": ["Easy breakfast for beginners", "Meal prep in 5 minutes", "Easy breakfast for beginners"],
"language": "en",
"setup_template_unique": "Gh56Ij78Kl"
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/concepts/Cx2Yz4Wv6Ut8/titles");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"created": [
{ "title_unique": "q8Wm2LzR0pXa", "title_name": "Easy breakfast for beginners", "variation_unique": "Hn4kT7sY1cVb" },
{ "title_unique": "Zr5uP9eK3wQd", "title_name": "Meal prep in 5 minutes", "variation_unique": "Jm8oB2fN6xLe" }
],
"skipped": [
{ "title_name": "Easy breakfast for beginners", "reason": "duplicate" }
]
}
}
কনটেন্ট মোছা
ভিডিও, ব্লগ বা ক্যারোসেল কনটেন্ট মুছে ফেলে (অ্যাপে কনটেন্ট মোছার মতোই একই প্রক্রিয়া)। মুছে ফেলা কনটেন্ট সঙ্গে সঙ্গে তালিকা ও বিস্তারিত থেকে সরে যায়, এবং delete_at-এর পর (3 দিন পরে) তৈরি করা ইমেজ, অডিও ও ভিডিওসহ স্থায়ীভাবে মুছে যায়। একই টাইটেলের পরবর্তী কনটেন্টগুলোর নম্বর এক করে কমে যায়। যে কনটেন্টের অটোমেশন চলছে বা নির্ধারিত আছে, সেটি মোছা যায় না, তাই আগে অটোমেশন বন্ধ করুন। টাইটেলের শেষ অবশিষ্ট কনটেন্ট এবং পোস্ট (পোস্ট মোড) কনটেন্ট মোছা যায় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
project_unique |
পাথ | string | আবশ্যক | — | প্রজেক্টের ID |
variation_unique |
পাথ | string | আবশ্যক | — | কনটেন্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
variation_unique |
string | মুছে ফেলা কনটেন্টের ID |
mode |
string | moviemode (ভিডিও) / blogmode (ব্লগ) / carouselmode (ক্যারোসেল) |
delete_at |
string | স্থায়ীভাবে কখন মুছে যাবে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 403 | readonly |
প্ল্যান ডাউনগ্রেডের কারণে কনটেন্ট বা প্রজেক্ট শুধু পড়ার জন্য |
| 404 | not_found |
প্রজেক্টটি নেই বা আপনার অ্যাক্সেসের বাইরে, কনটেন্টটি সেই প্রজেক্টে নেই, অথবা এটি আগেই মুছে ফেলা হয়েছে |
| 409 | automation_running |
একটি অটোমেশন চলছে বা নির্ধারিত আছে (একটি অটোমেশন এখনো শেষ হয়নি) |
| 409 | last_variation |
টাইটেলের শেষ অবশিষ্ট কনটেন্ট |
| 422 | mode_not_supported |
পোস্ট (পোস্ট মোড) কনটেন্ট |
curl -X DELETE "https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.request(
"DELETE",
"https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb", {
method: "DELETE",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb")!)
request.httpMethod = "DELETE"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/Pq7Rs9Tu1V/contents/Hn4kT7sY1cVb");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"variation_unique": "Hn4kT7sY1cVb",
"mode": "blogmode",
"delete_at": "2026-10-24T12:00:00Z"
}
}
অটোমেশনের কাজ
ভিডিও, ব্লগ ও ক্যারোসেল অটোমেশন শুরু করা, নতুন সময় ঠিক করা ও বন্ধ করা, এবং রিভিউয়ের অপেক্ষায় থাকা অটোমেশন অনুমোদন করা যায়। GET /automations দিয়ে পাওয়া অটোমেশনগুলোর উপরই কাজ করা যায়। বন্ধ করা যেকোনো প্ল্যানে করা যায়; বাকি সবের জন্য Pro প্ল্যান বা তার উপরের প্ল্যান প্রয়োজন।
-
অটোমেশন শুরু করা
POST /automations -
নির্ধারিত সময় পরিবর্তন
PATCH /automations/{auto_unique} -
অটোমেশন বন্ধ করা
POST /automations/{auto_unique}/stop -
রিভিউয়ের অপেক্ষায় থাকা অটোমেশন অনুমোদন
POST /automations/{auto_unique}/confirm
অটোমেশন শুরু করা
অটোমেশন টেমপ্লেটের সেটিংস ব্যবহার করে কনটেন্টের (ভিডিও, ব্লগ বা ক্যারোসেল) জন্য অটোমেশন শুরু করে। reserved_at দিলে এটি নির্ধারিত হয়; না দিলে এখনই চলে। সব লক্ষ্য কনটেন্ট একই প্রজেক্ট ও একই মোডের হতে হবে। একটি কনটেন্টও শুরু করা না গেলে কিছুই নিবন্ধিত হয় না, এবং রেসপন্সে কোন কনটেন্ট কেন শুরু করা যায়নি তা জানানো হয়। ইতিমধ্যে তৈরি হওয়া ধাপ এড়িয়ে যাওয়া হয় এবং এখনো তৈরি না হওয়া প্রথম ধাপ থেকে রান শুরু হয়; অটোমেশন টেমপ্লেটে skip করা ধাপগুলো চালানো হয় না। সেটআপ সম্পূর্ণ হয়নি এমন কনটেন্টের ক্ষেত্রে শুরুতে সেটআপ চূড়ান্ত করা হয়। অটোমেশন চালালে Token খরচ হয়। শুরুতে ব্যালেন্স যাচাই করা হয় না; রানের মাঝে ফুরিয়ে গেলে অটোমেশন token_shortage দিয়ে শেষ হয়। কনটেন্ট রিভিউ আবশ্যক এমন সেটিংসে অটোমেশন মাঝপথে waiting_confirmation-এ থেমে যায়, তাই POST /automations/{auto_unique}/confirm দিয়ে অনুমোদন করুন। পোস্টের (পোস্ট মোড) স্বয়ংক্রিয় পোস্টিং আলাদা ব্যবস্থা, যা অ্যাপে প্রতিটি কনটেন্টে চালু-বন্ধ করা হয় এবং এই এন্ডপয়েন্ট দিয়ে শুরু করা যায় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
variation_uniques |
বডি | string[] | আবশ্যক | — | যে কনটেন্টের অটোমেশন চালানো হবে তার variation_unique। 1–50টি আইটেম, ডুপ্লিকেট ছাড়া |
automation_template_unique |
বডি | string | আবশ্যক | — | অটোমেশন টেমপ্লেটের ID (GET /templates?kind=automation থেকে পাওয়া template_unique, কনটেন্টের মতো একই মোডের) |
reserved_at |
বডি | string | ঐচ্ছিক | — | কখন চালানো হবে (ভবিষ্যতের তারিখ ও সময়)। সময়ের অফসেটসহ ISO 8601-এ দিন; অফসেট ছাড়া মান UTC ধরা হয়। না দিলে এখনই চলে |
Idempotency-Key |
হেডার | string | আবশ্যক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। দুবার শুরু হওয়া এড়াতে এটি আবশ্যক। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].auto_unique |
string | অটোমেশন রানের ID |
data[].mode |
string | moviemode / blogmode / carouselmode |
data[].project |
object | প্রজেক্ট {project_unique, project_name} |
data[].content.variation_unique |
string | কনটেন্টের ID |
data[].content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
data[].run_no |
integer | কনটেন্টের জন্য এটি কত নম্বর রান |
data[].status |
string | অবস্থা। pending (চালানোর অপেক্ষায়; reserved_at ভবিষ্যতে হলে নির্ধারিত) / executing / waiting_confirmation (কনটেন্ট রিভিউয়ের অপেক্ষায়; রিভিউয়ের পর চলতে থাকে) / completed / failed / stopped / token_shortage (Token ফুরিয়ে যাওয়ায় শেষ হয়েছে) |
data[].execution_mode |
string | sequential (একটি একটি করে) / parallel (সব একসঙ্গে) |
data[].phases |
object | প্রতিটি পর্যায়ের অবস্থা {setup, step1, step2, step3}। not_started / running (চলছে, বা যে পর্যায়ে থেমেছে) / done (skip করা ধাপসহ, এবং completed হিসেবে শেষ হওয়া রানের ক্ষেত্রে এই রানের পরিধির বাইরে থাকা ধাপসহ) / error |
data[].template.setup_template_name |
string | null | শুরুর সময়ে ব্যবহৃত সেটআপ টেমপ্লেটের নাম |
data[].template.automation_template_name |
string | null | শুরুর সময়ে ব্যবহৃত অটোমেশন টেমপ্লেটের নাম |
data[].reserved_at |
string | null | নির্ধারিত চালানোর সময় |
data[].executed_at |
string | null | রান কখন শুরু হয়েছে |
data[].completed_at |
string | null | রান কখন শেষ হয়েছে (completed / failed / stopped / token_shortage-এর জন্য) |
data[].created_at |
string | রান কখন নিবন্ধিত হয়েছে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 404 | content_not_found |
কোনো variation_unique আপনার অ্যাক্সেসযোগ্য কনটেন্টের মধ্যে নেই (রিকোয়েস্ট গৃহীত হওয়ার পর মুছে ফেলার জন্য নির্ধারিত কনটেন্টসহ; কিছুই নিবন্ধিত হয় না)। details.variation_uniques-এ সংশ্লিষ্টগুলো থাকে |
| 404 | automation_template_not_found |
অটোমেশন টেমপ্লেটটি নেই |
| 409 | contents_not_automatable |
কিছু কনটেন্ট শুরু করা যায় না (কিছুই নিবন্ধিত হয় না)। details.contents-এ {variation_unique, reason}-এর অ্যারে থাকে। reason হলো automation_active (একটি অটোমেশন এখনো শেষ হয়নি) / content_complete (ইতিমধ্যে সম্পূর্ণ) / content_readonly (প্ল্যান ডাউনগ্রেডের কারণে শুধু পড়ার জন্য) / layout_template_required (লেআউট টেমপ্লেট নেই এমন প্রজেক্টের ক্যারোসেল কনটেন্ট) |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | validation_error |
প্যারামিটার ভুল (0টি আইটেম বা 51টি বা তার বেশি, ডুপ্লিকেট, অতীতের reserved_at ইত্যাদি) |
| 422 | mode_not_supported |
পোস্ট (পোস্ট মোড) কনটেন্ট অন্তর্ভুক্ত আছে। details.variation_uniques-এ সংশ্লিষ্টগুলো থাকে |
| 422 | mixed_modes |
ভিন্ন মোডের কনটেন্ট মিশে আছে |
| 422 | mixed_projects |
ভিন্ন প্রজেক্টের কনটেন্ট মিশে আছে |
| 422 | automation_template_mode_mismatch |
অটোমেশন টেমপ্লেটের মোড কনটেন্টের মোডের থেকে আলাদা |
| 422 | idempotency_key_required |
Idempotency-Key হেডার নেই |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
| 503 | automation_dispatch_failed |
তাৎক্ষণিক রান শুরু করা ব্যর্থ হয়েছে। নিবন্ধিত অটোমেশনগুলো failed হয়ে যায়। একই Idempotency-Key দিয়ে আবার পাঠালে সেগুলো আবার নিবন্ধিত হয়ে শুরু হয় |
curl -X POST "https://stepeee.com/public-api/v1/automations" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90" \
-d '{
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}'
import requests
body = """{
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}"""
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/automations",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
body: JSON.stringify({
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
request.httpBody = """
{
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"variation_uniques": ["Ab3dEf6hIj9k", "Lm2nOp5qRs8t"],
"automation_template_unique": "Tm7pL2xQ9z",
"reserved_at": "2030-01-02T12:04:05+09:00"
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/automations");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"auto_unique": "Qw3eRt6yUi",
"mode": "blogmode",
"project": { "project_unique": "Pj8kL3mN2b", "project_name": "My Project" },
"content": { "variation_unique": "Ab3dEf6hIj9k", "title": "My blog title" },
"run_no": 1,
"status": "pending",
"execution_mode": "sequential",
"phases": { "setup": "running", "step1": "not_started", "step2": "not_started", "step3": "not_started" },
"template": { "setup_template_name": null, "automation_template_name": "Morning blog" },
"reserved_at": "2030-01-02T03:04:05Z",
"executed_at": null,
"completed_at": null,
"created_at": "2026-10-21T10:00:00Z"
},
{
"auto_unique": "As4dFg7hJk",
"mode": "blogmode",
"project": { "project_unique": "Pj8kL3mN2b", "project_name": "My Project" },
"content": { "variation_unique": "Lm2nOp5qRs8t", "title": "My blog title" },
"run_no": 1,
"status": "pending",
"execution_mode": "sequential",
"phases": { "setup": "running", "step1": "not_started", "step2": "not_started", "step3": "not_started" },
"template": { "setup_template_name": null, "automation_template_name": "Morning blog" },
"reserved_at": "2030-01-02T03:04:05Z",
"executed_at": null,
"completed_at": null,
"created_at": "2026-10-21T10:00:00Z"
}
]
}
নির্ধারিত সময় পরিবর্তন
চালানোর অপেক্ষায় থাকা (status pending) অটোমেশনের চালানোর সময় পরিবর্তন করে। যেসব অটোমেশন শুরু বা শেষ হয়ে গেছে, সেগুলো পরিবর্তন করা যায় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
auto_unique |
পাথ | string | আবশ্যক | — | অটোমেশন রানের ID |
reserved_at |
বডি | string | আবশ্যক | — | নতুন চালানোর সময় (ভবিষ্যতের তারিখ ও সময়)। সময়ের অফসেটসহ ISO 8601-এ দিন; অফসেট ছাড়া মান UTC ধরা হয় |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
auto_unique |
string | অটোমেশন রানের ID |
mode |
string | moviemode / blogmode / carouselmode |
project |
object | প্রজেক্ট {project_unique, project_name} |
content.variation_unique |
string | কনটেন্টের ID |
content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
run_no |
integer | কনটেন্টের জন্য এটি কত নম্বর রান |
status |
string | অবস্থা। pending (চালানোর অপেক্ষায়; reserved_at ভবিষ্যতে হলে নির্ধারিত) / executing / waiting_confirmation (কনটেন্ট রিভিউয়ের অপেক্ষায়; রিভিউয়ের পর চলতে থাকে) / completed / failed / stopped / token_shortage (Token ফুরিয়ে যাওয়ায় শেষ হয়েছে) |
execution_mode |
string | sequential (একটি একটি করে) / parallel (সব একসঙ্গে) |
phases |
object | প্রতিটি পর্যায়ের অবস্থা {setup, step1, step2, step3}। not_started / running (চলছে, বা যে পর্যায়ে থেমেছে) / done (skip করা ধাপসহ, এবং completed হিসেবে শেষ হওয়া রানের ক্ষেত্রে এই রানের পরিধির বাইরে থাকা ধাপসহ) / error |
template.setup_template_name |
string | null | শুরুর সময়ে ব্যবহৃত সেটআপ টেমপ্লেটের নাম |
template.automation_template_name |
string | null | শুরুর সময়ে ব্যবহৃত অটোমেশন টেমপ্লেটের নাম |
reserved_at |
string | null | নির্ধারিত চালানোর সময় |
executed_at |
string | null | রান কখন শুরু হয়েছে |
completed_at |
string | null | রান কখন শেষ হয়েছে (completed / failed / stopped / token_shortage-এর জন্য) |
created_at |
string | রান কখন নিবন্ধিত হয়েছে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 404 | not_found |
অটোমেশনটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Automation not found.) |
| 409 | automation_not_pending |
চালানোর অপেক্ষায় (pending) নেই; এটি শুরু হয়েছে বা শেষ হয়েছে |
| 422 | validation_error |
reserved_at নেই, তারিখ ও সময় হিসেবে পড়া যায় না, অথবা অতীতের সময় |
curl -X PATCH "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"reserved_at": "2031-05-06T07:08:09+09:00"
}'
import requests
body = """{
"reserved_at": "2031-05-06T07:08:09+09:00"
}"""
response = requests.request(
"PATCH",
"https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi", {
method: "PATCH",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
"reserved_at": "2031-05-06T07:08:09+09:00"
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi")!)
request.httpMethod = "PATCH"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.httpBody = """
{
"reserved_at": "2031-05-06T07:08:09+09:00"
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"reserved_at": "2031-05-06T07:08:09+09:00"
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"reserved_at": "2031-05-06T07:08:09+09:00"
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"auto_unique": "Qw3eRt6yUi",
"mode": "blogmode",
"project": { "project_unique": "Pj8kL3mN2b", "project_name": "My Project" },
"content": { "variation_unique": "Ab3dEf6hIj9k", "title": "My blog title" },
"run_no": 1,
"status": "pending",
"execution_mode": "sequential",
"phases": { "setup": "running", "step1": "not_started", "step2": "not_started", "step3": "not_started" },
"template": { "setup_template_name": null, "automation_template_name": "Morning blog" },
"reserved_at": "2031-05-05T22:08:09Z",
"executed_at": null,
"completed_at": null,
"created_at": "2026-10-21T10:00:00Z"
}
}
অটোমেশন বন্ধ করা
অ্যাপে বন্ধ করার মতোই একই কাজ। যেকোনো প্ল্যানে ব্যবহার করা যায় (যাতে প্ল্যান বদলের পরেও বন্ধ করা যায়)। চালানোর অপেক্ষায় থাকা (নির্ধারিতসহ) বা রিভিউয়ের অপেক্ষায় থাকা অটোমেশন সঙ্গে সঙ্গে stopped হয়ে যায়। চলমান অটোমেশনের ক্ষেত্রে বন্ধ করার অনুরোধ নথিভুক্ত হয়: রেসপন্সের সময়ে এটি তখনো চলছে এবং পরের ধাপের মাঝের বিরতিতে এটি stopped হয় (GET /automations/{auto_unique} দিয়ে দেখুন)। শেষ হয়ে যাওয়া অটোমেশন যেমন আছে তেমনই থাকে এবং বর্তমান অবস্থা ফেরত আসে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
auto_unique |
পাথ | string | আবশ্যক | — | অটোমেশন রানের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
auto_unique |
string | অটোমেশন রানের ID |
mode |
string | moviemode / blogmode / carouselmode |
project |
object | প্রজেক্ট {project_unique, project_name} |
content.variation_unique |
string | কনটেন্টের ID |
content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
run_no |
integer | কনটেন্টের জন্য এটি কত নম্বর রান |
status |
string | অবস্থা। pending (চালানোর অপেক্ষায়; reserved_at ভবিষ্যতে হলে নির্ধারিত) / executing / waiting_confirmation (কনটেন্ট রিভিউয়ের অপেক্ষায়; রিভিউয়ের পর চলতে থাকে) / completed / failed / stopped / token_shortage (Token ফুরিয়ে যাওয়ায় শেষ হয়েছে) |
execution_mode |
string | sequential (একটি একটি করে) / parallel (সব একসঙ্গে) |
phases |
object | প্রতিটি পর্যায়ের অবস্থা {setup, step1, step2, step3}। not_started / running (চলছে, বা যে পর্যায়ে থেমেছে) / done (skip করা ধাপসহ, এবং completed হিসেবে শেষ হওয়া রানের ক্ষেত্রে এই রানের পরিধির বাইরে থাকা ধাপসহ) / error |
template.setup_template_name |
string | null | শুরুর সময়ে ব্যবহৃত সেটআপ টেমপ্লেটের নাম |
template.automation_template_name |
string | null | শুরুর সময়ে ব্যবহৃত অটোমেশন টেমপ্লেটের নাম |
reserved_at |
string | null | নির্ধারিত চালানোর সময় |
executed_at |
string | null | রান কখন শুরু হয়েছে |
completed_at |
string | null | রান কখন শেষ হয়েছে (completed / failed / stopped / token_shortage-এর জন্য) |
created_at |
string | রান কখন নিবন্ধিত হয়েছে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
অটোমেশনটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Automation not found.) |
curl -X POST "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/stop");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"auto_unique": "Qw3eRt6yUi",
"mode": "blogmode",
"project": { "project_unique": "Pj8kL3mN2b", "project_name": "My Project" },
"content": { "variation_unique": "Ab3dEf6hIj9k", "title": "My blog title" },
"run_no": 1,
"status": "stopped",
"execution_mode": "sequential",
"phases": { "setup": "running", "step1": "not_started", "step2": "not_started", "step3": "not_started" },
"template": { "setup_template_name": null, "automation_template_name": "Morning blog" },
"reserved_at": "2030-01-02T03:04:05Z",
"executed_at": null,
"completed_at": "2026-10-21T10:05:00Z",
"created_at": "2026-10-21T10:00:00Z"
}
}
রিভিউয়ের অপেক্ষায় থাকা অটোমেশন অনুমোদন
কনটেন্ট রিভিউয়ের অপেক্ষায় থেমে থাকা (status waiting_confirmation) অটোমেশনের কনটেন্টকে রিভিউ করা হিসেবে চিহ্নিত করে এবং বাকি অংশ (সোশ্যাল মিডিয়ার লেখা তৈরি, পোস্ট করা ইত্যাদি) চালায়। অ্যাপে কনটেন্ট রিভিউ করার মতোই একই কাজ। সফল হলে অটোমেশন আবার pending-এ ফিরে যায় এবং সঙ্গে সঙ্গে চলতে শুরু করে।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
auto_unique |
পাথ | string | আবশ্যক | — | অটোমেশন রানের ID |
Idempotency-Key |
হেডার | string | ঐচ্ছিক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
auto_unique |
string | অটোমেশন রানের ID |
mode |
string | moviemode / blogmode / carouselmode |
project |
object | প্রজেক্ট {project_unique, project_name} |
content.variation_unique |
string | কনটেন্টের ID |
content.title |
string | null | টাইটেল (postmode-এর জন্য কনসেপ্টের নাম) |
run_no |
integer | কনটেন্টের জন্য এটি কত নম্বর রান |
status |
string | অবস্থা। pending (চালানোর অপেক্ষায়; reserved_at ভবিষ্যতে হলে নির্ধারিত) / executing / waiting_confirmation (কনটেন্ট রিভিউয়ের অপেক্ষায়; রিভিউয়ের পর চলতে থাকে) / completed / failed / stopped / token_shortage (Token ফুরিয়ে যাওয়ায় শেষ হয়েছে) |
execution_mode |
string | sequential (একটি একটি করে) / parallel (সব একসঙ্গে) |
phases |
object | প্রতিটি পর্যায়ের অবস্থা {setup, step1, step2, step3}। not_started / running (চলছে, বা যে পর্যায়ে থেমেছে) / done (skip করা ধাপসহ, এবং completed হিসেবে শেষ হওয়া রানের ক্ষেত্রে এই রানের পরিধির বাইরে থাকা ধাপসহ) / error |
template.setup_template_name |
string | null | শুরুর সময়ে ব্যবহৃত সেটআপ টেমপ্লেটের নাম |
template.automation_template_name |
string | null | শুরুর সময়ে ব্যবহৃত অটোমেশন টেমপ্লেটের নাম |
reserved_at |
string | null | নির্ধারিত চালানোর সময় |
executed_at |
string | null | রান কখন শুরু হয়েছে |
completed_at |
string | null | রান কখন শেষ হয়েছে (completed / failed / stopped / token_shortage-এর জন্য) |
created_at |
string | রান কখন নিবন্ধিত হয়েছে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 404 | not_found |
অটোমেশনটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Automation not found.) |
| 409 | automation_not_waiting_confirmation |
রিভিউয়ের অপেক্ষায় (waiting_confirmation) নেই |
| 409 | content_readonly |
প্ল্যান ডাউনগ্রেডের কারণে কনটেন্টটি শুধু পড়ার জন্য |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
| 503 | automation_dispatch_failed |
রানের বাকি অংশ শুরু করা ব্যর্থ হয়েছে। অটোমেশন failed হয়ে যায় (কনটেন্ট রিভিউ করা অবস্থায় থাকে, তাই চালিয়ে যেতে নতুন অটোমেশন শুরু করুন) |
curl -X POST "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \ -H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90"
import requests
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/automations/Qw3eRt6yUi/confirm");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"auto_unique": "Qw3eRt6yUi",
"mode": "carouselmode",
"project": { "project_unique": "Pj8kL3mN2b", "project_name": "My Project" },
"content": { "variation_unique": "Ab3dEf6hIj9k", "title": "My carousel title" },
"run_no": 1,
"status": "pending",
"execution_mode": "parallel",
"phases": { "setup": "done", "step1": "done", "step2": "done", "step3": "running" },
"template": { "setup_template_name": null, "automation_template_name": "Weekly carousel" },
"reserved_at": null,
"executed_at": "2026-10-21T09:00:00Z",
"completed_at": null,
"created_at": "2026-10-21T09:00:00Z"
}
}
পোস্টের রিভিউ
পোস্ট করার আগের রিভিউ required বা optional করা পোস্ট (পোস্ট মোড) অটোমেশন কনটেন্টের জন্য পোস্ট অনুমোদন, এখনই পোস্ট, নতুন সময় ঠিক করা বা বাতিল করা যায়। লক্ষ্য হলো অ্যাপের রিভিউ তালিকা এবং রিভিউ ইমেলের লিংকের মতো একই পোস্ট, এবং একই নিয়ম প্রযোজ্য। তালিকা যেকোনো প্ল্যানে পাওয়া যায়; কাজের জন্য Pro প্ল্যান বা তার উপরের প্ল্যান প্রয়োজন।
-
রিভিউয়ের অপেক্ষায় থাকা পোস্ট
GET /post-confirms -
পোস্ট অনুমোদন
POST /post-schedules/{schedule_unique}/approve -
মেয়াদ শেষ হওয়া পোস্ট এখনই পোস্ট করা
POST /post-schedules/{schedule_unique}/post-now -
মেয়াদ শেষ হওয়া পোস্টের নতুন সময় ঠিক করা
PATCH /post-schedules/{schedule_unique} -
পোস্ট বাতিল
DELETE /post-schedules/{schedule_unique}
রিভিউয়ের অপেক্ষায় থাকা পোস্ট
যেসব পোস্টের জন্য রিভিউ ইমেল পাঠানো হয়েছে এবং যেগুলো নির্ধারিত সময়ের আগে (upcoming) বা মেয়াদ শেষ (expired), সেগুলো নির্ধারিত সময়ের ক্রমে পাওয়া যায়। upcoming পোস্ট হলো অনুমোদনের অপেক্ষায় থাকা পোস্ট (awaiting; অনুমোদন না করলে পোস্ট হয় না) এবং শুধু বিজ্ঞপ্তির পোস্ট (notice; যেমন আছে তেমনই পোস্ট হয়)। expired পোস্ট হলো অনুমোদন ছাড়াই নির্ধারিত সময় পার হয়ে যাওয়া ও পোস্ট না হওয়া পোস্ট; এগুলো নির্ধারিত সময়ের পর শুধু 30 দিন ফেরত আসে। থ্রেড তার প্রথম পোস্টের জন্য একটি আইটেম হিসেবে ফেরত আসে, এবং দ্বিতীয় ও পরবর্তী পোস্ট thread-এ থাকে। যেকোনো প্ল্যানে ব্যবহার করা যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
state |
কোয়েরি | string | ঐচ্ছিক | — | upcoming (নির্ধারিত সময়ের আগে) বা expired অনুযায়ী ফিল্টার। না দিলে দুটিই |
project_unique |
কোয়েরি | string | ঐচ্ছিক | — | শুধু এই প্রজেক্টের পোস্ট ফেরত দেয় |
page |
কোয়েরি | integer | ঐচ্ছিক | 1 |
যে পৃষ্ঠা ফেরত আসবে (1 থেকে শুরু) |
per_page |
কোয়েরি | integer | ঐচ্ছিক | 20 |
প্রতি পৃষ্ঠার আইটেম সংখ্যা (1–100) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].schedule_unique |
string | নির্ধারিত পোস্টের ID। কাজের পাথে ব্যবহৃত হয় |
data[].state |
string | null | upcoming (নির্ধারিত সময়ের আগে) / expired। অনুমোদন, নতুন সময় ঠিক করা ইত্যাদির পর যে পোস্ট আর রিভিউয়ের অধীনে নেই, তার জন্য null (শুধু কাজের রেসপন্সে) |
data[].confirm_state |
string | awaiting (অনুমোদনের অপেক্ষায়; অনুমোদন না করলে পোস্ট হয় না) / notice (শুধু বিজ্ঞপ্তি; যেমন আছে তেমনই পোস্ট হয়) / confirmed (অনুমোদিত) / none (রিভিউ নেই) |
data[].confirm_mode |
string | কনটেন্টের রিভিউ সেটিং। required (অনুমোদন না করলে পোস্ট হয় না) / optional (অনুমোদন ছাড়াও পোস্ট হয়) / none (রিভিউ নেই) |
data[].can_approve |
boolean | অনুমোদন করা যায় কি না (upcoming এবং awaiting হলে true) |
data[].can_post_now |
boolean | এখনই পোস্ট করা যায় কি না (expired হলে true) |
data[].can_reschedule |
boolean | নতুন সময় ঠিক করা যায় কি না (expired হলে true) |
data[].scheduled_at |
string | পোস্টের নির্ধারিত সময় |
data[].scheduled_at_local |
string | timezone-এর স্থানীয় সময়ে নির্ধারিত সময় (YYYY-MM-DDTHH:MM:SS) |
data[].timezone |
string | পরিকল্পনা তৈরির সময়ের টাইম জোন |
data[].deadline_at |
string | null | কাজ করার শেষ সময়। upcoming-এর জন্য নির্ধারিত সময় (এরপর এটি expired হয়ে যায়); expired-এর জন্য নির্ধারিত সময়ের 30 দিন পর (এরপর এটি তালিকা থেকে সরে যায় এবং এর উপর কাজ করা যায় না)। state null হলে null |
data[].project |
object | প্রজেক্ট {project_unique, project_name} |
data[].concept |
object | কনসেপ্ট {concept_unique, concept_name} |
data[].variation_unique |
string | কনটেন্টের ID |
data[].post_unique |
string | পোস্টের ID (পোস্টের সময়সূচির items[].post_unique-এর মতোই) |
data[].post_type |
string | পোস্টের ধরন। assertion (মতামত) / knowhow / experience / casual (প্রতিদিনের) |
data[].text |
string | পোস্টের লেখা (থ্রেডের প্রথম পোস্ট) |
data[].thread[] |
object | থ্রেডের দ্বিতীয় ও পরবর্তী পোস্ট {text, image} (ক্রমানুসারে; থ্রেড না হলে খালি অ্যারে) |
data[].image |
object | null | সংযুক্ত ইমেজ {url, expires_at} (1 ঘণ্টায় মেয়াদ শেষ হওয়া সাইন করা URL)। না থাকলে null |
meta.total |
integer | মিলে যাওয়া আইটেমের মোট সংখ্যা |
meta.current_page |
integer | বর্তমান পৃষ্ঠা |
meta.per_page |
integer | প্রতি পৃষ্ঠার আইটেম সংখ্যা |
meta.last_page |
integer | শেষ পৃষ্ঠা |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
প্রজেক্টটি নেই অথবা আপনার অ্যাক্সেসের বাইরে (Project not found.) |
| 422 | validation_error |
প্যারামিটার ভুল |
curl "https://stepeee.com/public-api/v1/post-confirms?state=upcoming" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/post-confirms?state=upcoming",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/post-confirms?state=upcoming", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/post-confirms?state=upcoming")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/post-confirms?state=upcoming"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/post-confirms?state=upcoming");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"schedule_unique": "aB3dE5fG7hJ9",
"state": "upcoming",
"confirm_state": "awaiting",
"confirm_mode": "required",
"can_approve": true,
"can_post_now": false,
"can_reschedule": false,
"scheduled_at": "2026-10-19T13:00:00Z",
"scheduled_at_local": "2026-10-19T22:00:00",
"timezone": "Asia/Tokyo",
"deadline_at": "2026-10-19T13:00:00Z",
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My brand" },
"concept": { "concept_unique": "Cx2Yz4Wv6Ut8", "concept_name": "Morning tips" },
"variation_unique": "Vr5Ws7Xt9Yu1",
"post_unique": "Ps3Qt5Ru7Sv9",
"post_type": "knowhow",
"text": "First post of the thread",
"thread": [
{ "text": "Second post", "image": null },
{ "text": "Third post", "image": { "url": "https://...", "expires_at": "2026-10-19T13:00:00Z" } }
],
"image": null
}
],
"meta": { "total": 1, "current_page": 1, "per_page": 20, "last_page": 1 }
}
পোস্ট অনুমোদন
অনুমোদনের অপেক্ষায় থাকা পোস্ট (confirm_state awaiting সহ upcoming) অনুমোদন করে। অনুমোদিত পোস্ট নির্ধারিত সময়ে পোস্ট হয়। নির্ধারিত সময় পার হয়ে যাওয়া পোস্টের জন্য এখনই পোস্ট করুন বা নতুন সময় ঠিক করুন।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
schedule_unique |
পাথ | string | আবশ্যক | — | নির্ধারিত পোস্টের ID (GET /post-confirms থেকে পাওয়া schedule_unique) |
Idempotency-Key |
হেডার | string | ঐচ্ছিক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
schedule_unique / state / … / image |
— | রিভিউয়ের অপেক্ষায় থাকা পোস্টের তালিকার একটি আইটেমের মতোই (কাজের পরের অবস্থা) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 404 | post_schedule_not_found |
GET /post-confirms-এ দেখা যায় না এমন একটি পোস্ট (নেই, আপনার অ্যাক্সেসের বাইরে, রিভিউয়ের অধীনে নেই, অথবা ইতিমধ্যে অনুমোদিত) |
| 409 | confirm_expired |
নির্ধারিত সময় পার হয়ে গেছে (এখনই পোস্ট করুন বা নতুন সময় ঠিক করুন) |
| 409 | confirm_not_pending |
অনুমোদনের অপেক্ষায় নেই (যেমন শুধু বিজ্ঞপ্তির পোস্ট) |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
curl -X POST "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \ -H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90"
import requests
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/approve");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"schedule_unique": "aB3dE5fG7hJ9",
"state": null,
"confirm_state": "confirmed",
"confirm_mode": "required",
"can_approve": false,
"can_post_now": false,
"can_reschedule": false,
"scheduled_at": "2026-10-19T13:00:00Z",
"scheduled_at_local": "2026-10-19T22:00:00",
"timezone": "Asia/Tokyo",
"deadline_at": null,
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My brand" },
"concept": { "concept_unique": "Cx2Yz4Wv6Ut8", "concept_name": "Morning tips" },
"variation_unique": "Vr5Ws7Xt9Yu1",
"post_unique": "Ps3Qt5Ru7Sv9",
"post_type": "knowhow",
"text": "First post of the thread",
"thread": [
{ "text": "Second post", "image": null },
{ "text": "Third post", "image": { "url": "https://...", "expires_at": "2026-10-19T13:00:00Z" } }
],
"image": null
}
}
মেয়াদ শেষ হওয়া পোস্ট এখনই পোস্ট করা
মেয়াদ শেষ হওয়া পোস্টকে এখন থেকে 1 মিনিট পরে পোস্ট হওয়ার জন্য সেট করে এবং অনুমোদিত হিসেবে চিহ্নিত করে (কিছুক্ষণের মধ্যেই পোস্ট হবে)। থ্রেডের দ্বিতীয় ও পরবর্তী পোস্ট একই পরিমাণ সরে যায়। শুধু মেয়াদ শেষ হওয়া পোস্টের জন্য ব্যবহার করা যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
schedule_unique |
পাথ | string | আবশ্যক | — | নির্ধারিত পোস্টের ID (GET /post-confirms থেকে পাওয়া schedule_unique) |
allow_close_slot |
বডি | boolean | ঐচ্ছিক | false |
true দিলে একই কনটেন্টের অন্য নির্ধারিত পোস্টের সঙ্গে ব্যবধান সর্বনিম্ন ব্যবধানের (90 মিনিট) চেয়ে কম হয়ে গেলেও কাজটি এগিয়ে যায় |
Idempotency-Key |
হেডার | string | ঐচ্ছিক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
schedule_unique / state / … / image |
— | রিভিউয়ের অপেক্ষায় থাকা পোস্টের তালিকার একটি আইটেমের মতোই (কাজের পরের অবস্থা) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 403 | resource_readonly |
প্ল্যান ডাউনগ্রেডের কারণে কনটেন্টটি শুধু পড়ার জন্য |
| 404 | post_schedule_not_found |
GET /post-confirms-এ দেখা যায় না এমন একটি পোস্ট (নেই, আপনার অ্যাক্সেসের বাইরে, রিভিউয়ের অধীনে নেই, অথবা ইতিমধ্যে অনুমোদিত) |
| 409 | confirm_not_expired |
মেয়াদ শেষ হয়নি (নির্ধারিত সময়ের আগে অনুমোদন করুন) |
| 409 | schedule_close_to_other_slot |
allow_close_slot false এবং একই কনটেন্টের অন্য নির্ধারিত পোস্টের সঙ্গে ব্যবধান 90 মিনিটের কম হয়ে যাবে। details-এ min_gap_minutes (মিনিটে সর্বনিম্ন ব্যবধান), timezone এবং conflicts (কাছাকাছি নির্ধারিত পোস্টের অ্যারে {scheduled_at_local, minutes_apart}) থাকে |
| 409 | schedule_locked |
পোস্ট করা হচ্ছে বা হয়ে গেছে, অথবা নির্ধারিত সময়ের 2 মিনিটের মধ্যে, যেখানে এটি পোস্ট করার সঙ্গে মিলে যায় |
| 409 | schedule_processing |
কাজটি পোস্ট করার সঙ্গে একই সময়ে ঘটেছে এবং প্রয়োগ করা যায়নি |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | validation_error |
allow_close_slot true বা false নয় |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
curl -X POST "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90" \
-d '{
"allow_close_slot": true
}'
import requests
body = """{
"allow_close_slot": true
}"""
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
body: JSON.stringify({
"allow_close_slot": true
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
request.httpBody = """
{
"allow_close_slot": true
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"allow_close_slot": true
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"allow_close_slot": true
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9/post-now");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"schedule_unique": "aB3dE5fG7hJ9",
"state": null,
"confirm_state": "confirmed",
"confirm_mode": "required",
"can_approve": false,
"can_post_now": false,
"can_reschedule": false,
"scheduled_at": "2026-10-21T12:01:00Z",
"scheduled_at_local": "2026-10-21T21:01:00",
"timezone": "Asia/Tokyo",
"deadline_at": null,
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My brand" },
"concept": { "concept_unique": "Cx2Yz4Wv6Ut8", "concept_name": "Morning tips" },
"variation_unique": "Vr5Ws7Xt9Yu1",
"post_unique": "Ps3Qt5Ru7Sv9",
"post_type": "knowhow",
"text": "First post of the thread",
"thread": [
{ "text": "Second post", "image": null },
{ "text": "Third post", "image": { "url": "https://...", "expires_at": "2026-10-19T13:00:00Z" } }
],
"image": null
}
}
মেয়াদ শেষ হওয়া পোস্টের নতুন সময় ঠিক করা
মেয়াদ শেষ হওয়া পোস্টের নির্ধারিত সময় পরিবর্তন করে এবং অনুমোদিত হিসেবে চিহ্নিত করে (নির্দিষ্ট করা সময়ে পোস্ট হবে)। থ্রেডের দ্বিতীয় ও পরবর্তী পোস্ট একই পরিমাণ সরে যায়। শুধু মেয়াদ শেষ হওয়া পোস্টের নতুন সময় ঠিক করা যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
schedule_unique |
পাথ | string | আবশ্যক | — | নির্ধারিত পোস্টের ID (GET /post-confirms থেকে পাওয়া schedule_unique) |
scheduled_at |
বডি | string | আবশ্যক | — | নতুন নির্ধারিত সময় (ভবিষ্যতের তারিখ ও সময়)। সময়ের অফসেটসহ ISO 8601-এ দিন (যেমন 2026-10-21T09:30:00+09:00 বা 2026-10-21T00:30:00Z; সেকেন্ড বাদ দেওয়া যায় এবং সেকেন্ডের ভগ্নাংশ ছেঁটে ফেলা হয়)। এটি পোস্টের টাইম জোনের সময়ে রূপান্তরিত হয়ে সংরক্ষিত হয় |
allow_close_slot |
বডি | boolean | ঐচ্ছিক | false |
true দিলে একই কনটেন্টের অন্য নির্ধারিত পোস্টের সঙ্গে ব্যবধান সর্বনিম্ন ব্যবধানের (90 মিনিট) চেয়ে কম হয়ে গেলেও কাজটি এগিয়ে যায় |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
schedule_unique / state / … / image |
— | রিভিউয়ের অপেক্ষায় থাকা পোস্টের তালিকার একটি আইটেমের মতোই (কাজের পরের অবস্থা) |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 403 | resource_readonly |
প্ল্যান ডাউনগ্রেডের কারণে কনটেন্টটি শুধু পড়ার জন্য |
| 404 | post_schedule_not_found |
GET /post-confirms-এ দেখা যায় না এমন একটি পোস্ট (নেই, আপনার অ্যাক্সেসের বাইরে, রিভিউয়ের অধীনে নেই, অথবা ইতিমধ্যে অনুমোদিত) |
| 409 | confirm_not_expired |
মেয়াদ শেষ হয়নি (নির্ধারিত সময়ের আগে অনুমোদন করুন) |
| 409 | schedule_close_to_other_slot |
allow_close_slot false এবং একই কনটেন্টের অন্য নির্ধারিত পোস্টের সঙ্গে ব্যবধান 90 মিনিটের কম হয়ে যাবে। details-এ min_gap_minutes (মিনিটে সর্বনিম্ন ব্যবধান), timezone এবং conflicts (কাছাকাছি নির্ধারিত পোস্টের অ্যারে {scheduled_at_local, minutes_apart}) থাকে |
| 409 | schedule_locked |
পোস্ট করা হচ্ছে বা হয়ে গেছে, অথবা নির্ধারিত সময়ের 2 মিনিটের মধ্যে, যেখানে এটি পোস্ট করার সঙ্গে মিলে যায় |
| 409 | schedule_processing |
কাজটি পোস্ট করার সঙ্গে একই সময়ে ঘটেছে এবং প্রয়োগ করা যায়নি |
| 422 | confirm_reschedule_past |
scheduled_at বর্তমান সময় বা তার আগের |
| 422 | validation_error |
scheduled_at নেই, সময়ের অফসেট নেই বা তারিখ ও সময় হিসেবে পড়া যায় না, অথবা allow_close_slot true বা false নয় |
curl -X PATCH "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}'
import requests
body = """{
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}"""
response = requests.request(
"PATCH",
"https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9", {
method: "PATCH",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9")!)
request.httpMethod = "PATCH"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.httpBody = """
{
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"scheduled_at": "2026-10-22T09:30:00-05:00",
"allow_close_slot": false
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"schedule_unique": "aB3dE5fG7hJ9",
"state": null,
"confirm_state": "confirmed",
"confirm_mode": "required",
"can_approve": false,
"can_post_now": false,
"can_reschedule": false,
"scheduled_at": "2026-10-22T14:30:00Z",
"scheduled_at_local": "2026-10-22T23:30:00",
"timezone": "Asia/Tokyo",
"deadline_at": null,
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My brand" },
"concept": { "concept_unique": "Cx2Yz4Wv6Ut8", "concept_name": "Morning tips" },
"variation_unique": "Vr5Ws7Xt9Yu1",
"post_unique": "Ps3Qt5Ru7Sv9",
"post_type": "knowhow",
"text": "First post of the thread",
"thread": [
{ "text": "Second post", "image": null },
{ "text": "Third post", "image": { "url": "https://...", "expires_at": "2026-10-19T13:00:00Z" } }
],
"image": null
}
}
পোস্ট বাতিল
একটি পোস্ট বাতিল করে (নির্ধারিত সময়ের আগে হোক বা মেয়াদ শেষ হোক)। পোস্ট, থ্রেডের দ্বিতীয় ও পরবর্তী পোস্ট এবং সময়সূচি সবই মুছে যায়। এটি ফেরানো যায় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
schedule_unique |
পাথ | string | আবশ্যক | — | নির্ধারিত পোস্টের ID (GET /post-confirms থেকে পাওয়া schedule_unique) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
schedule_unique |
string | বাতিল করা নির্ধারিত পোস্টের ID |
deleted |
boolean | সবসময় true |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 403 | resource_readonly |
প্ল্যান ডাউনগ্রেডের কারণে কনটেন্টটি শুধু পড়ার জন্য |
| 404 | post_schedule_not_found |
GET /post-confirms-এ দেখা যায় না এমন একটি পোস্ট (নেই, আপনার অ্যাক্সেসের বাইরে, রিভিউয়ের অধীনে নেই, অথবা ইতিমধ্যে অনুমোদিত) |
| 409 | post_posting_locked |
পোস্ট করা হচ্ছে (থ্রেডের দ্বিতীয় ও পরবর্তী পোস্টসহ) এবং বাতিল করা যাবে না |
curl -X DELETE "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.request(
"DELETE",
"https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9", {
method: "DELETE",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9")!)
request.httpMethod = "DELETE"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/post-schedules/aB3dE5fG7hJ9");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"schedule_unique": "aB3dE5fG7hJ9",
"deleted": true
}
}
ওয়েবহুক
আপনার নিবন্ধিত URL-এ অটোমেশন ও পোস্টের ইভেন্ট JSON আকারে পাঠায়। বারবার API কল না করে সম্পন্ন হওয়া, ব্যর্থতা ও রিভিউ সম্পর্কে জানতে এটি ব্যবহার করুন। নিবন্ধন ও পরীক্ষামূলক পাঠানোর জন্য Pro প্ল্যান বা তার উপরের প্ল্যান প্রয়োজন; তালিকা দেখা ও মোছা যেকোনো প্ল্যানে করা যায়।
-
ওয়েবহুক এন্ডপয়েন্টের তালিকা
GET /webhooks -
ওয়েবহুক এন্ডপয়েন্ট নিবন্ধন
POST /webhooks -
ওয়েবহুক এন্ডপয়েন্ট মোছা
DELETE /webhooks/{webhook_unique} -
পরীক্ষামূলক পাঠানো
POST /webhooks/{webhook_unique}/test
ওয়েবহুক এন্ডপয়েন্টের তালিকা
আপনার নিবন্ধিত এন্ডপয়েন্টগুলো নিবন্ধনের ক্রমে পাওয়া যায় (সর্বোচ্চ 5টি; পেজিং নেই)। সাইনিং সিক্রেট এতে থাকে না। যেকোনো প্ল্যানে ব্যবহার করা যায়।
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
data[].webhook_unique |
string | এন্ডপয়েন্টের ID |
data[].url |
string | গন্তব্য URL |
data[].events |
string[] | যে ইভেন্টগুলো গ্রহণ করা হবে তাদের নাম |
data[].description |
string | null | একটি নোট |
data[].is_active |
boolean | বর্তমানে ইভেন্ট পাঠানো হচ্ছে কি না। মালিক Pro প্ল্যান বা তার উপরে থাকলে true (টিম সদস্যদের ক্ষেত্রে, টিম মালিক Team প্ল্যানে থাকলে)। false থাকাকালীন ঘটা ইভেন্ট পাঠানো হয় না |
data[].last_delivery_at |
string | null | সর্বশেষ কখন পাঠানোর চেষ্টা করা হয়েছে (পরীক্ষামূলক পাঠানো অন্তর্ভুক্ত নয়) |
data[].last_delivery_status |
string | null | সর্বশেষ পাঠানোর ফলাফল। succeeded / failed। এখনো কিছু পাঠানো না হলে null |
data[].last_response_status |
integer | null | সর্বশেষ পাঠানোয় পাওয়া HTTP স্ট্যাটাস (কোনো রেসপন্স না এলে null) |
data[].last_error |
string | null | সর্বশেষ পাঠানো কেন ব্যর্থ হয়েছে। মানগুলো পরীক্ষামূলক পাঠানোর error-এর মতোই |
data[].created_at |
string | তৈরির সময় |
curl "https://stepeee.com/public-api/v1/webhooks" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.get(
"https://stepeee.com/public-api/v1/webhooks",
headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/webhooks", {
headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/webhooks")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/webhooks"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/webhooks");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": [
{
"webhook_unique": "Xk3pQ9vLm2Ta",
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook",
"is_active": true,
"last_delivery_at": "2026-10-21T12:01:00Z",
"last_delivery_status": "failed",
"last_response_status": 503,
"last_error": "non_2xx_response",
"created_at": "2026-10-20T09:00:00Z"
}
]
}
ওয়েবহুক এন্ডপয়েন্ট নিবন্ধন
একটি এন্ডপয়েন্ট নিবন্ধন করে। রেসপন্সের secret (সাইনিং সিক্রেট) শুধু এই রেসপন্সেই ফেরত আসে, পরে এটি আবার দেখানোর কোনো উপায় নেই। হারিয়ে ফেললে এন্ডপয়েন্টটি মুছে আবার নিবন্ধন করুন। সর্বোচ্চ 5টি এন্ডপয়েন্ট নিবন্ধন করা যায়। নিবন্ধনের আগে ঘটে যাওয়া ইভেন্ট পাঠানো হয় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
url |
বডি | string | আবশ্যক | — | গন্তব্য URL (শুধু https, শুধু পোর্ট 443 (বাদ দেওয়া যায়), সর্বোচ্চ 2048 অক্ষর)। ব্যবহারকারীর নাম বা পাসওয়ার্ডসহ URL নিবন্ধন করা যায় না। অভ্যন্তরীণ বা সংরক্ষিত ঠিকানায় (প্রাইভেট IP, লুপব্যাক, লিংক-লোকাল, localhost ইত্যাদি) রেজল্ভ হওয়া URL এবং যে URL-এর নাম রেজল্ভ করা যায় না, তা নিবন্ধন করা যায় না |
events |
বডি | string[] | আবশ্যক | — | যে ইভেন্টগুলো গ্রহণ করা হবে তাদের নাম (ইভেন্টের তালিকা থেকে এক বা একাধিক, ডুপ্লিকেট ছাড়া) |
description |
বডি | string | null | ঐচ্ছিক | — | একটি নোট (সর্বোচ্চ 100 অক্ষর) |
Idempotency-Key |
হেডার | string | ঐচ্ছিক | — | প্রতিটি কাজের জন্য আপনার তৈরি করা একটি অনন্য স্ট্রিং (1–255টি প্রিন্টযোগ্য ASCII অক্ষর)। একই কী দিয়ে একই বিষয়বস্তু আবার পাঠালে প্রথম রেসপন্সটি হুবহু ফেরত আসে (সাধারণ নিয়মের Idempotency-Key দেখুন) |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
webhook_unique |
string | এন্ডপয়েন্টের ID |
url |
string | গন্তব্য URL |
events |
string[] | যে ইভেন্টগুলো গ্রহণ করা হবে তাদের নাম |
description |
string | null | একটি নোট |
is_active |
boolean | বর্তমানে ইভেন্ট পাঠানো হচ্ছে কি না। মালিক Pro প্ল্যান বা তার উপরে থাকলে true (টিম সদস্যদের ক্ষেত্রে, টিম মালিক Team প্ল্যানে থাকলে)। false থাকাকালীন ঘটা ইভেন্ট পাঠানো হয় না |
last_delivery_at |
string | null | সর্বশেষ কখন পাঠানোর চেষ্টা করা হয়েছে (পরীক্ষামূলক পাঠানো অন্তর্ভুক্ত নয়) |
last_delivery_status |
string | null | সর্বশেষ পাঠানোর ফলাফল। succeeded / failed। এখনো কিছু পাঠানো না হলে null |
last_response_status |
integer | null | সর্বশেষ পাঠানোয় পাওয়া HTTP স্ট্যাটাস (কোনো রেসপন্স না এলে null) |
last_error |
string | null | সর্বশেষ পাঠানো কেন ব্যর্থ হয়েছে। মানগুলো পরীক্ষামূলক পাঠানোর error-এর মতোই |
created_at |
string | তৈরির সময় |
secret |
string | সাইনিং সিক্রেট (whsec_ দিয়ে শুরু হয়)। শুধু এই রেসপন্সেই ফেরত আসে |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 409 | webhook_limit_reached |
আপনি ইতিমধ্যে 5টি নিবন্ধন করেছেন |
| 409 | idempotency_request_in_progress |
একই Idempotency-Key-এর একটি রিকোয়েস্ট এখনো প্রক্রিয়াধীন |
| 422 | validation_error |
ইনপুট ভুল (https নয় এমন URL, 443 ছাড়া অন্য পোর্ট, ব্যবহারকারীর নাম বা পাসওয়ার্ডসহ URL, অভ্যন্তরীণ ঠিকানায় রেজল্ভ হয় বা নাম রেজল্ভ করা যায় না এমন URL, অজানা ইভেন্টের নাম, ইভেন্টের নামে ডুপ্লিকেট ইত্যাদি) |
| 422 | idempotency_key_invalid |
Idempotency-Key 1–255টি প্রিন্টযোগ্য ASCII অক্ষর নয় |
| 422 | idempotency_key_reused |
ভিন্ন বিষয়বস্তুর রিকোয়েস্টে একই Idempotency-Key ব্যবহার করা হয়েছে |
curl -X POST "https://stepeee.com/public-api/v1/webhooks" \
-H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90" \
-d '{
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}'
import requests
body = """{
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}"""
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/webhooks",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
data=body,
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/webhooks", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
"Idempotency-Key": "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
},
body: JSON.stringify({
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}),
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/webhooks")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
request.setValue("5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90", forHTTPHeaderField: "Idempotency-Key")
request.httpBody = """
{
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}
""".data(using: .utf8)
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/webhooks"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.header("Content-Type", "application/json")
.header("Idempotency-Key", "5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}
"""))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$body = <<<'JSON'
{
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook"
}
JSON;
$ch = curl_init("https://stepeee.com/public-api/v1/webhooks");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
"Content-Type: application/json",
"Idempotency-Key: 5f0c2d8e-7a41-4c1b-9d3e-2b8f6a1c4e90",
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"webhook_unique": "Xk3pQ9vLm2Ta",
"url": "https://example.com/hooks/stepeee",
"events": ["automation.completed", "post.published"],
"description": "production hook",
"is_active": true,
"last_delivery_at": null,
"last_delivery_status": null,
"last_response_status": null,
"last_error": null,
"created_at": "2026-10-21T12:00:00Z",
"secret": "whsec_5f0c2a9e8b7d4c3a1f6e9d8c7b6a5f4e3d2c1b0a9f8e7d6c"
}
}
ওয়েবহুক এন্ডপয়েন্ট মোছা
একটি এন্ডপয়েন্ট মুছে ফেলে। যে ইভেন্ট এখনো পাঠানো হয়নি এবং আবার চেষ্টার অপেক্ষায় থাকা ইভেন্টও পাঠানো হয় না। যেকোনো প্ল্যানে ব্যবহার করা যায়।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
webhook_unique |
পাথ | string | আবশ্যক | — | এন্ডপয়েন্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
webhook_unique |
string | মুছে ফেলা এন্ডপয়েন্টের ID |
deleted |
boolean | সবসময় true |
| অবস্থা | কোড | কখন |
|---|---|---|
| 404 | not_found |
এন্ডপয়েন্টটি নেই অথবা অন্য ব্যবহারকারীর |
curl -X DELETE "https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.request(
"DELETE",
"https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta", {
method: "DELETE",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta")!)
request.httpMethod = "DELETE"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"webhook_unique": "Xk3pQ9vLm2Ta",
"deleted": true
}
}
পরীক্ষামূলক পাঠানো
একবার তাৎক্ষণিকভাবে একটি webhook.test ইভেন্ট পাঠায় এবং ফলাফল ফেরত দেয়। এটি আসল ইভেন্টের মতোই একই সাইন, হেডার ও গন্তব্য যাচাইসহ পাঠানো হয়, তাই গ্রহণকারীর দিকে সাইন যাচাই পরীক্ষা করতে এটি ব্যবহার করতে পারেন। এটি আবার চেষ্টা করা হয় না এবং last_delivery_at ও অনুরূপ ফিল্ডে নথিভুক্ত হয় না।
| নাম | অবস্থান | ধরন | আবশ্যক | ডিফল্ট | বিবরণ |
|---|---|---|---|---|---|
webhook_unique |
পাথ | string | আবশ্যক | — | এন্ডপয়েন্টের ID |
| ফিল্ড | ধরন | বিবরণ |
|---|---|---|
delivered |
boolean | 2xx রেসপন্স পাওয়া গেছে কি না |
response_status |
integer | null | পাওয়া HTTP স্ট্যাটাস (কোনো রেসপন্স না এলে null) |
error |
string | null | কেন ব্যর্থ হয়েছে। url_blocked (https নয়, 443 ছাড়া অন্য পোর্ট, ব্যবহারকারীর নাম ও পাসওয়ার্ড আছে, অথবা পাঠানোর ঠিক আগে অভ্যন্তরীণ ঠিকানায় রেজল্ভ হয়েছে বা রেজল্ভ করা যায়নি) / timeout (5 সেকেন্ডের মধ্যে কোনো রেসপন্স আসেনি) / connection_failed (সংযোগ বা TLS ব্যর্থ হয়েছে) / non_2xx_response (2xx ছাড়া অন্য রেসপন্স; রিডাইরেক্টও ব্যর্থতা হিসেবে ধরা হয় এবং অনুসরণ করা হয় না)। সফল হলে null |
| অবস্থা | কোড | কখন |
|---|---|---|
| 403 | plan_required |
API কী-এর মালিক Pro প্ল্যানের নিচে আছেন |
| 403 | team_plan_lost |
আপনি একজন টিম সদস্য এবং টিম মালিক আর Team প্ল্যানে নেই |
| 404 | not_found |
এন্ডপয়েন্টটি নেই অথবা অন্য ব্যবহারকারীর |
curl -X POST "https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test" \ -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests
response = requests.request(
"POST",
"https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test",
headers={
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test", {
method: "POST",
headers: {
"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx",
},
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test")!)
request.httpMethod = "POST"
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test"))
.header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/webhooks/Xk3pQ9vLm2Ta/test");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
{
"data": {
"delivered": false,
"response_status": 500,
"error": "non_2xx_response"
}
}
ইভেন্ট
আপনার নিবন্ধিত কোনো ইভেন্ট ঘটলে নিবন্ধিত URL-এ একটি POST পাঠানো হয়। সেই সময়ে এন্ডপয়েন্টের মালিক যেসব প্রজেক্টে অ্যাক্সেস করতে পারেন, শুধু সেগুলোর ইভেন্ট পাঠানো হয়। ইভেন্ট প্রতি মিনিটে যাচাই করা হয়, তাই পৌঁছাতে কয়েক মিনিট লাগতে পারে। এন্ডপয়েন্ট নিবন্ধনের আগে ঘটে যাওয়া ইভেন্ট এবং মালিক Pro প্ল্যানের নিচে থাকাকালীন (টিম সদস্যদের ক্ষেত্রে, টিম মালিক Team প্ল্যানে না থাকাকালীন) ঘটা ইভেন্ট পাঠানো হয় না।
| ইভেন্ট | অর্থ |
|---|---|
automation.waiting_confirmation | একটি অটোমেশন (ভিডিও, ব্লগ বা ক্যারোসেল) কনটেন্ট রিভিউয়ের অপেক্ষায় থেমে গেছে |
automation.completed | একটি অটোমেশন শেষ পর্যন্ত সম্পন্ন হয়েছে |
automation.failed | একটি অটোমেশন failed, stopped বা token_shortage (Token ফুরিয়ে গেছে) দিয়ে শেষ হয়েছে |
post.published | একটি সোশ্যাল নেটওয়ার্কে পোস্ট করা হয়েছে (ভিডিও, ব্লগ বা ক্যারোসেলের পোস্ট করার ফলাফল success হয়েছে, অথবা একটি পোস্ট (পোস্ট মোড) X-এ পোস্ট হয়েছে)। হাতে করা ও স্বয়ংক্রিয় পোস্ট দুটিই অন্তর্ভুক্ত |
post.failed | একটি পোস্ট ব্যর্থ হয়েছে (ভিডিও, ব্লগ বা ক্যারোসেলের পোস্ট করার ফলাফল failed বা partial_success হয়েছে, অথবা পোস্ট করা বা লেখা তৈরি ব্যর্থ হওয়ায় একটি পোস্ট (পোস্ট মোড) বাদ গেছে) |
post.confirm_required | অনুমোদনের অপেক্ষায় থাকা একটি পোস্ট (পোস্ট মোড) GET /post-confirms-এ এসেছে (অনুমোদন না করলে এটি পোস্ট হয় না) |
webhook.test | একটি পরীক্ষামূলক পাঠানো (POST /webhooks/{webhook_unique}/test)। এটি নিবন্ধনের জন্য ইভেন্ট হিসেবে ব্যবহার করা যায় না |
রিকোয়েস্ট বডি
বডি হলো {id, type, created_at, data}-এর JSON (UTF-8)। id হলো ইভেন্টের ID (evt_ দিয়ে শুরু হয়), type হলো ইভেন্টের নাম, আর created_at হলো ইভেন্ট কখন নথিভুক্ত হয়েছে। একই ইভেন্ট আবার পাঠানো হলে বডি একই থাকে এবং শুধু সাইনের t বদলায়। প্রতিটি ইভেন্টের data-র কাঠামো নিচে দেওয়া হলো।
| ইভেন্ট | data-র কাঠামো |
|---|---|
automation.* | GET /automations-এর data[]-এর একটি আইটেমের মতোই। automation.waiting_confirmation-এর জন্য status হয় waiting_confirmation, automation.completed-এর জন্য completed, আর automation.failed-এর জন্য failed / stopped / token_shortage |
post.publishedpost.failed | ভিডিও, ব্লগ ও ক্যারোসেল: GET /projects/{project_unique}/publications-এর data[]-এর একটি আইটেম এবং সঙ্গে project। post.failed-এর জন্য status হয় failed বা partial_success, এবং error_code-এ পোস্ট করার ফলাফলের মতোই একই ব্যর্থতার কোড থাকে। পোস্ট (পোস্ট মোড): একই কাঠামো এবং সঙ্গে schedule_unique। publication_unique হলো পোস্টের ID (লেখা তৈরি ব্যর্থ হওয়া সময়সূচির জন্য null), content.title হলো কনসেপ্টের নাম, account হয় null, এবং error_code হয় token_expired / api_error / not_found / insufficient_token / no_x_account / node_ws_timeout। স্বয়ংক্রিয় পোস্ট কি না তা বুঝতে is_automation ব্যবহার করুন |
post.confirm_required | GET /post-confirms-এর data[]-এর একটি আইটেমের মতোই, ইভেন্ট নথিভুক্ত হওয়ার সময়ের মানসহ। শুধু বিজ্ঞপ্তির (notice) পোস্টের জন্য পাঠানো হয় না। সাইন করা ইমেজ URL নথিভুক্ত করার 1 ঘণ্টা পরে মেয়াদোত্তীর্ণ হয়, তাই দেরিতে এলে GET /post-confirms দিয়ে আবার নিন। একই সময়সূচির পোস্ট আবার তৈরি হলে নতুন post_unique সহ এটি আবার আসে |
webhook.test | {"webhook_unique": "…"} |
বডির উদাহরণ
automation.failed{
"id": "evt_Q2x8Lr0aZk9MvB3pT7cYw1Nd",
"type": "automation.failed",
"created_at": "2026-10-21T12:01:03Z",
"data": {
"auto_unique": "a8Kd02LmQz",
"mode": "blogmode",
"project": { "project_unique": "Pj7Xc2Lq9W", "project_name": "My Project" },
"content": { "variation_unique": "Vb3Nq8Ls1Kd0", "title": "How to start" },
"run_no": 2,
"status": "token_shortage",
"execution_mode": "sequential",
"phases": { "setup": "done", "step1": "done", "step2": "running", "step3": "not_started" },
"template": { "setup_template_name": "Default", "automation_template_name": null },
"reserved_at": null,
"executed_at": "2026-10-21T11:40:00Z",
"completed_at": "2026-10-21T12:00:41Z",
"created_at": "2026-10-21T11:39:58Z"
}
}
post.published{
"id": "evt_7hT2mWq9Zp3LxR8cVb1Nk5Ds",
"type": "post.published",
"created_at": "2026-10-21T12:02:10Z",
"data": {
"publication_unique": "Lg4Hs9Pq2Wx7",
"mode": "moviemode",
"project": { "project_unique": "Pj7Xc2Lq9W", "project_name": "My Project" },
"content": { "variation_unique": "Mv8Kq2Zt5Rb1", "title": "5 tips" },
"platform": "youtube",
"account": { "account_unique": "Ac1Bd2Ef3Gh4", "name": "My Channel" },
"status": "success",
"post_url": "https://www.youtube.com/watch?v=xxxxxxxx",
"error_code": null,
"is_automation": true,
"posted_at": "2026-10-21T12:01:55Z",
"created_at": "2026-10-21T12:01:20Z"
}
}
post.failed{
"id": "evt_9Zq1Lm4Xc7Vb2Nk8Ds3Pt6Wr",
"type": "post.failed",
"created_at": "2026-10-21T09:00:40Z",
"data": {
"publication_unique": "Pp5Kd8Lw2Qz9",
"mode": "postmode",
"project": { "project_unique": "Pj7Xc2Lq9W", "project_name": "My Project" },
"content": { "variation_unique": "Pv4Lk9Qz2Wx6", "title": "My X concept" },
"platform": "x",
"account": null,
"status": "failed",
"post_url": null,
"error_code": "token_expired",
"is_automation": true,
"posted_at": null,
"created_at": "2026-10-20T21:00:12Z",
"schedule_unique": "Sc6Hj1Kl8Mn3"
}
}
post.confirm_required{
"id": "evt_3Kd8Lq2Wz7Xc1Vb9Nm4Pt6Rs",
"type": "post.confirm_required",
"created_at": "2026-10-19T08:15:02Z",
"data": {
"schedule_unique": "aB3dE5fG7hJ9",
"state": "upcoming",
"confirm_state": "awaiting",
"confirm_mode": "required",
"can_approve": true,
"can_post_now": false,
"can_reschedule": false,
"scheduled_at": "2026-10-19T13:00:00Z",
"scheduled_at_local": "2026-10-19T22:00:00",
"timezone": "Asia/Tokyo",
"deadline_at": "2026-10-19T13:00:00Z",
"project": { "project_unique": "Pq7Rs9Tu1V", "project_name": "My brand" },
"concept": { "concept_unique": "Cx2Yz4Wv6Ut8", "concept_name": "Morning tips" },
"variation_unique": "Vr5Ws7Xt9Yu1",
"post_unique": "Ps3Qt5Ru7Sv9",
"post_type": "knowhow",
"text": "First post of the thread",
"thread": [
{ "text": "Second post", "image": null }
],
"image": { "url": "https://...", "expires_at": "2026-10-19T09:15:02Z" }
}
}
webhook.test{
"id": "evt_Q2x8Lr0aZk9MvB3pT7cYw1Nd",
"type": "webhook.test",
"created_at": "2026-10-21T12:00:00Z",
"data": { "webhook_unique": "Xk3pQ9vLm2Ta" }
}
রিকোয়েস্ট হেডার
| হেডার | বিবরণ |
|---|---|
Content-Type: application/json | বডির ফরম্যাট |
Stepeee-Signature: t=1792584000,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd | সাইন। t হলো পাঠানোর সময় (UNIX সেকেন্ড) এবং v1 হলো সাইন (হেক্সাডেসিমালে HMAC-SHA256)। কীভাবে যাচাই করতে হয় তা জানতে নিচের সাইন যাচাই দেখুন |
Stepeee-Event-Id: evt_Q2x8Lr0aZk9MvB3pT7cYw1Nd | ইভেন্টের ID (বডির id-এর মতোই)। আবার পাঠানোর সময় এটি বদলায় না, তাই ডুপ্লিকেট বাদ দিতে এটি ব্যবহার করুন |
Stepeee-Event-Type: automation.failed | ইভেন্টের নাম (বডির type-এর মতোই) |
User-Agent: Stepeee-Webhooks/1.0 | প্রেরক |
সাইন যাচাই
আপনার পাওয়া বডি Stepeee পাঠিয়েছে এবং এতে কোনো পরিবর্তন হয়নি, তা নিশ্চিত করতে নিচের উপায়ে সাইন যাচাই করুন।
- Stepeee-Signature হেডারকে "," দিয়ে ভাগ করুন এবং t= এর মান (UNIX সেকেন্ড) ও v1= এর মান (64টি হেক্সাডেসিমাল অক্ষর) নিন।
- পাওয়া বডিকে কাঁচা (raw) বাইট হিসেবে ব্যবহার করে (JSON পার্স করে আবার তৈরি করবেন না), t-এর মান, "." এবং বডি জুড়ে একটি স্ট্রিং তৈরি করুন।
- নিবন্ধনের সময় পাওয়া secret-কে (whsec_সহ পুরো মান) কী হিসেবে ব্যবহার করে HMAC-SHA256 গণনা করুন এবং ছোট হাতের হেক্সাডেসিমাল হিসেবে এনকোড করুন।
- গণনা করা মানটিকে এমন তুলনা দিয়ে v1-এর সঙ্গে মেলান যার সময় বিষয়বস্তুর উপর নির্ভর করে না (যেমন Python-এ hmac.compare_digest বা PHP-তে hash_equals)। না মিললে 400 বা অনুরূপ কিছু ফেরত দিন এবং এটি প্রক্রিয়া করবেন না।
- পুরোনো রিকোয়েস্টের পুনরায় পাঠানো (রিপ্লে) ঠেকাতে, যে রিকোয়েস্টের t বর্তমান সময় থেকে 5 মিনিট বা তার বেশি আলাদা, তা প্রত্যাখ্যান করার পরামর্শ দেওয়া হয়।
- আপনি যে ইভেন্ট ইতিমধ্যে প্রক্রিয়া করেছেন তা বাদ দিতে বডির id ব্যবহার করুন।
যাচাইয়ের কোডের উদাহরণ
import hmac, hashlib, time
def verify(body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
t, v1 = parts.get("t"), parts.get("v1")
if not t or not v1 or abs(time.time() - int(t)) > tolerance:
return False
expected = hmac.new(secret.encode(), f"{t}.".encode() + body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, v1)
# Flask: verify(request.get_data(), request.headers["Stepeee-Signature"], SECRET)
const crypto = require("crypto");
function verify(rawBody, header, secret, toleranceSec = 300) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=", 2)));
const t = parts.t, v1 = parts.v1;
if (!t || !v1 || Math.abs(Date.now() / 1000 - Number(t)) > toleranceSec) return false;
const expected = crypto.createHmac("sha256", secret).update(`${t}.`).update(rawBody).digest("hex");
return v1.length === expected.length && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
}
// Express: receive the body as raw bytes with express.raw()
app.post("/hooks/stepeee", express.raw({ type: "application/json" }), (req, res) => {
if (!verify(req.body, req.get("Stepeee-Signature"), process.env.STEPEEE_WEBHOOK_SECRET)) return res.sendStatus(400);
const event = JSON.parse(req.body.toString("utf8"));
res.sendStatus(200);
});
function verifyStepeeeSignature(string $body, string $header, string $secret, int $tolerance = 300): bool
{
$parts = [];
foreach (explode(',', $header) as $part) {
[$k, $v] = array_pad(explode('=', $part, 2), 2, '');
$parts[$k] = $v;
}
if (! isset($parts['t'], $parts['v1']) || abs(time() - (int) $parts['t']) > $tolerance) {
return false;
}
$expected = hash_hmac('sha256', $parts['t'].'.'.$body, $secret);
return hash_equals($expected, $parts['v1']);
}
$ok = verifyStepeeeSignature(file_get_contents('php://input'), $_SERVER['HTTP_STEPEEE_SIGNATURE'] ?? '', $secret);
# BODY: raw request body, T: t from Stepeee-Signature, SECRET: whsec_...
printf '%s.%s' "$T" "$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex | awk '{print $NF}'
# The signature is valid if the output equals v1
সফলতার শর্ত ও আবার চেষ্টা
5 সেকেন্ডের মধ্যে 2xx ফেরত দিলে ইভেন্টটিকে পৌঁছে গেছে ধরা হয়। রেসপন্সের বডি পড়া হয় না এবং রিডাইরেক্ট অনুসরণ করা হয় না। 2xx ছাড়া অন্য রেসপন্স, টাইমআউট ও সংযোগ ব্যর্থতায় আবার চেষ্টা করা হয়, প্রথমটিসহ সর্বোচ্চ 8 বার পাঠানো হয়। পরের পাঠানোর আগের ব্যবধান হলো 1 মিনিট → 5 মিনিট → 30 মিনিট → 2 ঘণ্টা → 4 ঘণ্টা → 6 ঘণ্টা → 10 ঘণ্টা, এবং 8 বারই ব্যর্থ হলে ইভেন্টটি আর পাঠানো হয় না। পাঠানোর সময় মালিক Pro প্ল্যানের নিচে থাকলে (টিম সদস্যদের ক্ষেত্রে, টিম মালিক Team প্ল্যানে না থাকলে) ইভেন্ট পাঠানো হয় না। পাঠানোর সময় মালিক প্রজেক্টে আর অ্যাক্সেস করতে না পারলে (টিম ছেড়ে গেলে, অনুমতি সরিয়ে নেওয়া হলে, বা প্রজেক্ট মুছে ফেলা হলে)ও পাঠানো হয় না।
2xx না পাওয়া পর্যন্ত একই ইভেন্ট আবার পাঠানো হয় বলে একই ইভেন্ট দুবার বা তার বেশি আসতে পারে। Stepeee-Event-Id (বডির id) দিয়ে ডুপ্লিকেট বাদ দিন। পৌঁছানোর ক্রমের নিশ্চয়তা নেই। 2xx ফেরত দেওয়ার পর ভারী প্রক্রিয়া করুন।
গন্তব্যের শর্ত
গন্তব্য অবশ্যই https URL হতে হবে এবং পোর্ট 443-এ সীমাবদ্ধ। ব্যবহারকারীর নাম বা পাসওয়ার্ডসহ URL-ও নিবন্ধন করা যায় না। অভ্যন্তরীণ বা সংরক্ষিত ঠিকানায় (প্রাইভেট IP, লুপব্যাক, লিংক-লোকাল, localhost ইত্যাদি) রেজল্ভ হওয়া URL এবং যে URL-এর নাম রেজল্ভ করা যায় না, তা নিবন্ধন করা যায় না। পাঠানোর ঠিক আগেও নাম রেজল্ভ করে যাচাই করা হয়, এবং অভ্যন্তরীণ ঠিকানায় রেজল্ভ হলে না পাঠিয়েই url_blocked হিসেবে ব্যর্থ হয়।