For AI agents: a machine-readable documentation index for this API is available at /llms.txt. Every page is also available as Markdown: append ".md" to the URL or send an "Accept: text/markdown" request header.

Finish a brand file upload

Step 2 of 2. Checks what was stored at the upload address (size, type and the real first bytes, the same rules as the brand editor) and attaches it. A file that fails is removed and answered 422 invalid_file; nothing stored yet is 409 file_not_uploaded. An icon, logo, banner, social image or favicon replaces the current one, and the old file is removed unless the brand still uses it. For logo you may send name, type and usage; for asset send collection_id (or collection_name to start a collection), name and type; for team_photo send member_id (or member_name); for guideline_image send section_id and optionally kind (image, do, dont) and caption. Completing the same file again returns the same answer with already_attached true and changes nothing. The file_id only works for the brand and slot it was made for. Needs brands:files.

What you provide

  • Nameoptional
  • Typeoptional: For logo: primary, secondary, monochrome, reversed, icon, favicon, square or social media. For asset: the file type, for example image/png
  • Usageoptional
  • Collection idoptional
  • Collection nameoptional
  • Member idoptional
  • Member nameoptional
  • Section idoptional
  • Kindoptional
  • Captionoptional

Do this with AI

I want to finish a brand file upload. Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/completebrandfileupload.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.

Paste this into Claude, Cursor, or any AI assistant and it will do it for you.