XentrDeveloper Docs
API ReferenceProducts

Get a signed upload URL for a new attachment

POST
/api/factories/{factoryId}/products/{productId}/attachments/upload-url
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string
productId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/products/string/attachments/upload-url" \  -H "Content-Type: application/json" \  -d '{    "fileName": "gasket-v3.pdf"  }'
Empty