メインコンテンツへスキップ
POST
/
automate_workflows
/
{workflow_id}
/
start
cURL
curl -i -X POST "https://api.box.com/2.0/automate_workflows/12345/start" \
     -H "box-version: 2026.0" \
     -H "authorization: Bearer <ACCESS_TOKEN>" \
     -H "content-type: application/json" \
     -d '{
       "workflow_action_id": "981",
       "file_ids": ["123"]
     }'
{
  "type": "error",
  "status": 400,
  "code": "item_name_invalid",
  "message": "Method Not Allowed",
  "context_info": {
    "message": "Something went wrong"
  },
  "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/",
  "request_id": "abcdef123456"
}
Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ヘッダー

box-version
enum<string>
必須

Version header.

利用可能なオプション:
2026.0

パスパラメータ

workflow_id
string
必須

ワークフローのID。

ボディ

application/json

Automateワークフローを開始するためのリクエスト本文。

workflow_action_id
string
必須

選択したワークフローのトリガーに使用する、呼び出し可能なアクションID。

:

"981"

file_ids
string[]
必須

選択したワークフローで処理するファイル。

Minimum array length: 1
:
["123"]

レスポンス

ワークフローを開始します。