Postonus
APIReferenceUploads

Import a file from a public URL

POST
/uploads/from-url
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/uploads/from-url" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "scenarioId": "post_attachments"  }'
{  "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497",  "publicUrl": "string"}