メインコンテンツへスキップ
GET
/
files
/
v3
/
files
/
import-from-url
/
async
/
tasks
/
{taskId}
/
status
インポートステータスを確認
curl --request GET \
  --url https://api.hubapi.com/files/v3/files/import-from-url/async/tasks/{taskId}/status \
  --header 'Authorization: Bearer <token>'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "taskId": "<string>",
  "errors": [
    {
      "category": "<string>",
      "context": {},
      "errors": [
        {
          "message": "<string>",
          "code": "<string>",
          "context": "{missingScopes=[scope1, scope2]}",
          "in": "<string>",
          "subCategory": "<string>"
        }
      ],
      "links": {},
      "message": "<string>",
      "status": "<string>",
      "id": "<string>",
      "subCategory": {}
    }
  ],
  "links": {},
  "numErrors": 123,
  "requestedAt": "2023-11-07T05:31:56Z",
  "result": {
    "access": "HIDDEN_INDEXABLE",
    "archived": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "archivedAt": "2023-11-07T05:31:56Z",
    "defaultHostingUrl": "<string>",
    "encoding": "<string>",
    "expiresAt": 123,
    "extension": "<string>",
    "fileMd5": "<string>",
    "height": 123,
    "isUsableInContent": true,
    "name": "<string>",
    "parentFolderId": "<string>",
    "path": "<string>",
    "size": 123,
    "sourceGroup": "<string>",
    "type": "<string>",
    "url": "<string>",
    "width": 123
  }
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

認証

Authorization
string
header
必須

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

パスパラメータ

taskId
string
必須

インポート元URLタスクID

レスポンス

successful operation

completedAt
string<date-time>
必須

タスクの完了の日時。

startedAt
string<date-time>
必須

タスクが開始された時点のタイムスタンプ。

status
enum<string>
必須

タスクの現在のステータス。

利用可能なオプション:
CANCELED,
COMPLETE,
PENDING,
PROCESSING
taskId
string
必須

依頼されたタスクのID。

errors
object[]

説明的なエラーメッセージ。

依頼されたタスクのステータスを確認するためのリンク。

numErrors
integer<int32>

タスクに原因があるエラーの数。

requestedAt
string<date-time>

タスクが依頼された時点のタイムスタンプ。

result
object

File

Last modified on December 8, 2025