Products and files
Finish image
POST
/ v1 / images / {upload_id} / finish The last step of POST /v1/images, after your PUT to the upload_url. Checks the image, publishes it and returns its image_url. Use the image_url for:
imagesorcheckout_banner_urlofPOST /v1/productsandPATCH /v1/products/{product_id}cover_image_urlofPOST /v1/coursesandPATCH /v1/courses/{course_id}(course banner)cover_image_urlofPOST /v1/courses/{course_id}/modulesandPATCH /v1/modules/{module_id}(module image, 16:9, shows only with the course layout "cards")img srcin HTML: emailbody_html, text blocks and landing pages
An image block in content needs a file_id from POST /v1/files instead.
Changes at once MCP tool finish_image
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Path parameters
-
upload_idstring requiredThe upload_id from upload_image.
max length
250Example:"2c83c3215660ad75ee567ef4fa2d6289.png"
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
image_urlstring<uri>Use it in images, checkout_banner_url, cover_image_url or as img src in HTML.
-
size_bytesintegerFile size in bytes.
-
next_stepstringWhat to do next.