Slaikydocs

    You say#conversations.history

    conversations.history

    Messages of a conversation, newest page first (thread replies excluded unless also sent to the channel).

    POST https://app.slaiky.xyz/api/methods/conversations.history · needs the conversation's :history

    Arguments

    ArgumentTypeRequiredWhat
    channelstringyesChannel id, or "#name" for channels. 1–81 characters.
    limitintegerno1–200, default 50.
    beforeidnoPage before this message id.

    Answer

    { "ok": true, … } with: messages: Message[]. 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/conversations.history \
      -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
      -H 'content-type: application/json' \
      -d '{"channel":"7f3c0009-5a1e-4c2b-9d6f-1a2b3c4d5e08","limit":1}'
    
    Slaiky → your appanswer
    
    {
      "ok": true,
      "messages": [
        {
          "id": "7f3c0022-5a1e-4c2b-9d6f-1a2b3c4d5e15",
          "channelId": "7f3c0009-5a1e-4c2b-9d6f-1a2b3c4d5e08",
          "parentId": null,
          "author": {
            "id": "7f3c0008-5a1e-4c2b-9d6f-1a2b3c4d5e07",
            "handle": "alex",
            "name": "Alex Martins",
            "title": "Founder · Product",
            "avatarUrl": null,
            "timezone": "America/Sao_Paulo",
            "role": "owner",
            "status": null,
            "isBot": false,
            "appId": null,
            "agentId": null,
            "look": null,
            "deactivated": false
          },
          "body": "Shipping the export today.",
          "blocks": null,
          "files": [],
          "createdAt": "2026-11-10T12:00:07.000Z",
          "editedAt": null,
          "replyCount": 0,
          "lastReplyAt": null,
          "replyUsers": [],
          "reactions": [],
          "pinned": false,
          "alsoInChannel": false,
          "subtype": null,
          "meta": null
        }
      ]
    }
    

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