latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

slack
magicbell_slackbot

List all MagicBell SlackBot tokens

Lists all MagicBell SlackBot tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata.

get/channels/slack/magicbell_slackbot/tokens

Query parameters

limitinteger

defines the maximum number of items to return per page (default: 50)

starting_afterstring

a cursor for use in pagination, points to the last ID in previous page

ending_beforestring

a cursor for use in pagination, points to the first ID in next page

Response

OK

Example response

{
  "data": [
    {
      "created_at": "2021-01-01T00:00:00Z",
      "discarded_at": "2021-01-01T00:00:00Z",
      "id": "123",
      "updated_at": "2021-01-01T00:00:00Z",
      "webhook": {
        "url": "https://example.com/webhook"
      }
    }
  ],
  "links": {
    "first": "https://api.magicbell.com/v1/example",
    "next": "https://api.magicbell.com/v1/example?page_next=abc",
    "prev": null
  }
}