GET
/
files
/
v3
/
files
/
import-from-url
/
async
/
tasks
/
{taskId}
/
status
Verificar estado de importación
curl --request GET \
  --url https://api.hubapi.com/files/v3/files/import-from-url/async/tasks/{taskId}/status \
  --header 'Authorization: Bearer <token>'
{
  "result": {
    "extension": "<string>",
    "access": "PUBLIC_INDEXABLE",
    "parentFolderId": "<string>",
    "sourceGroup": "<string>",
    "fileMd5": "<string>",
    "encoding": "<string>",
    "type": "<string>",
    "isUsableInContent": true,
    "url": "<string>",
    "expiresAt": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "archivedAt": "2023-11-07T05:31:56Z",
    "path": "<string>",
    "archived": true,
    "size": 123,
    "name": "<string>",
    "width": 123,
    "id": "<string>",
    "defaultHostingUrl": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "height": 123
  },
  "completedAt": "2023-11-07T05:31:56Z",
  "numErrors": 123,
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "errors": [
    {
      "subCategory": "",
      "context": "",
      "links": "",
      "id": "",
      "category": "",
      "message": "",
      "errors": "",
      "status": ""
    }
  ],
  "taskId": "<string>",
  "status": "PENDING"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubStarter

Ámbitos Requeridos

Esta API requiere uno de los siguientes ámbitos:
  • files.ui_hidden.read
  • files

Authorizations

Authorization
string
header
required

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

Path Parameters

taskId
string
required

ID de tarea Importar por URL

Response

200
application/json

successful operation

The response is of type object.