Asset APIs
POSTCreate Assets
Create or update asset links with rank assignment. Supports batch input.
Requests go to the live API through streamoid.com and act on your real data.
Authorization
AuthorizationstringrequiredheaderBearer token,
Bearer <token>. Create one under Tokens in your workspace.Query parameters
store_uuidstringrequiredStore identifier
Example:
699ec31355208b213e56059aHeaders
X-Request-IdstringOptional trace ID
Body
application/json required
An array of objects. Each item:
parent_codestringrequiredParent/product code
Example:
SKU001asset_typestringDefaults to image. Must be one of the store's supported doc types, or the request fails with 400.
Allowed:
image video pdf 3D textExample:
imageproduct_uuidstringOptional; resolved via search API if not provided
channelsobjectrequiredChannels to upsert this parent_code's assets under, keyed by channel name, each an ordered URL list (see below). Each channel must be enabled on the store's own settings, or the request fails with 400 before any asset is written.
Responses
200Assets created or updated
statusobjectFields
codeinteger0 = success, -1 = error
Example:
0messagestringExample:
SUCCESSrequest_idstringExample:
8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312dataobjectFields
createdintegerExample:
1updatedintegerExample:
0failedintegerExample:
0error_infoobject[]400Validation error: an asset_type not in the store's supported doc types, a channel not enabled for this store, or a channel's URL list longer than its image-config attribute order.
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
401Unauthorized – Bearer token missing or invalid
statusobjectFields
codeintegerExample:
-1messagestringExample:
Unauthorized – invalid or missing Bearer token500Internal server error
statusobjectFields
codeintegerExample:
-1messagestringExample:
Internal server error. Please contact support@catalogix.ai502Downstream service unavailable
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
Something missing or unclear? Write to support@streamoid.com.