Stepeee Stepeee पूर्णतः स्वचालित AI प्लेटफ़ॉर्म

कनेक्शन तरीका

1

अपनी API कुंजी जांचें

इसे ऊपर दाईं ओर मेनू > सेटिंग्स > खाता > API कुंजी से देखा जा सकता है।

2

रिक्वेस्ट हेडर में जोड़ें

जारी की गई API कुंजी को Authorization हेडर में Bearer फ़ॉर्मेट में जोड़ें।

3

बेस 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;

रिस्पॉन्स फ़ॉर्मेट और त्रुटियाँ

सभी रिस्पॉन्स निम्न envelope फ़ॉर्मेट में लौटाए जाते हैं।

सफलता पर

{ "data": ... }

त्रुटि पर

{ "error": { "code": "...", "message": "...", "details": { ... } } }

स्टेटस कोड

स्टेटसअर्थ
401API कुंजी नहीं है, अमान्य है या रद्द की जा चुकी है
403इस रिक्वेस्ट के लिए आपके पास अनुमति नहीं है (उदाहरण के लिए, Pro प्लान से नीचे के खाते की API कुंजी से Pro प्लान या उससे ऊपर वाले एंडपॉइंट को कॉल करना, या टीम के स्टाफ सदस्य द्वारा टीम के टोकन उपयोग का अनुरोध करना)
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 (जारी होने के एक घंटे बाद) बीत जाने पर काम नहीं करते। उपयोग जारी रखने के लिए समय सीमा से पहले फ़ाइल डाउनलोड करके सहेज लें, या API को दोबारा कॉल करके नया URL प्राप्त करें। सार्वजनिक पर सेट की गई फ़ाइलें बिना समय सीमा वाले URL का उपयोग करती हैं, और उनके लिए expires_at का मान null होता है।

मानों के प्रकार

status और platform जैसे मान इस पेज पर दी गई अंग्रेज़ी छोटे अक्षरों की स्ट्रिंग के रूप में लौटाए जाते हैं। भविष्य में सुविधाएँ जुड़ने पर नए मान जोड़े जा सकते हैं, इसलिए ऐसा लागू करें कि कोई अज्ञात मान मिलने पर भी आपकी प्रोसेसिंग न रुके।

राशियाँ

राशियाँ मुद्रा की सबसे छोटी इकाई में पूर्णांक होती हैं (USD के लिए सेंट, JPY के लिए येन)। मुद्रा currency में ISO 4217 के छोटे अक्षरों में दी जाती है (usd, jpy आदि)।

राइट रिक्वेस्ट (Pro प्लान)

GET के अलावा अन्य मेथड से टाइटल जोड़ना, कंटेंट हटाना, ऑटोमेशन शुरू करना, पोस्ट स्वीकृत करना और Webhook पंजीकृत करना जैसी कार्रवाइयाँ की जा सकती हैं। प्रत्येक कार्रवाई ऐप में वही कार्रवाई करने पर चलने वाली प्रक्रिया के समान है, और वही नियम लागू होते हैं। राइट रिक्वेस्ट तभी उपलब्ध हैं जब API कुंजी का स्वामी Pro प्लान या उससे ऊपर हो; Pro प्लान से नीचे वे 403 plan_required लौटाते हैं। यदि टीम का ओनर अब Team प्लान पर नहीं है, तो टीम के सदस्यों को 403 team_plan_lost मिलता है। हालाँकि, ऑटोमेशन रोकना, Webhook की सूची देखना और हटाना, तथा समीक्षा की प्रतीक्षा कर रही पोस्ट की सूची देखना किसी भी प्लान में उपलब्ध हैं (ताकि प्लान बदलने के बाद भी चल रहे ऑटोमेशन और सूचनाएँ रोकी जा सकें)। कुछ बनाने पर 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 के अलावा अन्य मेथड) पर प्रति मिनट 120 रिक्वेस्ट की सीमा के अतिरिक्त, प्रत्येक API कुंजी के लिए प्रति मिनट अधिकतम 30 रिक्वेस्ट की सीमा भी है। सीमा पार होने पर 429 rate_limited लौटता है, और Retry-After में दोबारा प्रयास करने तक के सेकंड होते हैं। राइट रिक्वेस्ट के रिस्पॉन्स हेडर X-RateLimit-Limit और X-RateLimit-Remaining में दोनों सीमाओं में से उस सीमा का मान होता है जिसमें कम रिक्वेस्ट शेष हैं।

त्रुटि कोड

त्रुटि होने पर error.code में त्रुटि का प्रकार और error.message में अंग्रेज़ी में विवरण होता है। कोई भी एंडपॉइंट जो कोड लौटा सकता है, वे नीचे दिए गए हैं। किसी एंडपॉइंट के विशिष्ट कोड (जैसे title_limit_reached) उस एंडपॉइंट की त्रुटि तालिका में दिए गए हैं। प्रोग्राम में त्रुटियों को पहचानने के लिए error.code का उपयोग करें।

कोडअर्थ
unauthorizedAPI कुंजी नहीं है, अमान्य है या रद्द की जा चुकी है (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_invalidIdempotency-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 कुंजी के स्वामी के खाते की जानकारी। आप प्लान, टोकन बैलेंस, उपयोग, स्टोरेज, भुगतान और रेफ़रल प्रोग्राम की स्थिति प्राप्त कर सकते हैं।

GET › /me

खाते की जानकारी

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"
  }
}
GET › /me/subscription

सदस्यता

आपके वर्तमान प्लान की स्थिति, बिलिंग अवधि, निर्धारित रद्दीकरण (यदि कोई हो) और निर्धारित प्लान परिवर्तन (यदि कोई हो) प्राप्त करता है। टीम के सदस्यों को टीम के ओनर की सदस्यता मिलती है।

रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
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"
    }
  }
}
GET › /me/tokens

टोकन बैलेंस

आपके उपलब्ध टोकन का बैलेंस प्राप्त करता है। टीम में यह टीम द्वारा साझा किया गया बैलेंस और आपको आवंटित कोटा लौटाता है।

रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
balance integer बैलेंस
reserved integer चल रही प्रक्रियाओं के लिए रोकी गई मात्रा
available integer अभी उपयोग की जा सकने वाली मात्रा (बैलेंस में से रोकी गई मात्रा घटाकर)
wallet string personal (आपका अपना बैलेंस) / team (टीम द्वारा साझा किया गया बैलेंस)
team_quota object | null टीम के ओनर द्वारा सेट किया गया आपका कोटा। जब आप अपने निजी बैलेंस का उपयोग करते हैं और टीम के ओनर के लिए null
team_quota.unlimited boolean कोटा असीमित है या नहीं
team_quota.view_only boolean केवल देख सकते हैं और टोकन का उपयोग नहीं कर सकते या नहीं
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_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
    }
  }
}
GET › /me/token-usage

टोकन उपयोग

दिन या महीने के अनुसार टोकन का उपयोग और जोड़े गए टोकन प्राप्त करता है। उपयोग एक-एक दिन के हिसाब से जोड़ा जाता है, और पिछले दिन का उपयोग UTC 2:45 के आसपास दर्शाया जाता है (आज का उपयोग शामिल नहीं है)। खरीद और बोनस से जोड़े गए टोकन तुरंत दर्शाए जाते हैं।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 प्रकार के अनुसार उपयोग (text / image / video / audio आदि)
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 टीम के टोकन का उपयोग करने वाला स्टाफ सदस्य (टीम के टोकन उपयोग का इतिहास केवल टीम के ओनर और एडमिन प्राप्त कर सकते हैं)
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
  }
}
GET › /me/storage

स्टोरेज

स्टोरेज का उपयोग, क्षमता और फ़ाइल प्रकार के अनुसार विवरण प्राप्त करता है। टीम में यह टीम द्वारा साझा किया गया स्टोरेज लौटाता है।

रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
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 }
    ]
  }
}
GET › /me/payments

भुगतान इतिहास

प्लान शुल्क और टोकन खरीद जैसे भुगतान नवीनतम पहले क्रम में प्राप्त करता है। इसका उपयोग भुगतानों को अपने अकाउंटिंग सिस्टम में आयात करने के लिए किया जा सकता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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_regular (टोकन खरीद) / 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 }
}
GET › /me/referral

रेफ़रल प्रोग्राम

आपका रेफ़रल कोड और आपके रेफ़रल तथा पुरस्कारों की स्थिति प्राप्त करता है।

रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
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 अब तक प्राप्त टोकन
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

प्रोजेक्ट सूची

आपकी पहुँच में आने वाले प्रोजेक्ट नवीनतम पहले क्रम में प्राप्त करता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 }
}
GET › /projects/{project_unique}

प्रोजेक्ट का विवरण

एक प्रोजेक्ट का विवरण प्राप्त करता है, जिसमें प्रत्येक मोड के कॉन्सेप्ट और टाइटल की संख्या तथा प्रगति के अनुसार कंटेंट की संख्या शामिल होती है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 }
      }
    }
  }
}
GET › /projects/{project_unique}/concepts

कॉन्सेप्ट सूची

प्रोजेक्ट के कॉन्सेप्ट सभी मोड में, नवीनतम पहले क्रम में प्राप्त करता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 }
}
GET › /projects/{project_unique}/concepts/{concept_unique}

कॉन्सेप्ट का विवरण

एक कॉन्सेप्ट का विवरण प्राप्त करता है। वीडियो, ब्लॉग और कैरोसेल कॉन्सेप्ट में टाइटल की सूची शामिल होती है, और पोस्ट (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

कंटेंट सूची

प्रोजेक्ट का कंटेंट (वीडियो, ब्लॉग, कैरोसेल और पोस्ट) सभी मोड में प्राप्त करता है। आप प्रगति, प्रकाशन भाषा, पोस्ट हुआ है या नहीं आदि के आधार पर फ़िल्टर कर सकते हैं।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 पूरा हुआ Step (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 }
}
GET › /projects/{project_unique}/contents/{variation_unique}

कंटेंट का विवरण

एक कंटेंट का विवरण प्राप्त करता है। 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"] }
    }
  }
}
GET › /projects/{project_unique}/contents/{variation_unique}/schedule

पोस्टिंग शेड्यूल

पोस्ट (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 (टोकन अपर्याप्त) / 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 और Webhook पर पोस्टिंग के परिणाम तथा प्रोजेक्ट से जुड़े गंतव्यों की स्थिति प्राप्त करें। इसका उपयोग टूटे हुए कनेक्शन वाले अकाउंट का पता लगाने के लिए किया जा सकता है।

GET › /projects/{project_unique}/publications

पोस्टिंग परिणाम

प्रोजेक्ट के पोस्टिंग परिणाम सभी मोड और गंतव्यों में, नवीनतम पहले क्रम में प्राप्त करता है। पोस्ट (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 }
}
GET › /projects/{project_unique}/accounts

जुड़े हुए गंतव्य

प्रोजेक्ट से जुड़े गंतव्य (सोशल नेटवर्क अकाउंट, WordPress और Webhook) और उनकी स्थिति प्राप्त करता है। 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 के लिए साइट का नाम, और Webhook के लिए गंतव्य 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
    }
  ]
}

ऑटोमेशन

वीडियो, ब्लॉग और कैरोसेल ऑटोमेशन की प्रगति प्राप्त करें। पोस्ट ऑटोमेशन (पोस्ट मोड) की स्थिति के लिए कंटेंट शेड्यूल का उपयोग करें।

GET › /automations

ऑटोमेशन रन

वीडियो, ब्लॉग और कैरोसेल के ऑटोमेशन रन (निर्धारित, चल रहे, समीक्षा की प्रतीक्षा में और समाप्त) नवीनतम पहले क्रम में प्राप्त करता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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 (टोकन समाप्त होने के कारण समाप्त)
data[].execution_mode string sequential (एक-एक करके) / parallel (सभी एक साथ)
data[].phases object प्रत्येक चरण की स्थिति {setup, step1, step2, step3}। not_started / running (चल रहा है, या वह चरण जहाँ रुका) / done (स्किप किए गए चरण सहित, और 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 }
}
GET › /automations/{auto_unique}

ऑटोमेशन रन का विवरण

ऑटोमेशन के एक रन का विवरण और प्रत्येक चरण की प्रगति प्राप्त करता है। रन के दौरान प्रगति जाँचने के लिए इसका उपयोग किया जा सकता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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_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}। Webhook के लिए 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 }
  }
}

सामग्री और टेम्पलेट

My Materials (छवियाँ, वीडियो और BGM) तथा सेटअप और ऑटोमेशन टेम्पलेट प्राप्त करें।

GET › /materials

सामग्री सूची

My Materials (छवियाँ, वीडियो और 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 }
}
GET › /materials/{material_unique}

सामग्री का विवरण

एक सामग्री प्राप्त करता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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"
  }
}
GET › /material-categories

सामग्री श्रेणियाँ

सामग्री की श्रेणियाँ और प्रत्येक श्रेणी में सामग्री की संख्या प्राप्त करता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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
    }
  ]
}
GET › /templates

टेम्पलेट सूची

सेटअप टेम्पलेट और ऑटोमेशन टेम्पलेट, हाल ही में अपडेट किए गए पहले क्रम में प्राप्त करता है। टीम में यह टीम द्वारा साझा किए गए टेम्पलेट लौटाता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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

टाइटल जोड़ें

वीडियो, ब्लॉग या कैरोसेल कॉन्सेप्ट में एक साथ कई टाइटल जोड़ता है और प्रत्येक टाइटल के लिए पहला कंटेंट बनाता है (ऐप में टाइटल को मैन्युअल रूप से जोड़ने जैसी ही प्रक्रिया)। जिन टाइटल का नाम उसी कॉन्सेप्ट में पहले से मौजूद है, और जो नाम उसी रिक्वेस्ट में दूसरी बार या उसके बाद आते हैं, वे बनाए नहीं जाते और 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 › /projects/{project_unique}/contents/{variation_unique}

कंटेंट हटाएँ

वीडियो, ब्लॉग या कैरोसेल कंटेंट हटाता है (ऐप में कंटेंट हटाने जैसी ही प्रक्रिया)। हटाया गया कंटेंट तुरंत सूचियों और विवरण से गायब हो जाता है, और 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

ऑटोमेशन शुरू करें

ऑटोमेशन टेम्पलेट की सेटिंग से कंटेंट (वीडियो, ब्लॉग या कैरोसेल) के ऑटोमेशन शुरू करता है। 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 (टोकन समाप्त होने के कारण समाप्त)
data[].execution_mode string sequential (एक-एक करके) / parallel (सभी एक साथ)
data[].phases object प्रत्येक चरण की स्थिति {setup, step1, step2, step3}। not_started / running (चल रहा है, या वह चरण जहाँ रुका) / done (स्किप किए गए चरण सहित, और 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"
    }
  ]
}
PATCH › /automations/{auto_unique}

निर्धारित समय बदलें

रन की प्रतीक्षा में मौजूद ऑटोमेशन (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 (टोकन समाप्त होने के कारण समाप्त)
execution_mode string sequential (एक-एक करके) / parallel (सभी एक साथ)
phases object प्रत्येक चरण की स्थिति {setup, step1, step2, step3}। not_started / running (चल रहा है, या वह चरण जहाँ रुका) / done (स्किप किए गए चरण सहित, और 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"
  }
}
POST › /automations/{auto_unique}/stop

ऑटोमेशन रोकें

यह ऐप में रोकने जैसी ही कार्रवाई है। किसी भी प्लान में उपलब्ध है (ताकि प्लान बदलने के बाद भी इसे रोका जा सके)। रन की प्रतीक्षा में (निर्धारित सहित) या समीक्षा की प्रतीक्षा में मौजूद ऑटोमेशन तुरंत 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 (टोकन समाप्त होने के कारण समाप्त)
execution_mode string sequential (एक-एक करके) / parallel (सभी एक साथ)
phases object प्रत्येक चरण की स्थिति {setup, step1, step2, step3}। not_started / running (चल रहा है, या वह चरण जहाँ रुका) / done (स्किप किए गए चरण सहित, और 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"
  }
}
POST › /automations/{auto_unique}/confirm

समीक्षा की प्रतीक्षा वाले ऑटोमेशन को स्वीकृत करें

कंटेंट की समीक्षा की प्रतीक्षा में रुके हुए ऑटोमेशन (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 (टोकन समाप्त होने के कारण समाप्त)
execution_mode string sequential (एक-एक करके) / parallel (सभी एक साथ)
phases object प्रत्येक चरण की स्थिति {setup, step1, step2, step3}। not_started / running (चल रहा है, या वह चरण जहाँ रुका) / done (स्किप किए गए चरण सहित, और 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

समीक्षा की प्रतीक्षा वाली पोस्ट

उन पोस्ट को प्राप्त करता है जिनके लिए समीक्षा ईमेल भेजा गया था और जो अपने निर्धारित समय से पहले (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} (हस्ताक्षरित URL जो 1 घंटे में समाप्त हो जाता है)। न होने पर 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 }
}
POST › /post-schedules/{schedule_unique}/approve

पोस्ट स्वीकृत करें

स्वीकृति की प्रतीक्षा वाली पोस्ट (upcoming, जिसकी confirm_state awaiting है) को स्वीकृत करता है। स्वीकृत पोस्ट अपने निर्धारित समय पर पोस्ट की जाती हैं। निर्धारित समय बीत चुकी पोस्ट के लिए तुरंत पोस्ट करें या समय बदलें का उपयोग करें।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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
  }
}
POST › /post-schedules/{schedule_unique}/post-now

समय सीमा समाप्त हो चुकी पोस्ट अभी पोस्ट करें

समय सीमा समाप्त हो चुकी पोस्ट को अभी से 1 मिनट बाद पोस्ट होने के लिए सेट करता है और उसे स्वीकृत चिह्नित करता है (यह शीघ्र ही पोस्ट हो जाएगी)। थ्रेड की दूसरी और बाद की पोस्ट उतने ही समय से आगे खिसक जाती हैं। केवल समय सीमा समाप्त हो चुकी पोस्ट के लिए उपयोग किया जा सकता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
schedule_unique पाथ string अनिवार्य — निर्धारित पोस्ट की ID (GET /post-confirms का schedule_unique)
allow_close_slot बॉडी boolean वैकल्पिक false यदि उसी कंटेंट की अन्य निर्धारित पोस्ट के साथ अंतर न्यूनतम अंतर (90 मिनट) से कम हो जाए, तब भी आगे बढ़ना हो तो true
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
  }
}
PATCH › /post-schedules/{schedule_unique}

समय सीमा समाप्त हो चुकी पोस्ट का समय बदलें

समय सीमा समाप्त हो चुकी पोस्ट का निर्धारित समय बदलता है और उसे स्वीकृत चिह्नित करता है (यह निर्दिष्ट समय पर पोस्ट होगी)। थ्रेड की दूसरी और बाद की पोस्ट उतने ही समय से आगे खिसक जाती हैं। केवल समय सीमा समाप्त हो चुकी पोस्ट का समय बदला जा सकता है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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; सेकंड छोड़े जा सकते हैं और सेकंड के अंश काट दिए जाते हैं)। इसे पोस्ट की timezone के समय में बदलकर सहेजा जाता है
allow_close_slot बॉडी boolean वैकल्पिक false यदि उसी कंटेंट की अन्य निर्धारित पोस्ट के साथ अंतर न्यूनतम अंतर (90 मिनट) से कम हो जाए, तब भी आगे बढ़ना हो तो true
रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
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
  }
}
DELETE › /post-schedules/{schedule_unique}

पोस्ट रद्द करें

पोस्ट रद्द करता है (चाहे वह निर्धारित समय से पहले की हो या समय सीमा समाप्त हो चुकी हो)। पोस्ट, थ्रेड की दूसरी और बाद की पोस्ट, तथा शेड्यूल सभी हटा दिए जाते हैं। इसे पूर्ववत नहीं किया जा सकता।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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
  }
}

Webhook

ऑटोमेशन और पोस्टिंग के इवेंट आपके द्वारा पंजीकृत URL पर JSON के रूप में भेजता है। बार-बार API को कॉल किए बिना पूर्णता, विफलता और समीक्षा की जानकारी पाने के लिए इसका उपयोग करें। पंजीकरण और भेजने का परीक्षण Pro प्लान या उससे ऊपर में, तथा सूची देखना और हटाना किसी भी प्लान में उपलब्ध हैं।

GET › /webhooks

Webhook एंडपॉइंट की सूची

आपके पंजीकृत एंडपॉइंट पंजीकरण के क्रम में प्राप्त करता है (अधिकतम 5; पेजिंग नहीं)। हस्ताक्षर सीक्रेट शामिल नहीं होता। किसी भी प्लान में उपलब्ध है।

रिस्पॉन्स फ़ील्ड
फ़ील्डप्रकारविवरण
data[].webhook_unique string एंडपॉइंट की ID
data[].url string गंतव्य URL
data[].events string[] प्राप्त किए जाने वाले इवेंट के नाम
data[].description string | null टिप्पणी
data[].is_active boolean अभी इवेंट भेजे जा रहे हैं या नहीं। जब स्वामी Pro प्लान या उससे ऊपर हो (टीम के सदस्यों के लिए, जब टीम का ओनर Team प्लान पर हो) तब true। 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"
    }
  ]
}
POST › /webhooks

Webhook एंडपॉइंट पंजीकृत करें

एक एंडपॉइंट पंजीकृत करता है। रिस्पॉन्स में दिया गया secret (हस्ताक्षर सीक्रेट) केवल इसी रिस्पॉन्स में लौटाया जाता है, और बाद में इसे दिखाने का कोई तरीका नहीं है। यदि आप इसे खो दें, तो एंडपॉइंट हटाकर उसे दोबारा पंजीकृत करें। आप अधिकतम 5 एंडपॉइंट पंजीकृत कर सकते हैं। पंजीकरण से पहले हुए इवेंट नहीं भेजे जाते।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
url बॉडी string अनिवार्य — गंतव्य URL (केवल https, केवल पोर्ट 443 (छोड़ा जा सकता है), अधिकतम 2048 वर्ण)। उपयोगकर्ता नाम या पासवर्ड वाले URL पंजीकृत नहीं किए जा सकते। जो URL आंतरिक या आरक्षित पतों (प्राइवेट IP, लूपबैक, लिंक-लोकल, localhost आदि) पर रिज़ॉल्व होते हैं और जिन 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 प्लान या उससे ऊपर हो (टीम के सदस्यों के लिए, जब टीम का ओनर Team प्लान पर हो) तब true। 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"
  }
}
DELETE › /webhooks/{webhook_unique}

Webhook एंडपॉइंट हटाएँ

एक एंडपॉइंट हटाता है। जो इवेंट अभी भेजे नहीं गए हैं और जो पुनः प्रयास की प्रतीक्षा में हैं, वे भी नहीं भेजे जाते। किसी भी प्लान में उपलब्ध है।

पैरामीटर
नाम स्थान प्रकार अनिवार्य डिफ़ॉल्ट विवरण
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
  }
}
POST › /webhooks/{webhook_unique}/test

भेजने का परीक्षण करें

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.published
post.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_requiredGET /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 द्वारा भेजी गई है और उसमें बदलाव नहीं किया गया है, हस्ताक्षर को इस प्रकार सत्यापित करें।

  1. Stepeee-Signature हेडर को "," पर विभाजित करें और t= का मान (UNIX सेकंड) तथा v1= का मान (64 हेक्साडेसिमल वर्ण) लें।
  2. प्राप्त बॉडी को कच्चे बाइट के रूप में उपयोग करते हुए (JSON को पार्स करके दोबारा न बनाएँ), t का मान, "." और बॉडी को जोड़कर एक स्ट्रिंग बनाएँ।
  3. पंजीकरण के समय मिले secret (whsec_ सहित पूरा मान) को कुंजी बनाकर HMAC-SHA256 की गणना करें और उसे छोटे अक्षरों वाले हेक्साडेसिमल में एन्कोड करें।
  4. गणना किए गए मान की तुलना v1 से ऐसी तुलना के साथ करें जिसका समय सामग्री पर निर्भर नहीं करता (जैसे Python में hmac.compare_digest या PHP में hash_equals)। यदि वे मेल नहीं खाते, तो 400 या उसी प्रकार का कोई कोड लौटाएँ और उसे प्रोसेस न करें।
  5. पुराने रिक्वेस्ट के दोबारा भेजे जाने (रीप्ले) से बचने के लिए, उन रिक्वेस्ट को अस्वीकार करने की सिफ़ारिश की जाती है जिनका t वर्तमान समय से 5 मिनट या उससे अधिक अलग हो।
  6. जो इवेंट पहले ही प्रोसेस हो चुके हैं उन्हें छोड़ने के लिए बॉडी के 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 भी पंजीकृत नहीं किए जा सकते। जो URL आंतरिक या आरक्षित पतों (प्राइवेट IP, लूपबैक, लिंक-लोकल, localhost आदि) पर रिज़ॉल्व होते हैं और जिन URL का नाम रिज़ॉल्व नहीं हो सकता, वे पंजीकृत नहीं किए जा सकते। भेजने से ठीक पहले भी नाम को रिज़ॉल्व करके जाँचा जाता है, और यदि वह किसी आंतरिक पते पर रिज़ॉल्व होता है, तो भेजना url_blocked के रूप में विफल हो जाता है और कुछ नहीं भेजा जाता।