Media

Upload media from a URL

Downloads an image from imageUrl and stores it as an asset. userId is currently required by the server.

post/api/assets/upload/url

Request

  • Base URL: https://api-app.postnext.io
  • URL: https://api-app.postnext.io/api/assets/upload/url
  • Auth: API key in header x-api-key

Request body

imageUrlstring uri required

Source image URL.

userIdstring required

Your account uniqueId (required by the server).

displayNamestring
descriptionstring
folderIdstring
source'user_upload' | 'unsplash' | 'pixabay' | 'pexels' | 'brand_scraper' | 'ai_generated' | 'other'

Response

Downloaded and stored

messagestring

Example response

{
  "message": "Image downloaded and uploaded successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.