API referenceDiscord
GET /discord/guilds/{guildId}/events
Scheduled events of the server (withUserCount adds user_count, the RSVPs)
GET
BearerAuthheader
AuthorizationBearer <token>API key sk_...
guildId*stringDiscord server (guild) id
accountId*stringDiscord account id bound to this server (or the channel's server)
withUserCount?booleanInclude user_count
{data}
application/json- response
data?array<>curl -X GET 'https://example.com/api/v1/discord/guilds/string/events?accountId=string'Example Response
{ "data": [ { "id": "string", "guild_id": "string", "channel_id": "string", "creator_id": "string", "name": "string", "description": "string", "scheduled_start_time": "string", "scheduled_end_time": "string", "privacy_level": 2, "status": 1, "entity_type": 1, "entity_id": "string", "entity_metadata": {}, "user_count": 0, "image": "string" } ]}PUT /discord/guilds/{guildId}/members/{userId}/roles/{roleId} PUT
Assign a role to a member (idempotent; @everyone is refused; the role must sit below the bot's highest role)
POST /discord/guilds/{guildId}/events POST
Create a scheduled event: external (location and endsAt), voice or stage (channelId). Needs Manage Events