RSVP
This endpoint allows you to toggle RSVP with an event from a community.
RSVP
POST
https://api.sonorancms.com/events/rsvp
RSVP a community account found by API ID or account ID for an event.
Request Body
Name
Type
Description
id*
string
Community ID
key*
string
API Key
type*
string
RSVP
data*
array
Array of request objects
RSVP_SUCCESS // This string will return whenever the account is added to the RSVP
UNRSVP_SUCCESS // This string will return whenever the acocunt is removed from the RSVP list
{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "RSVP",
"data": [
{
// User Identification
"apiId": "SOME_API_ID", // Optional - must have one
"username": "SOMEUSERNAME", // Optional - must have one
"accId": "SOMEACCID", // Optional - must have one
"discord": "111122223333444455", // Optional - must have one
"uniqueId": 1234 // Optional - must have one
// Configuration
"eventId": "", // UUID of Event
}
]
}
Last updated
Was this helpful?