RSVP
Create an RSVP for an event.
POST https://api.sonorancms.com/v2/community/events/11111111-1111-1111-1111-111111111111/rsvps
Rate limit:
27 requests per minute
Authenticated v2 endpoints are rate limited per credential rather than per IP address.
Create an RSVP for an event.
Route Parameters
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| eventId | string (uuid) | Yes | Target eventId. |
Request Body
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| accId | string | Yes | See example request for the shape. |
Example Request
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
product = Sonoran.productEnums.CMS,
apiKey = "YOUR_API_KEY",
communityId = "YOUR_COMMUNITY_ID",
defaultServerId = 1,
timeoutMs = 30000,
})
local eventId = "00000000-0000-0000-0000-000000000000"
local payload = {
["accId"] = "00000000-0000-0000-0000-000000000000"
}
local response = sonoran.cms:rsvpEventV2(eventId, payload)
if response.success then
print(response.data)
else
print(response.reason)
endResponse
The data value is a toggle code. The service returns RSVP_SUCCESS when the account is added and UNRSVP_SUCCESS when the existing RSVP is removed.
Last updated
Was this helpful?

