Skip to main content
GET
/
community
/
{communityId}
/
event
List Community Events
curl --request GET \
  --url https://api.dontdie.com/community/{communityId}/event \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "communityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "startTime": "<string>",
    "endTime": "<string>",
    "address": "<string>",
    "city": "<string>",
    "state": "<string>",
    "country": "<string>",
    "recurrencePattern": "<string>",
    "status": "<string>",
    "imageUrl": "<string>",
    "currentAttendees": 123,
    "maxAttendees": 123,
    "createdAt": "<string>",
    "createdBy": "<string>",
    "updatedAt": "<string>",
    "updatedBy": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Path Parameters

communityId
string<uuid>
required

The ID of the community

Query Parameters

limit
integer
default:20

The number of events to return

offset
integer
default:0

The offset to start the list from

Response

200 - application/json

OK

id
string<uuid>
required

The ID of the community event

communityId
string<uuid>
required

The ID of the community

startTime
string
required

The start time of the event

endTime
string
required

The end time of the event

address
string
required

The address of the event

city
string | null
required

The city of the event

state
string | null
required

The state of the event

country
string | null
required

The country of the event

recurrencePattern
string
required

The recurrence pattern of the event

status
string
required

The status of the event

imageUrl
string
required

The image URL of the event

currentAttendees
number
required

The current number of attendees of the event

maxAttendees
number
required

The maximum number of attendees of the event

createdAt
string
required

The date and time the event was created

createdBy
string
required

The ID of the user who created the event

updatedAt
string
required

The date and time the event was updated

updatedBy
string
required

The ID of the user who updated the event