馃嚞馃嚙
Slotbot
Invite botCalendarSupport
English
English
  • What is Slotbot?
  • Events
    • Event calendar
    • Event details
  • Integrations
    • Discord
      • Participant management
      • Bot commands
        • Add community
        • Add event to channel
        • Add slot
        • Archive
        • Block slot
        • Delete slot
        • Event Ping
        • Force slot
        • Force unslot
        • Random slot
        • Rebuild archive
        • Rename slot
        • Rename squad
        • Slot
        • Swap
        • Unslot
      • Recommended configuration
      • Reminders
      • Archive
    • Calendar sync
    • API documentation
  • Event creation
    • Wizard
      • Arma 3 Slotlist Generation
    • Formatting
    • Event Standards
    • Special event details
  • Community Management
    • Communities / Guilds
  • FAQ
    • FAQs
    • Changelog
      • Update 08.08.2024
      • Update 21.07.2024
      • Update 18.07.2024
      • Update 08.06.2024
      • Update 12.03.2024
      • Update 09.01.2024
      • Update 29.12.2023
      • Update 25.11.2023
      • Update 15.11.2023
      • Update 13.10.2023
      • Update 10.09.2023
      • Update 28.07.2023
      • Update 27.06.2023
      • Update 13.06.2023
      • Update 10.05.2023
      • Update 08.05.2023
      • Update 31.03.2023
      • Update 22.02.2023
      • Update 16.02.2023
      • Update 03.12.2022
      • Update 30.11.2022
      • Update 06.02.2022
      • Update 23.11.2021
      • Update 14.11.2021
      • Update 24. & 26.10.2021
      • Update 18.10.2021
      • Update 09.09.2021
      • Update 03.08.2021
      • Update 28.07.2021
      • Update 13.07.2021
      • Update 12.06.2021
      • Update 17.05.2021
      • Update 14.05.2021
      • Before 05.2021
Powered by GitBook
On this page
  1. Integrations

API documentation

PreviousCalendar syncNextWizard

Last updated 1 year ago

General

The API can be used to offer your community additional ways to interact with events or to display information. Feel free to share your ideas with us - others may be able to benefit from them as well.

The current API version is v1. Major changes will result in a version number bump. This includes, but is not limited to, changes to the return values of existing fields or removing any part of the API. Additional return fields or new request parameters do not result in a version change. Changes to the endpoints can be found in the changelogs.

Most endpoints require authentication via API keys. These cannot currently be configured, you will need to contact Alf.

Please include the user-agent header in all requests. This information will only be used to maintain the service, which may include contacting you in the event of a problem. It will not be shared with third parties.

Documentation

Swagger UI Dokumentation

Events

Everything related to events

Slots

Everything related to slots in events

Status

Server Status

https://slotbot.de/backend/swagger-ui/index.html

All events between two dates

get

Search for events in a specific time frame of up to 30 days.

Authorizations
Query parameters
startstring 路 yyyy-MM-ddRequired

Starting with the date in UTC including the date

endstring 路 yyyy-MM-ddRequired

Ending with the date in UTC including the date

Responses
200
OK
*/*
400
Invalid parameters provided
*/*
get
GET /backend/slotbot/api/v1/events HTTP/1.1
Host: slotbot.de
slotbot-auth-token: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "hidden": true,
    "name": "text",
    "dateTime": "2025-05-10T08:15:54.222Z",
    "creator": "text",
    "eventType": {
      "name": "text",
      "color": "text"
    },
    "description": "text",
    "missionType": "text",
    "missionLength": "text",
    "pictureUrl": "https://example.net/example.png",
    "details": [
      {
        "id": 1,
        "title": "text",
        "text": "text"
      }
    ],
    "reserveParticipating": true,
    "squadList": [
      {
        "id": 1,
        "name": "text",
        "reservedForGuildId": "text",
        "slotList": [
          {
            "id": 1,
            "name": "text",
            "number": 1,
            "reservedForGuildId": "text",
            "userId": "text",
            "replacementText": "text"
          }
        ]
      }
    ]
  }
]
get
Authorizations
Path parameters
idinteger 路 int64Required
Responses
200
OK
*/*
404
Not Found
application/json
get
GET /backend/slotbot/api/v1/events/{id} HTTP/1.1
Host: slotbot.de
slotbot-auth-token: YOUR_API_KEY
Accept: */*
{
  "id": 1,
  "hidden": true,
  "name": "text",
  "dateTime": "2025-05-10T08:15:54.222Z",
  "creator": "text",
  "eventType": {
    "name": "text",
    "color": "text"
  },
  "description": "text",
  "missionType": "text",
  "missionLength": "text",
  "pictureUrl": "https://example.net/example.png",
  "details": [
    {
      "id": 1,
      "title": "text",
      "text": "text"
    }
  ],
  "reserveParticipating": true,
  "squadList": [
    {
      "id": 1,
      "name": "text",
      "reservedForGuildId": "text",
      "slotList": [
        {
          "id": 1,
          "name": "text",
          "number": 1,
          "reservedForGuildId": "text",
          "userId": "text",
          "replacementText": "text"
        }
      ]
    }
  ]
}

Ping

get

Check if the server is responsive.

Responses
200
OK
get
GET /backend/slotbot/api/v1/status HTTP/1.1
Host: slotbot.de
Accept: */*
200

OK

No content

  • General
  • Documentation
  • Events
  • GETAll events between two dates
  • POSTCreate an event
  • GET/events/{id}
  • Slots
  • POSTSlot or unslot a user in an event
  • POSTBlock a slot in an event
  • Status
  • GETPing

Create an event

post
Authorizations
Body
namestring 路 max: 80Required
dateTimestring 路 date-timeRequired
creatorstring 路 max: 80Required
descriptionstring 路 max: 4096Optional
missionTypestring 路 max: 80Optional
missionLengthstring 路 max: 80Optional
pictureUrlstring 路 max: 1666OptionalExample: https://example.net/example.pngPattern: |\s*(https?|attachment)://\S+\s*
reserveParticipatingbooleanOptional
hiddenbooleanOptional

Allows everyone interested to see the event in the calendar.

Default: false
shareablebooleanOptional

Allows other groups to add this event ot their calendar and add participants through it.

Default: false
Responses
200
OK
*/*
400
Invalid parameters provided
*/*
403
Forbidden
post
POST /backend/slotbot/api/v1/events HTTP/1.1
Host: slotbot.de
slotbot-auth-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 494

{
  "name": "text",
  "dateTime": "2025-05-10T08:15:54.222Z",
  "creator": "text",
  "eventType": {
    "name": "text",
    "color": "text"
  },
  "description": "text",
  "missionType": "text",
  "missionLength": "text",
  "pictureUrl": "https://example.net/example.png",
  "reserveParticipating": true,
  "hidden": true,
  "shareable": true,
  "details": [
    {
      "title": "text",
      "text": "text"
    }
  ],
  "squadList": [
    {
      "name": "text",
      "reservedForGuildId": "text",
      "slotList": [
        {
          "name": "text",
          "number": 1,
          "reservedForGuildId": "text",
          "userId": "text",
          "replacementText": "text"
        }
      ]
    }
  ]
}
{
  "id": 1,
  "hidden": true,
  "name": "text",
  "dateTime": "2025-05-10T08:15:54.222Z",
  "creator": "text",
  "eventType": {
    "name": "text",
    "color": "text"
  },
  "description": "text",
  "missionType": "text",
  "missionLength": "text",
  "pictureUrl": "https://example.net/example.png",
  "details": [
    {
      "id": 1,
      "title": "text",
      "text": "text"
    }
  ],
  "reserveParticipating": true,
  "squadList": [
    {
      "id": 1,
      "name": "text",
      "reservedForGuildId": "text",
      "slotList": [
        {
          "id": 1,
          "name": "text",
          "number": 1,
          "reservedForGuildId": "text",
          "userId": "text",
          "replacementText": "text"
        }
      ]
    }
  ]
}

Slot or unslot a user in an event

post
Authorizations
Path parameters
idinteger 路 int64Required
slotNumberinteger 路 int32Required
Body
string 路 discord-snowflakeOptional

Slot this user or, if empty, unslot this slot.

Responses
200
OK
*/*
400
Invalid parameters provided
*/*
403
Forbidden
404
Not Found
application/json
post
POST /backend/slotbot/api/v1/events/{id}/slot/{slotNumber} HTTP/1.1
Host: slotbot.de
slotbot-auth-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "id": 1,
  "hidden": true,
  "name": "text",
  "dateTime": "2025-05-10T08:15:54.222Z",
  "creator": "text",
  "eventType": {
    "name": "text",
    "color": "text"
  },
  "description": "text",
  "missionType": "text",
  "missionLength": "text",
  "pictureUrl": "https://example.net/example.png",
  "details": [
    {
      "id": 1,
      "title": "text",
      "text": "text"
    }
  ],
  "reserveParticipating": true,
  "squadList": [
    {
      "id": 1,
      "name": "text",
      "reservedForGuildId": "text",
      "slotList": [
        {
          "id": 1,
          "name": "text",
          "number": 1,
          "reservedForGuildId": "text",
          "userId": "text",
          "replacementText": "text"
        }
      ]
    }
  ]
}

Block a slot in an event

post

Blocks a slot from being slotted. If a block already exists, it can be used to overwrite the displayed text. If none is specified, the default is "Gesperrt".

Authorizations
Path parameters
idinteger 路 int64Required
slotNumberinteger 路 int32Required
Body
string 路 max: 80Optional
Responses
200
OK
*/*
400
Invalid parameters provided
*/*
403
Forbidden
404
Not Found
application/json
post
POST /backend/slotbot/api/v1/events/{id}/slot/{slotNumber}/block HTTP/1.1
Host: slotbot.de
slotbot-auth-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "id": 1,
  "hidden": true,
  "name": "text",
  "dateTime": "2025-05-10T08:15:54.222Z",
  "creator": "text",
  "eventType": {
    "name": "text",
    "color": "text"
  },
  "description": "text",
  "missionType": "text",
  "missionLength": "text",
  "pictureUrl": "https://example.net/example.png",
  "details": [
    {
      "id": 1,
      "title": "text",
      "text": "text"
    }
  ],
  "reserveParticipating": true,
  "squadList": [
    {
      "id": 1,
      "name": "text",
      "reservedForGuildId": "text",
      "slotList": [
        {
          "id": 1,
          "name": "text",
          "number": 1,
          "reservedForGuildId": "text",
          "userId": "text",
          "replacementText": "text"
        }
      ]
    }
  ]
}