Import a file from a URL
Regional
us.api.brault.app— follows the region selector in the top barDownloads a public http(s) URL into the brandspace. Asynchronous: poll /v1/imports/{import_id}. Maximum 5 GiB, 2 concurrent imports per brandspace.
Authorization
apiKey AuthorizationBearer <token>
API key from Settings → Developers
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/files/import" \ -H "Content-Type: application/json" \ -d '{ "url": "string" }'{ "object": "import", "id": "string", "status": "queued", "source_url": "string", "file_id": "string", "bytes_total": 0, "bytes_written": 0, "error_code": "string", "created_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z"}