Slaikydocs

    You say#files.completeUpload

    files.completeUpload

    Finish uploads and share the files in a conversation, with an optional message.

    POST https://app.slaiky.xyz/api/methods/files.completeUpload · needs files:write

    Arguments

    ArgumentTypeRequiredWhat
    filesarray of objectyesUp to 10 items.
    channelstringnoChannel id, or "#name" for channels. 1–81 characters.
    textstringnoMessage text (Markdown). May be empty when blocks are sent. Up to 40,000 characters.
    threadIdidno

    Answer

    { "ok": true, … } with: files: File[], message: Message \| null. A refusal is { "ok": false, "error": { "code", "message" } } (errors).

    Example

    The required arguments, with placeholders in angle brackets.

    you run
    
    curl -s https://app.slaiky.xyz/api/methods/files.completeUpload \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{"files":[]}'
    

    Updated . Every method, scope, event and limit here is generated from the server’s own code.