Skip to main content
POST
/
api
/
events
Create Event Endpoint
curl --request POST \
  --url https://api.example.com/api/events \
  --header 'Content-Type: application/json' \
  --data '
{
  "event_type": "conference",
  "title": "<string>",
  "date": "<string>",
  "end_date": "<string>",
  "location": "<string>",
  "notes": "<string>",
  "status": "upcoming",
  "url": "<string>"
}
'
{
  "created_at": "<string>",
  "event_type": "conference",
  "id": "<string>",
  "status": "upcoming",
  "title": "<string>",
  "updated_at": "<string>",
  "date": "<string>",
  "end_date": "<string>",
  "location": "<string>",
  "notes": "<string>",
  "url": "<string>"
}

Body

application/json

Create a new event.

event_type
enum<string>
required
Available options:
conference,
meetup,
workshop,
bootcamp,
webinar,
networking,
course
title
string
required
date
string | null
end_date
string | null
location
string | null
notes
string | null
status
enum<string>
default:upcoming
Available options:
upcoming,
attended,
skipped,
cancelled
url
string | null

Response

Successful Response

Single event.

created_at
string
required
event_type
enum<string>
required
Available options:
conference,
meetup,
workshop,
bootcamp,
webinar,
networking,
course
id
string
required
status
enum<string>
required
Available options:
upcoming,
attended,
skipped,
cancelled
title
string
required
updated_at
string
required
date
string | null
end_date
string | null
location
string | null
notes
string | null
url
string | null