Slaikydocs

    You say#chat.postEphemeral

    chat.postEphemeral

    Show a message to one person only (not stored in history).

    POST https://app.slaiky.xyz/api/methods/chat.postEphemeral · needs chat:write

    Arguments

    ArgumentTypeRequiredWhat
    channelstringyesChannel id, or "#name" for channels. 1–81 characters.
    useridyesMember id.
    textstringnoMessage text (Markdown). May be empty when blocks are sent. Up to 40,000 characters.
    blocksblocksnoLayout blocks from the closed catalog (header, section, context, actions with buttons and selects, divider, image). Up to 50 items, may be null.
    threadIdidno

    Answer

    { "ok": true, … } with: ephemeral: Ephemeral. 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/chat.postEphemeral \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{"channel":"#general","user":"<user>"}'
    

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