워크플로우 상태 저장

다단계 워크플로우의 중간 상태를 저장합니다. - 로그인한 사용자만 사용 가능 (IsAuthenticated) - 시간당 100회 제한 (Rate Limiting) - state_data 최대 크기: 10KB - 같은 프로세스가 진행 중이면 기존 상태를 업데이트 - TTL(만료 시간)은 1시간 ~ 7일 사이로 설정 가능

Authentication

AuthorizationBearer

Send a JWT access token with the Authorization header as Bearer <token>.

Request

This endpoint expects an object.
process_typeenumRequired
* `onboarding` - ONBOARDING * `invite` - INVITE * `course_creation` - COURSE_CREATION * `profile_setup` - PROFILE_SETUP * `schedule_availability` - SCHEDULE_AVAILABILITY
Allowed values:
state_dataanyRequired
ttl_hoursintegerOptional1-168Defaults to 24
reset_ttlbooleanOptionalDefaults to true

Response

워크플로우 상태가 성공적으로 저장됨

state_idinteger or null
user_idstringformat: "uuid"
process_typestring
statusstring or null
state_dataany or null
schema_versioninteger or null
expires_atdatetime or null
created_atdatetime or null

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
413
Content Too Large Error
429
Too Many Requests Error