/create
Create an event for a guild
This endpoint requires a POST request!
Endpoint Headers:
bot-token - Token of the Bot [String] (Required)
apikey - Your Api Auth Key [String] (Required)
guild-id - ID of the guild to be fetched [Snowflake] (Required)
Endpoint Body Parameters
channel_id - the channel id of the scheduled event. [Snowflake] ()
entity_metadata - the entity metadata of the scheduled event [Object] (**)
name - the name of the scheduled event [String] (Required)
privacy_level - the privacy level of the scheduled event [Integer] (Required)
scheduled_start_time - the time to schedule the event [ISO8601 timestamp] (Required)
scheduled_end_time - the time when the event is scheduled to end [ISO8601 timestamp] (**)
description - the description of the scheduled event [String] (Optional)
entity_type - the entity type of the scheduled event [Integer] (Required)
image - the cover image of the scheduled event [Image Data] (Optional)
* Optional for events with 'entity_type': EXTERNAL
** Required for events with'entity_type': EXTERNAL We suggest you read Discord's Documentation on Event Creation
Examples:
Data API version required. Must replace <version>
with either release or beta.
Possible Responses (Codes)
Last updated