Slaikydocs

    You say#apps.connections.open

    apps.connections.open

    A one-time WebSocket URL for Socket Mode (valid a few seconds).

    Connect to it, then acknowledge each envelope with { "t": "app.ack", "d": { "envelopeId" } }.

    POST https://app.slaiky.xyz/api/methods/apps.connections.open · needs the bot token

    Arguments

    No arguments.

    Answer

    { "ok": true, … } with: url: string. A refusal is { "ok": false, "error": { "code", "message" } } (errors).

    Example

    Recorded on a real server (ids replaced).

    you run
    
    curl -s https://app.slaiky.xyz/api/methods/apps.connections.open \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{}'
    
    Slaiky → your appanswer
    
    {
      "ok": true,
      "url": "wss://app.slaiky.xyz/ws?ticket=docs-ticket"
    }
    

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