⚠️ Limited time: 14 days of Bnder Pro for free! 🚀

Events

Bnder API documentation for Events. Read the API Overview to get started and learn more.

Create a new event

Create a new event for the guild

POST/consumer/v1/guilds/guildId/events
ParametersDescription
guildIdThe id of a discord guild

Request body

FieldTypeDescription
titlestringTitle of the event
locationstringDescription of the event
startstringStart date and time of the event
endstringEnd date and time of the event
inviteesarrayInvitees of the event
repeat_interval_daysnumberRepeat interval in days
repeat_untilstringRepeat until date
typestringType of the event

Response

Status: 200 - Event created

FieldTypeDescription
idstringId of the event
titlestringTitle of the event
locationstringLocation of the event
startstringStart date and time of the event
endstringEnd date and time of the event
isFromTaskbooleanIs the event from a task deadline
inviteesarrayDiscord user ids of the invitees
acceptedarrayDiscord user ids of the accepted invitees
declinedarrayDiscord user ids of the declined invitees
creatorstringDiscord user id of the creator
repeatedbooleanIs the event repeated
repeatEndstringEnd date of the repeat
repeatIntervalDaysnumberInterval in days for the repeat
typestringType of the event, e.g. "event" or "task"
externalIdstringExternal id of the event, e.g. Google Calendar event id

Get an event

Get an event by ID

GET/consumer/v1/guilds/guildId/events/eventId
ParametersDescription
guildIdThe id of a discord guild
eventIdThe ID of the event

Request body

empty

Response

Status: 200 - Event retrieved

FieldTypeDescription
idstringId of the event
titlestringTitle of the event
locationstringLocation of the event
startstringStart date and time of the event
endstringEnd date and time of the event
isFromTaskbooleanIs the event from a task deadline
inviteesarrayDiscord user ids of the invitees
acceptedarrayDiscord user ids of the accepted invitees
declinedarrayDiscord user ids of the declined invitees
creatorstringDiscord user id of the creator
repeatedbooleanIs the event repeated
repeatEndstringEnd date of the repeat
repeatIntervalDaysnumberInterval in days for the repeat
typestringType of the event, e.g. "event" or "task"
externalIdstringExternal id of the event, e.g. Google Calendar event id

Update an event

Update an existing event

PUT/consumer/v1/guilds/guildId/events/eventId
ParametersDescription
guildIdThe id of a discord guild
eventIdThe ID of the event

Request body

FieldTypeDescription
titlestringThe title of the event
locationstringThe location of the event
startstringThe start date and time of the event
endstringThe end date and time of the event
inviteesarrayThe invitees of the event
acceptedbooleanThe acceptance status of the event
repeat_interval_daysnumberRepeat interval in days
repeat_untilstringRepeat until date

Response

Status: 200 - Event updated

FieldTypeDescription
idstringId of the event
titlestringTitle of the event
locationstringLocation of the event
startstringStart date and time of the event
endstringEnd date and time of the event
isFromTaskbooleanIs the event from a task deadline
inviteesarrayDiscord user ids of the invitees
acceptedarrayDiscord user ids of the accepted invitees
declinedarrayDiscord user ids of the declined invitees
creatorstringDiscord user id of the creator
repeatedbooleanIs the event repeated
repeatEndstringEnd date of the repeat
repeatIntervalDaysnumberInterval in days for the repeat
typestringType of the event, e.g. "event" or "task"
externalIdstringExternal id of the event, e.g. Google Calendar event id

Delete an event

Delete an existing event

DELETE/consumer/v1/guilds/guildId/events/eventId
ParametersDescription
guildIdThe id of a discord guild
eventIdThe ID of the event

Request body

empty

Response

Status: 204 - Event deleted

empty response

Plan an event

Plan an event for the guild

POST/consumer/v1/guilds/guildId/events/plan
ParametersDescription
guildIdThe id of a discord guild

Request body

FieldTypeDescription
startstringStart date and time of the event
endstringEnd date and time of the event
inviteesarrayInvitees of the event
typestringFilter events by type

Response

Status: 200 - Event planned

FieldTypeDescription
idstringId of the event
titlestringTitle of the event
locationstringLocation of the event
startstringStart date and time of the event
endstringEnd date and time of the event
isFromTaskbooleanIs the event from a task deadline
inviteesarrayDiscord user ids of the invitees
acceptedarrayDiscord user ids of the accepted invitees
declinedarrayDiscord user ids of the declined invitees
creatorstringDiscord user id of the creator
repeatedbooleanIs the event repeated
repeatEndstringEnd date of the repeat
repeatIntervalDaysnumberInterval in days for the repeat
typestringType of the event, e.g. "event" or "task"
externalIdstringExternal id of the event, e.g. Google Calendar event id