Assets

Upload Image Asset

Upload an image asset for later pin publishing.

post/v1/assets/images

Request

  • Base URL: https://api.pinbridge.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.pinbridge.io/v1/assets/images
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

x-api-keystring nullable
authorizationstring nullable

Response

Successful Response

idstring uuid required
workspace_idstring uuid required
workspace_environment'production' | 'sandbox'

Environment mode for an isolated project/workspace.

asset_type'image' | 'video' required

Supported uploaded asset types.

original_filenamestring required
stored_filenamestring required
content_typestring required
file_size_bytesinteger required
file_size_displaystring required
referenced_by_pin_countinteger

Pins plus scheduled pins that have not run yet using this asset.

public_urlstring required
created_atstring date-time required
updated_atstring date-time required

Changes

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