Stepeee Stepeee AI 전자동 플랫폼

연결 방법

1

API 키 확인하기

오른쪽 상단 메뉴 > 설정 > 계정 > API 키에서 확인할 수 있습니다.

2

요청 헤더에 추가하기

발급받은 API 키를 Authorization 헤더에 Bearer 형식으로 추가합니다.

3

기본 URL로 요청하기

아래 기본 URL에 엔드포인트 경로를 이어 붙여 요청합니다.

API 키는 계정당 1개입니다. 키를 변경하면 이전 키는 즉시 사용할 수 없게 됩니다. 키가 제3자에게 알려지지 않도록 관리해 주세요.

기본 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 플랜 이상이 필요한 작업을 Pro 플랜 미만 계정의 API 키로 호출한 경우, 팀 스태프가 팀의 Token 사용 내역을 조회한 경우 등)
404리소스가 존재하지 않습니다(접근 권한이 없는 경우도 포함됩니다)
405이 경로에서는 사용할 수 없는 HTTP 메서드입니다
409현재 상태에서는 이 작업을 할 수 없습니다(자동화가 실행 중인 콘텐츠의 삭제, 같은 Idempotency-Key의 요청을 처리 중인 경우 등). 이유는 error.code로 판별해 주세요
422파라미터가 올바르지 않거나 받아들일 수 없는 내용입니다. validation_error일 때는 error.details에 파라미터별 이유가 들어갑니다
429요청 제한(레이트 리밋)을 초과했습니다
500예기치 못한 오류가 발생했습니다
503처리를 시작할 수 없었습니다(자동화 실행의 시작에 실패한 경우 등). 잠시 후 다시 시도해 주세요

공통 사양

조회・조작할 수 있는 범위

API 키 소유자가 화면에서 볼 수 있는 것과 같은 범위를 조회하고 조작할 수 있습니다. 자신의 프로젝트 외에도 Team 플랜에서는 팀의 소유자와 관리자는 팀의 모든 프로젝트를, 스태프는 권한이 부여된 프로젝트를 조회하고 조작할 수 있습니다. 범위 밖의 리소스는 존재하지 않는 경우와 마찬가지로 404가 됩니다.

삭제한 데이터

삭제한 프로젝트・콘셉트・제목・콘텐츠・소재는 완전히 삭제되기까지의 기간을 포함하여 반환하지 않습니다. 제목이나 콘셉트를 삭제한 경우, 그 아래의 콘텐츠도 반환하지 않습니다.

페이지네이션

목록은 page(1부터)와 per_page(1~100, 기본값 20)로 가져올 범위를 지정합니다. meta에 총 건수(total)・현재 페이지(current_page)・페이지당 건수(per_page)・마지막 페이지(last_page)가 들어갑니다.

날짜와 시각

응답의 날짜와 시각은 모두 UTC의 ISO 8601 형식(예: 2026-10-21T09:30:00Z)입니다. 파라미터 from / to는 날짜(2026-10-21), 날짜와 시각(2026-10-21T09:30:00), 시차가 있는 날짜와 시각(2026-10-21T18:30:00+09:00)을 받으며, 시차가 없는 값은 UTC로 처리합니다. from은 해당 시각을 포함하고, to에 날짜만 지정한 경우에는 그날의 끝(23:59:59)까지 포함합니다.

ID

리소스는 project_unique・variation_unique와 같은 영숫자의 공개 ID로 지정합니다. ID는 바뀌지 않습니다.

파일 URL

이미지・동영상・음성의 URL은 {url, expires_at} 형태로 반환합니다. 비공개 파일은 서명된 URL이며, expires_at(발급 후 1시간)이 지나면 사용할 수 없습니다. 계속 사용하려면 기한 내에 다운로드하여 저장하거나, 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 키당 1분에 120건의 요청까지 가능합니다(쓰기에는 이와 별도로 아래의 쓰기 요청 제한이 있습니다). 응답 헤더의 X-RateLimit-Limit(상한)과 X-RateLimit-Remaining(남은 횟수)으로 확인할 수 있습니다. 초과하면 429가 반환되며, Retry-After에 재시도할 수 있을 때까지의 초 수가 들어갑니다.

쓰기 요청 제한

쓰기(GET 이외의 메서드)는 1분에 120건의 요청 제한에 더해, API 키당 1분에 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_requiredPro 플랜 이상이 필요한 작업(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_requiredIdempotency-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 키 소유자의 계정 정보입니다. 플랜・Token 잔액・사용량・스토리지・결제・친구 추천 프로그램의 현황을 조회할 수 있습니다.

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 동영상 제목 1건당 콘텐츠 수
limits.blogmode_variations_per_title integer | null 블로그 제목 1건당 콘텐츠 수
limits.carouselmode_variations_per_title integer | null 캐러셀 제목 1건당 콘텐츠 수
limits.postmode_variations_per_concept integer | null 게시물 콘셉트 1건당 콘텐츠 수
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 예약 생성에서 1회에 지정할 수 있는 제목과 콘텐츠의 수
limits.schedule_variation_create_max integer 예약 생성에서 1회에 만들 수 있는 콘텐츠 수
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

Token 잔액

사용할 수 있는 Token의 잔액을 조회합니다. 팀에서는 팀에서 공유하고 있는 잔액과 자신에게 할당된 사용 한도를 반환합니다.

응답 항목
항목유형설명
balance integer 잔액
reserved integer 실행 중인 처리를 위해 확보되어 있는 양
available integer 지금 사용할 수 있는 양(잔액에서 확보 중인 양을 뺀 값)
wallet string personal(자신의 잔액) / team(팀에서 공유하는 잔액)
team_quota object | null 팀 소유자가 설정한 자신의 사용 한도. 개인 잔액을 사용하는 경우와 팀 소유자는 null
team_quota.unlimited boolean 사용 한도가 무제한인지
team_quota.view_only boolean 열람만 가능하고 Token을 사용할 수 없는지
team_quota.budget integer | null 기간별 상한(null은 무제한, 0은 열람만 가능)
team_quota.used integer 현재 기간에 사용한 양
team_quota.available integer | null 현재 기간에 남아 있는 양(무제한이면 null)
team_quota.period string | null 상한의 기간. day / week / month(상한이 없는 경우 null)
team_quota.next_reset_at string | null 사용량이 초기화되는 일시
auto_purchase.enabled boolean 잔액이 적어졌을 때의 자동 구매가 켜져 있는지
auto_purchase.plan string | null 자동 구매하는 Token의 종류(예: token_100). 꺼져 있으면 null
auto_purchase.threshold integer 잔액이 이 값을 밑돌면 자동으로 구매합니다
요청 예시
curl "https://stepeee.com/public-api/v1/me/tokens" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/me/tokens",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/tokens", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/tokens")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/me/tokens"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/tokens");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": {
    "balance": 90000,
    "reserved": 1200,
    "available": 88800,
    "wallet": "team",
    "team_quota": {
      "unlimited": false,
      "view_only": false,
      "budget": 10000,
      "used": 2500,
      "available": 7500,
      "period": "week",
      "next_reset_at": "2026-10-26T00:00:00Z"
    },
    "auto_purchase": {
      "enabled": true,
      "plan": "token_100",
      "threshold": 5000
    }
  }
}
GET › /me/token-usage

Token 사용량

Token의 사용량과 추가량을 일별・월별로 조회합니다. 사용량은 1일 단위로 집계되며, 전날 분은 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 팀의 Token을 사용하는 스태프(팀의 Token 사용 내역은 소유자와 관리자만 조회할 수 있습니다)
422 validation_error 기간이 366일을 초과하거나, to가 from보다 앞이거나, 날짜로 읽을 수 없거나, group_by가 day / month 이외임
요청 예시
curl "https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/token-usage?from=2026-10-01&to=2026-10-20&group_by=day");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": [
    {
      "period": "2026-10-18",
      "consumed": 450,
      "added": 0,
      "consumed_by_type": { "image": 300, "text": 150 },
      "added_by_type": {}
    },
    {
      "period": "2026-10-20",
      "consumed": 1000,
      "added": 4800,
      "consumed_by_type": { "video": 1000 },
      "added_by_type": { "purchase": 5000, "referral_revoke": -200 }
    }
  ],
  "meta": {
    "from": "2026-10-01",
    "to": "2026-10-20",
    "group_by": "day",
    "total_consumed": 1450,
    "total_added": 4800
  }
}
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

결제 내역

플랜 요금이나 Token 구매 등의 결제를 최신순으로 조회합니다. 회계 시스템으로 가져올 때 사용할 수 있습니다.

파라미터
이름 위치 유형 필수 기본값 설명
status 쿼리 string 선택 — 결제 상태로 좁혀서 조회합니다(쉼표로 구분). succeeded / refunded / partially_refunded. 생략하면 모두
type 쿼리 string 선택 — 결제 종류로 좁혀서 조회합니다(쉼표로 구분). 값은 data[].type과 같습니다
from 쿼리 string 선택 — 생성 일시가 이 일시 이후인 것만 반환합니다
to 쿼리 string 선택 — 생성 일시가 이 일시 이전인 것만 반환합니다
page 쿼리 integer 선택 1 조회할 페이지(1부터)
per_page 쿼리 integer 선택 20 페이지당 건수(1~100)
응답 항목
항목유형설명
data[].payment_unique string 결제의 ID
data[].type string 종류. token_first_time(첫 Token 구매) / token_regular(Token 구매) / subscription_vault・subscription_plus・subscription_pro・subscription_team(각 플랜의 요금)
data[].description string 결제 이름(영어)
data[].status string 상태. succeeded(결제 완료) / refunded(전액 환불) / partially_refunded(일부 환불)
data[].currency string 통화(ISO 4217의 소문자)
data[].amount_subtotal integer 세금 제외 금액(최소 단위)
data[].tax_amount integer 세액(최소 단위)
data[].amount_total integer 세금 포함 금액(최소 단위)
data[].line_items[] object 명세. type(base_plan: 플랜 요금 / storage_addon: 스토리지 추가 / extra_member: 추가 멤버)・quantity(수량)・amount(금액)・description(설명. 없으면 null)
data[].receipt_url string | null 영수증의 URL(Stripe). 발급 후 며칠이 지나면 열리지 않을 수 있습니다
data[].invoice_pdf_url string | null 청구서 PDF의 URL(Stripe). 발급 후 며칠이 지나면 열리지 않을 수 있습니다
data[].created_at string 결제 일시
meta.total integer 조건에 맞는 총 건수
meta.current_page integer 현재 페이지
meta.per_page integer 1페이지의 건수
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(Token). 추천 코드가 없는 경우 null
clicks integer 추천 URL이 열린 횟수
signups integer 추천을 통해 가입한 인원 수
conversions integer 추천을 통해 유료 플랜을 계약한 인원 수
earned object 지금까지 확정된 보상 {amount(최소 단위), currency}
earned_tokens integer 지금까지 받은 Token
pending object 확정 대기 중인 보상 {amount, currency}
available object 수령을 신청할 수 있는 보상 {amount, currency}
요청 예시
curl "https://stepeee.com/public-api/v1/me/referral" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/me/referral",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/me/referral", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/me/referral")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/me/referral"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/me/referral");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": {
    "code": "REFk5m2j8x9ab",
    "referral_url": "https://stepeee.com?ref=REFk5m2j8x9ab",
    "is_active": true,
    "reward_type": "cash",
    "clicks": 12,
    "signups": 4,
    "conversions": 2,
    "earned": { "amount": 1300, "currency": "usd" },
    "earned_tokens": 0,
    "pending": { "amount": 300, "currency": "usd" },
    "available": { "amount": 800, "currency": "usd" }
  }
}

프로젝트

프로젝트와 그 안의 콘셉트・제목 구성을 조회합니다.

GET › /projects

프로젝트 목록

조회할 수 있는 프로젝트를 최신순으로 조회합니다.

파라미터
이름 위치 유형 필수 기본값 설명
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 1페이지의 건수
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}

프로젝트 상세

프로젝트 1건의 상세 정보와 모드별 콘셉트 수・제목 수・진행 상황별 콘텐츠 수를 조회합니다.

파라미터
이름 위치 유형 필수 기본값 설명
project_unique 경로 string 필수 — 프로젝트의 ID
응답 항목
항목유형설명
project_unique string 프로젝트의 ID
project_name string 프로젝트 이름
description string | null 프로젝트 설명
access_level string 자신의 권한. owner(자신의 프로젝트) / admin(팀 소유자・관리자로서 모든 권한) / edit(팀에서 편집 권한을 부여받음)
team object | null 팀의 프로젝트이면 팀, 자신만의 프로젝트이면 null
team.team_unique string 팀의 ID
is_readonly boolean 플랜 다운그레이드로 상한을 초과하여 열람 전용이 되었는지(업그레이드하면 해제됩니다)
readonly_since string | null 열람 전용이 된 일시
created_at string 생성 일시
updated_at string 업데이트 일시
scope string 대상 지역. global(지정 없음) / region(특정 국가 대상)
scope_region string | null 대상 국가(ISO 3166-1 alpha-2. 예: JP). global이면 null
counts.{mode}.concepts integer 모드(moviemode / blogmode / carouselmode / postmode)별 콘셉트 수
counts.{mode}.titles integer | null 제목 수(postmode는 제목이 없으므로 null)
counts.{mode}.contents object 콘텐츠 수 {total(합계), not_started(미착수), in_progress(제작 중), complete(완성)}
오류
상태코드발생 조건
404 not_found 프로젝트가 없거나 조회할 수 있는 범위 밖임(Project not found.)
요청 예시
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": {
    "project_unique": "a1b2c3d4e5",
    "project_name": "Sample Project",
    "description": "Sample project description",
    "access_level": "owner",
    "team": null,
    "is_readonly": false,
    "readonly_since": null,
    "created_at": "2026-01-10T09:00:00Z",
    "updated_at": "2026-10-01T12:00:00Z",
    "scope": "region",
    "scope_region": "JP",
    "counts": {
      "moviemode": {
        "concepts": 2,
        "titles": 5,
        "contents": { "total": 8, "not_started": 1, "in_progress": 3, "complete": 4 }
      },
      "blogmode": {
        "concepts": 1,
        "titles": 3,
        "contents": { "total": 3, "not_started": 0, "in_progress": 1, "complete": 2 }
      },
      "carouselmode": {
        "concepts": 0,
        "titles": 0,
        "contents": { "total": 0, "not_started": 0, "in_progress": 0, "complete": 0 }
      },
      "postmode": {
        "concepts": 1,
        "titles": null,
        "contents": { "total": 1, "not_started": 0, "in_progress": 1, "complete": 0 }
      }
    }
  }
}
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 1페이지의 건수
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}

콘셉트 상세

콘셉트 1건의 상세 정보를 조회합니다. 동영상・블로그・캐러셀은 제목 목록을, 게시물(postmode)은 게시자의 인물상과 게시 규칙을 포함합니다.

파라미터
이름 위치 유형 필수 기본값 설명
project_unique 경로 string 필수 — 프로젝트의 ID
concept_unique 경로 string 필수 — 콘셉트의 ID
응답 항목
항목유형설명
concept_unique / mode / concept_name / title_count / content_count / created_at / updated_at — 콘셉트 목록과 같음
description string | null 콘셉트 설명
scope string 대상 지역. global(지정 없음) / region(특정 국가 대상)
scope_region string | null 대상 국가(ISO 3166-1 alpha-2. 예: JP). global이면 null
default_template_unique string | null 새 콘텐츠에 사용하는 설정 템플릿(템플릿 목록의 template_unique). 미설정이거나 postmode이면 null
titles array | null 제목 목록(최신순). postmode는 null
titles[].title_unique string 제목의 ID
titles[].title_name string 제목
titles[].article_type string | null 종류. moviemode는 standard(일반) / news(뉴스), blogmode는 standard / news / promotion(상품 소개). carouselmode는 null
titles[].content_count integer 해당 제목의 콘텐츠 수
persona object | null 게시자의 인물상(postmode만. 만들지 않았으면 null)
persona.persona_unique string 인물상의 ID
persona.gender string 성별. male / female / undisclosed(비공개)
persona.generation string 연령대. 10s / 20s / 30s / 40s / 50s / 60s_plus
persona.region string | null 문화권의 국가 코드
persona.keywords object 인물상의 키워드. occupation(직업)・industry(업계)・residence(거주지)・workstyle(근무 방식)・household(가구)・personality(성격)는 문자열, interest(관심)・expertise(전문 분야)는 문자열의 배열입니다. 설정한 것만 들어갑니다
persona.description string 인물상 문장
persona.casual_description string | null 일상 게시물에 사용하는 인물상 문장(없으면 null)
persona.taboos array 게시물에서 피할 것
persona.timezone_mode string 시간대를 정하는 방법. auto(지역에서 결정. 지역이 없으면 게시 언어에서 결정) / specify(지정한 시간대)
persona.timezone string | null 게시 스케줄에 사용하는 시간대(IANA 형식). 게시 규칙이 만들어지지 않아 정할 수 없는 경우 null
rule object | null 게시 규칙(postmode만. 만들지 않았으면 null)
rule.rule_unique string 게시 규칙의 ID
rule.language string 게시물의 언어
rule.formality string 말투. very_casual(반말) / casual(캐주얼) / normal(보통) / polite(공손) / honorific(존댓말)
rule.emoji string 이모지. never(사용하지 않음) / sometimes(가끔 사용) / often(자주 사용) / always(항상 사용)
rule.line_break string 줄바꿈의 많고 적음. none(없음) / moderate(적당) / frequent(많음)
rule.post_type_share object 게시물 유형의 배분(%). assertion(주장) / knowhow(노하우) / experience(경험) / casual(일상)
오류
상태코드발생 조건
404 not_found 프로젝트가 없거나 조회할 수 있는 범위 밖임(Project not found.)
404 not_found 콘셉트가 없음(Concept not found.)
요청 예시
curl "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/projects/a1b2c3d4e5/concepts/pC7d2KqLx01m");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": {
    "concept_unique": "pC7d2KqLx01m",
    "mode": "postmode",
    "concept_name": "SaaS growth tips",
    "title_count": null,
    "content_count": 1,
    "created_at": "2026-10-02T09:00:00Z",
    "updated_at": "2026-10-02T09:00:00Z",
    "description": "Practical growth tips for SaaS founders",
    "scope": "global",
    "scope_region": null,
    "default_template_unique": null,
    "titles": null,
    "persona": {
      "persona_unique": "aV3kQ9mN2pRt",
      "gender": "female",
      "generation": "30s",
      "region": "JP",
      "keywords": { "occupation": "SaaS marketer", "interest": ["growth", "analytics"] },
      "description": "A B2B SaaS marketer with ten years of experience...",
      "casual_description": null,
      "taboos": ["politics"],
      "timezone_mode": "auto",
      "timezone": "Asia/Tokyo",
      "updated_at": "2026-10-02T09:10:00Z"
    },
    "rule": {
      "rule_unique": "rU5tW7yZ9aBc",
      "language": "ja",
      "formality": "polite",
      "emoji": "sometimes",
      "line_break": "moderate",
      "post_type_share": { "assertion": 40, "knowhow": 30, "experience": 20, "casual": 10 },
      "updated_at": "2026-10-02T09:20:00Z"
    }
  }
}

콘텐츠

동영상・블로그・캐러셀・게시물의 콘텐츠를 모드에 걸쳐 조회합니다. 상세의 package에는 각 SNS나 사이트에 게시되는 내용(본문・이미지・동영상・캡션)이 들어 있어, 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 1페이지의 건수
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}

콘텐츠 상세

콘텐츠 1건의 상세 정보를 조회합니다. package에는 각 게시처에 실제로 게시되는 내용(Stepeee에서 게시할 때와 같은 것)이 들어갑니다. 게시물(postmode)의 게시물 목록은 스케줄로 조회합니다.

파라미터
이름 위치 유형 필수 기본값 설명
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은 발급 후 1시간 유효) / 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}. 세로형 동영상(쇼츠)은 썸네일을 설정하지 않으므로 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의 게시물 문장. 2건 이상은 스레드로 순서대로 게시됩니다
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(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" }
}

게시 결과・연동처

SNS・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 1페이지의 건수
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

연동처 목록

프로젝트에 연동된 게시처(SNS 계정・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 표시 이름. SNS는 계정 이름, WordPress는 사이트 이름, Webhook은 전송처 URL의 도메인(https://example.com/… 형태. 경로는 포함하지 않습니다)
data[].image_url string | null 계정 아이콘 이미지의 URL(SNS만)
data[].status string 상태. active(사용 가능) / expired(연동 기한 만료. 다시 연동 필요) / connection_error(WordPress에 연결할 수 없음)
data[].token_expires_at string | null 연동의 유효 기한(SNS만)
data[].connected_at string | null 연동한 일시
data[].last_used_at string | null 마지막으로 게시에 사용한 일시(SNS만)
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(Token 부족으로 종료)
data[].execution_mode string sequential(1건씩 실행) / 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 1페이지의 건수
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}

자동화 실행 상세

자동화 실행 1건의 상세 정보와 단계별 진행 상황을 조회합니다. 실행 중인 진행 상황을 확인할 때 사용할 수 있습니다.

파라미터
이름 위치 유형 필수 기본값 설명
auto_unique 경로 string 필수 — 자동화 실행의 ID
응답 항목
항목유형설명
auto_unique / mode / … / created_at — 자동화 실행 목록과 같음
steps[].key string 단계의 이름(예: step1_1_text)
steps[].phase string 단계의 구분. setup / step1 / step2 / step3
steps[].status string 단계의 상태. not_run(미실행・대상 외・실행 중) / success(성공) / error(실패) / skipped(건너뜀)
steps[].started_at string | null 실행 중인 단계가 시작된 일시(끝나면 null)
steps[].finished_at string | null 단계가 끝난 일시
steps[].duration_sec number | null 소요된 초 수(success / error일 때)
steps[].error_code string | null 실패 이유. internal_error / automation_record_not_found / automation_stopped_by_admin / insufficient_token(Token 부족) / token_group_blocked(팀 사용 한도 도달) / automation_auth_error(게시처 인증 오류) / automation_not_found / automation_conflict / automation_rate_limited(게시처 횟수 제한) / automation_server_error(게시처 오류) / automation_network_error(통신 오류) / automation_step_failed. 이유가 기록되어 있지 않으면 null
accounts[] object 시작 시점의 게시처 {platform, account_unique, name}. 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 소재(이미지・영상・BGM)와 설정・자동화 템플릿을 조회합니다.

GET › /materials

소재 목록

MY 소재(이미지・영상・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 1페이지의 건수
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}

소재 상세

소재 1건을 조회합니다.

파라미터
이름 위치 유형 필수 기본값 설명
material_unique 경로 string 필수 — 소재의 ID
응답 항목
항목유형설명
material_unique string 소재의 ID
kind string 종류. image(이미지) / video(영상) / bgm
type string 용도. image_element(엘리먼트) / image_vertical(세로) / image_horizontal(가로) / reference_person(참조 이미지: 인물) / reference_background(참조 이미지: 배경) / reference_layout(참조 이미지: 레이아웃) / reference_cta(참조 이미지: CTA) / reference_pet(참조 이미지: 반려동물) / reference_product(참조 이미지: 상품・서비스) / image_rulebook(룰북) / image_promotion(프로모션) / video_vertical(세로 영상) / video_horizontal(가로 영상) / bgm
category object | null 카테고리 {category_unique, name}(미분류이면 null)
width / height integer | null 가로와 세로(픽셀). BGM과 미측정은 null
duration_ms integer | null 길이(밀리초). 이미지는 null
size_bytes integer 파일 크기(바이트). 공유 소재를 참조하는 경우 0일 수 있습니다
file object 파일 본체 {url, expires_at}
thumbnail object | null 썸네일 {url, expires_at}. BGM・엘리먼트・썸네일 생성 중에는 null
created_at string 생성 일시
오류
상태코드발생 조건
404 not_found 소재가 없거나 조회할 수 있는 범위 밖임(Material not found.)
요청 예시
curl "https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ" \
  -H "Authorization: Bearer sk_xxxxxxxxxxxxxxxx"
import requests

response = requests.get(
    "https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ",
    headers={"Authorization": "Bearer sk_xxxxxxxxxxxxxxxx"},
)
print(response.json())
const response = await fetch("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ", {
  headers: { Authorization: "Bearer sk_xxxxxxxxxxxxxxxx" },
});
const data = await response.json();
console.log(data);
var request = URLRequest(url: URL(string: "https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ")!)
request.setValue("Bearer sk_xxxxxxxxxxxxxxxx", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ"))
    .header("Authorization", "Bearer sk_xxxxxxxxxxxxxxxx")
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
$ch = curl_init("https://stepeee.com/public-api/v1/materials/aB3dE5fG7hJ9kL1mN3pQ");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Authorization: Bearer sk_xxxxxxxxxxxxxxxx",
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo $response;
응답 예시
{
  "data": {
    "material_unique": "aB3dE5fG7hJ9kL1mN3pQ",
    "kind": "image",
    "type": "image_vertical",
    "category": { "category_unique": "Xy12Ab34Cd", "name": "Product shots" },
    "width": 768,
    "height": 1344,
    "duration_ms": null,
    "size_bytes": 1234567,
    "file": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
    "thumbnail": { "url": "https://...", "expires_at": "2026-10-21T11:00:00Z" },
    "created_at": "2026-10-01T10:00:00Z"
  }
}
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 1페이지의 건수
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

제목 추가하기

동영상・블로그・캐러셀 콘셉트에 제목을 한꺼번에 추가하고, 제목마다 첫 번째 콘텐츠를 1건 만듭니다(화면에서 제목을 수동으로 등록했을 때와 같은 처리). 같은 콘셉트에 같은 이름의 제목이 있는 것, 같은 요청 안에서 2번째 이후에 나오는 이름은 만들지 않고 skipped에 넣습니다. 콘셉트의 제목은 100건까지이며, 추가하면 100건을 넘는 경우에는 1건도 만들지 않습니다(같은 이름이라 만들지 않는 것은 세지 않습니다). 플랜의 콘텐츠 수 상한 때문에 만들 수 없을 때는 제목만 만들고 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(같은 콘셉트에 같은 이름의 제목이 있거나, 같은 요청 안에서 2번째 이후에 나옴)
오류
상태코드발생 조건
403 plan_required API 키 소유자가 Pro 플랜 미만임
403 team_plan_lost 팀 멤버이며, 팀 소유자가 Team 플랜이 아니게 됨
403 readonly 프로젝트가 플랜 다운그레이드로 열람 전용임
404 not_found 프로젝트가 없거나 조회할 수 있는 범위 밖이거나, 콘셉트가 해당 프로젝트에 없음
409 title_limit_reached 추가하면 콘셉트의 제목이 100건을 넘음(1건도 만들지 않습니다). 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일 후)이 지나면 생성된 이미지・음성・동영상과 함께 완전히 삭제됩니다. 같은 제목에서 뒤에 있는 콘텐츠의 번호는 하나씩 앞당겨집니다. 자동화가 실행 중이거나 예약 중인 콘텐츠는 삭제할 수 없으므로, 자동화를 중지한 후 삭제해 주세요. 제목에 남은 마지막 1건과 게시물(포스트 모드)의 콘텐츠는 삭제할 수 없습니다.

파라미터
이름 위치 유형 필수 기본값 설명
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 제목에 남은 마지막 1건
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을 지정하면 예약, 생략하면 바로 실행합니다. 대상은 모두 같은 프로젝트・같은 모드의 콘텐츠로 해 주세요. 시작할 수 없는 콘텐츠가 1건이라도 있으면 아무것도 등록하지 않고, 어떤 콘텐츠가 어떤 이유로 시작할 수 없는지를 반환합니다. 이미 만들어진 단계는 건너뛰고 처음으로 만들어지지 않은 단계부터 실행하며, 자동화 템플릿에서 건너뛰기로 한 단계는 실행하지 않습니다. 설정이 완료되지 않은 콘텐츠는 시작할 때 설정을 확정합니다. 자동화 실행에서는 Token을 소비합니다. 시작할 때는 잔액을 확인하지 않으며, 실행 중에 부족해지면 token_shortage로 종료됩니다. 내용 확인이 필요한 설정에서는 도중에 waiting_confirmation으로 멈추므로, POST /automations/{auto_unique}/confirm으로 승인해 주세요. 게시물(포스트 모드)의 자동 게시는 콘텐츠별로 화면에서 켜고 끄는 별도의 방식이며, 이 엔드포인트로는 시작할 수 없습니다.

파라미터
이름 위치 유형 필수 기본값 설명
variation_uniques 본문 string[] 필수 — 자동화할 콘텐츠의 variation_unique. 1~50건, 중복 불가
automation_template_unique 본문 string 필수 — 자동화 템플릿의 ID(GET /templates?kind=automation의 template_unique. 콘텐츠와 같은 모드의 것)
reserved_at 본문 string 선택 — 실행할 일시(미래의 일시). 시차가 있는 ISO 8601로 지정하며, 시차가 없는 값은 UTC로 처리합니다. 생략하면 바로 실행합니다
Idempotency-Key 헤더 string 필수 — 작업마다 만든 고유한 문자열(1~255자의 출력 가능한 ASCII). 이중으로 시작하지 않도록 필수입니다. 같은 키로 같은 내용을 다시 보내면 최초의 응답을 그대로 반환합니다(공통 사양의 Idempotency-Key를 참조)
응답 항목
항목유형설명
data[].auto_unique string 자동화 실행의 ID
data[].mode string moviemode / blogmode / carouselmode
data[].project object 프로젝트 {project_unique, project_name}
data[].content.variation_unique string 콘텐츠의 ID
data[].content.title string | null 제목(postmode는 콘셉트 이름)
data[].run_no integer 해당 콘텐츠에서 몇 번째 실행인지
data[].status string 상태. pending(실행 대기. reserved_at이 미래이면 예약) / executing(실행 중) / waiting_confirmation(내용 확인 대기. 확인하면 이어서 실행) / completed(완료) / failed(실패) / stopped(중지) / token_shortage(Token 부족으로 종료)
data[].execution_mode string sequential(1건씩 실행) / 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(캐러셀이며, 프로젝트에 레이아웃 템플릿이 1개도 없음)
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(Token 부족으로 종료)
execution_mode string sequential(1건씩 실행) / 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가 됩니다. 실행 중인 자동화는 중지를 요청하며, 응답 시점에는 executing 그대로이고 실행 중인 단계의 구분점에서 stopped가 됩니다(GET /automations/{auto_unique}로 확인해 주세요). 이미 종료된 자동화는 아무것도 하지 않고 현재 상태를 그대로 반환합니다.

파라미터
이름 위치 유형 필수 기본값 설명
auto_unique 경로 string 필수 — 자동화 실행의 ID
응답 항목
항목유형설명
auto_unique string 자동화 실행의 ID
mode string moviemode / blogmode / carouselmode
project object 프로젝트 {project_unique, project_name}
content.variation_unique string 콘텐츠의 ID
content.title string | null 제목(postmode는 콘셉트 이름)
run_no integer 해당 콘텐츠에서 몇 번째 실행인지
status string 상태. pending(실행 대기. reserved_at이 미래이면 예약) / executing(실행 중) / waiting_confirmation(내용 확인 대기. 확인하면 이어서 실행) / completed(완료) / failed(실패) / stopped(중지) / token_shortage(Token 부족으로 종료)
execution_mode string sequential(1건씩 실행) / 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)로 멈춰 있는 자동화에 대해, 콘텐츠의 내용을 확인 완료로 처리하고 이어지는 작업(SNS용 문장 작성・게시 등)을 실행합니다. 화면에서 내용을 확인했을 때와 같은 작업입니다. 성공하면 자동화는 pending으로 돌아가며 바로 실행이 시작됩니다.

파라미터
이름 위치 유형 필수 기본값 설명
auto_unique 경로 string 필수 — 자동화 실행의 ID
Idempotency-Key 헤더 string 선택 — 작업마다 만든 고유한 문자열(1~255자의 출력 가능한 ASCII). 같은 키로 같은 내용을 다시 보내면 최초의 응답을 그대로 반환합니다(공통 사양의 Idempotency-Key를 참조)
응답 항목
항목유형설명
auto_unique string 자동화 실행의 ID
mode string moviemode / blogmode / carouselmode
project object 프로젝트 {project_unique, project_name}
content.variation_unique string 콘텐츠의 ID
content.title string | null 제목(postmode는 콘셉트 이름)
run_no integer 해당 콘텐츠에서 몇 번째 실행인지
status string 상태. pending(실행 대기. reserved_at이 미래이면 예약) / executing(실행 중) / waiting_confirmation(내용 확인 대기. 확인하면 이어서 실행) / completed(완료) / failed(실패) / stopped(중지) / token_shortage(Token 부족으로 종료)
execution_mode string sequential(1건씩 실행) / 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"
  }
}

게시물 확인

게시물(포스트 모드) 자동화에서 게시 전 확인을 필수・선택으로 한 콘텐츠의 게시물을 승인・즉시 게시・일시 변경・취소합니다. 화면의 확인 대기 목록이나 확인 메일의 링크 대상과 같은 게시물이 대상이며, 같은 규칙으로 동작합니다. 목록은 플랜과 관계없이 사용할 수 있고, 조작은 Pro 플랜 이상에서 사용할 수 있습니다.

GET › /post-confirms

확인 대기 중인 게시물 목록

확인 메일을 보낸 게시물 중 예정 시각 전(upcoming)과 기한 만료(expired)인 것을 예정 시각이 가까운 순으로 조회합니다. upcoming은 승인 대기(awaiting. 승인하지 않으면 게시되지 않음)와 알림만 보내는 것(notice. 그대로 게시됨)의 게시물입니다. expired는 승인되지 않은 채 예정 시각이 지나 게시되지 않은 게시물이며, 예정 시각으로부터 30일 동안만 반환합니다. 스레드는 첫 게시물을 1건으로 반환하고, 2번째 이후는 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 스레드의 2번째 이후 게시물 {text, image}(순서대로. 스레드가 아니면 빈 배열)
data[].image object | null 첨부하는 이미지 {url, expires_at}(서명된 URL. 1시간 후 만료). 없으면 null
meta.total integer 조건에 맞는 총 건수
meta.current_page integer 현재 페이지
meta.per_page integer 1페이지의 건수
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 — 확인 대기 중인 게시물 목록의 1건과 같음(작업 후의 상태)
오류
상태코드발생 조건
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 승인 대기가 아님(알림만 보내는 notice 게시물 등)
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

기한이 만료된 게시물을 즉시 게시하기

기한이 만료된(expired) 게시물을 지금부터 1분 후로 예정하여 승인 완료로 처리합니다(곧 게시됩니다). 스레드의 2번째 이후 게시물도 같은 만큼 시각을 늦춥니다. 기한이 만료된 게시물에만 사용할 수 있습니다.

파라미터
이름 위치 유형 필수 기본값 설명
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 — 확인 대기 중인 게시물 목록의 1건과 같음(작업 후의 상태)
오류
상태코드발생 조건
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}

기한이 만료된 게시물의 일시 변경하기

기한이 만료된(expired) 게시물의 예정 일시를 변경하여 승인 완료로 처리합니다(지정한 일시에 게시됩니다). 스레드의 2번째 이후 게시물도 같은 만큼 시각을 늦춥니다. 일시를 변경할 수 있는 것은 기한이 만료된 게시물뿐입니다.

파라미터
이름 위치 유형 필수 기본값 설명
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 — 확인 대기 중인 게시물 목록의 1건과 같음(작업 후의 상태)
오류
상태코드발생 조건
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}

게시물 취소하기

게시물을 취소합니다(예정 시각 전이든 기한 만료든). 게시물・스레드의 2번째 이후 게시물・예약을 한꺼번에 삭제합니다. 되돌릴 수 없습니다.

파라미터
이름 위치 유형 필수 기본값 설명
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 게시 중(스레드의 2번째 이후 게시물 포함)이라 취소할 수 없음
요청 예시
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

수신처 목록

등록한 수신처를 등록한 순서대로 조회합니다(최대 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

수신처 등록하기

수신처를 등록합니다. 응답의 secret(서명용 시크릿)은 이 응답에서만 반환하며, 나중에 표시할 방법은 없습니다. 잃어버린 경우에는 수신처를 삭제하고 다시 등록해 주세요. 등록할 수 있는 것은 5개까지입니다. 등록하기 전에 일어난 일은 보내지 않습니다.

파라미터
이름 위치 유형 필수 기본값 설명
url 본문 string 필수 — 전송처 URL(https만, 포트는 443번만(생략 가능), 2048자 이내). 사용자 이름・비밀번호를 포함한 URL은 등록할 수 없습니다. 내부・예약된 주소(사설 IP・루프백・링크 로컬・localhost 등)로 해석되는 URL과 이름을 해석할 수 없는 URL은 등록할 수 없습니다
events 본문 string[] 필수 — 수신할 이벤트 이름(이벤트 목록에서 1개 이상, 중복 불가)
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_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 이벤트를 그 자리에서 1회 보내고 결과를 반환합니다. 실제와 같은 서명・헤더・전송처 검사로 보내므로, 받는 쪽의 서명 검증을 확인할 때 사용할 수 있습니다. 재시도는 하지 않으며 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합니다. 보내는 것은 수신처 소유자가 그 시점에 조회할 수 있는 프로젝트의 일뿐입니다. 이벤트는 1분마다 확인하므로 도착하기까지 몇 분 걸릴 수 있습니다. 수신처를 등록하기 전의 일과, 소유자가 Pro 플랜 미만인 동안(팀 멤버는 팀 소유자가 Team 플랜이 아닌 동안)의 일은 보내지 않습니다.

이벤트의미
automation.waiting_confirmation자동화(동영상・블로그・캐러셀)가 내용 확인 대기로 멈춤
automation.completed자동화가 끝까지 완료됨
automation.failed자동화가 실패(failed)・중지(stopped)・Token 부족(token_shortage)으로 종료됨
post.publishedSNS에 게시함(동영상・블로그・캐러셀의 게시 결과가 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[] 1건과 같은 형태. status는 automation.waiting_confirmation이면 waiting_confirmation, automation.completed이면 completed, automation.failed이면 failed / stopped / token_shortage
post.published
post.failed
동영상・블로그・캐러셀: GET /projects/{project_unique}/publications의 data[] 1건에 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[] 1건과 같은 형태이며, 이벤트를 기록한 시점의 값입니다. 알림만 보내는(notice) 게시물에서는 보내지 않습니다. image의 서명된 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의 16진수)입니다. 검증 방법은 아래의 서명 검증을 확인하세요
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=의 값(16진수 64자)을 꺼냅니다.
  2. 받은 본문을 바이트열 그대로 사용하여(JSON을 읽어 들여 다시 만들지 않음), t의 값・「.」・본문을 이어 붙인 문자열을 만듭니다.
  3. 등록할 때 받은 secret(whsec_를 포함한 전체)을 키로 HMAC-SHA256을 계산하여 소문자 16진수로 만듭니다.
  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를 받을 때까지 같은 이벤트를 다시 보내므로, 같은 이벤트가 2회 이상 도착할 수 있습니다. Stepeee-Event-Id(본문의 id)로 중복을 제거해 주세요. 도착하는 순서는 보장하지 않습니다. 무거운 처리는 2xx를 반환한 뒤에 해 주세요.

전송처 조건

전송처는 https URL만 가능하며, 포트는 443으로 한정됩니다. 사용자 이름・비밀번호를 포함한 URL도 등록할 수 없습니다. 내부・예약된 주소(사설 IP・루프백・링크 로컬・localhost 등)로 해석되는 URL과 이름을 해석할 수 없는 URL은 등록할 수 없습니다. 보내기 직전에도 이름을 해석하여 확인하며, 내부 주소로 해석된 경우에는 보내지 않고 url_blocked로 실패 처리합니다.