Brault Developers

Import a file from a URL

Regionalus.api.brault.appfollows the region selector in the top bar
POST
/v1/files/import

Downloads a public http(s) URL into the brandspace. Asynchronous: poll /v1/imports/{import_id}. Maximum 5 GiB, 2 concurrent imports per brandspace.

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"}