DISCAL

About Commands Setup Lazy DisCal Dashboard Support Patreon Status Log In

API



v1 Endpoints





Jump


API v1 Docs - RSVP Endpoint

The RSVP endpoints allows you to get and edit RSVP status for events in a guild.



/get

Returns the specified event's RSVP details.


Example Request Body

				{
				"guild_id": 375357265198317579,
				"id": "divq9ihqhoq9hbm2tncj8set04"
				}
			

Example Response


				{
				"on_time": ["130510525770629121"],
				"late": ["233611560545812480", "142107863307780097"],
				"undecided": [],
				"not_going": []
				}
			

Supported Values in Request
Key Value Type Info Required
guild_id long The Guild ID True
id String The Event ID True

Returned Values
Key Value Type Info
on_time List (of Strings) List of users that RSVPed as "on time"
late List (of Strings) List of users that RSVPed as "late"
undecided List (of Strings) List of users that RSVPed as "unsure"/"undecided"
not_going List (of Strings) List of users that RSVPed as "not going"


/update

Updates the specified event's RSVP data.


Example Request Body

				{
				"guild_id": 375357265198317579,
				"id": "divq9ihqhoq9hbm2tncj8set04",
				"on_time": ["130510525770629121"],
				"late": ["233611560545812480", "142107863307780097"]
				}
			

Example Response


				{
				"message": "Successfully updated RSVP data"
				}
			

Supported Values in Request
Key Value Type Info Required
guild_id long The Guild ID True
id String The Event ID True
on_time List (of Strings) List of users that RSVPed as "on time" False
late List (of Strings) List of users that RSVPed as "late" False
undecided List (of Strings) List of users that RSVPed as "unsure"/"undecided" False
not_going List (of Strings) List of users that RSVPed as "not going" False

Returned Values
Key Value Type Info
Message String Status of the update