Back

API Documentation

Base URL

The base URL for all API endpoints is: https://campfire-tools.topi.wtf/api

Endpoints

Events

GET /api/events

Query Parameters:

  • events: Comma-separated list of event links/IDs to return

Example:

https://campfire-tools.topi.wtf/api/events?events=88213c3f-d5fe-4fc9-acbe-e43671e36edc,event2

Response:

Returns a JSON array with the following structure:

[
  {
    "id": "88213c3f-d5fe-4fc9-acbe-e43671e36edc",
    "name": "Raidstunde: Terrakion",
    "url": "https://campfire.nianticlabs.com/discover/meetup/88213c3f-d5fe-4fc9-acbe-e43671e36edc",
    "time": "2025-07-16T16:00:00Z",
    "club_id": "b632fc8e-0b41-49de-ade2-21b0cd81db69",
    "creator": {
      "id": "E:...",
      "username": "topi314",
      "display_name": "topi"
    },
    "discord_interested": 0,
    "created_by_community_ambassador": true,
    "campfire_live_event_id": "fbb2a356-3b5c-4722-b021-ffdb3591b4a1",
    "campfire_live_event_name": "Terrakion Raid Hour",
    "members": [
      {
        "id": "E:...",
        "username": "",
        "display_name": "",
        "rsvp_status": "DECLINED"
      },
      {
        "id": "E:...",
        "username": "topi314",
        "display_name": "topi",
        "rsvp_status": "CHECKED_IN"
      },
      {
        "id": "E:...",
        "username": "topi314",
        "display_name": "topi",
        "rsvp_status": "ACCEPTED"
      }
    ]
  },
  ...
]

Club Events

GET /api/clubs/{club_id}/events

Path Parameters:

  • club_id: The ID of the club to return events for

Example:

https://campfire-tools.topi.wtf/api/clubs/b632fc8e-0b41-49de-ade2-21b0cd81db69/events

Response:

Returns a JSON array with the same structure as Events, but filtered to the specified club.

Events Import

POST /api/events

Request:

Send a JSON array of event IDs or links to import from Campfire.

Example:

["event1", "event2", ...]

Response:

204 - No Content