Skip to main content
POST
/
api
/
v1
/
calendar
/
events
/
{event_id}
/
respond
Respond to Event
curl --request POST \
  --url https://api.example.com/api/v1/calendar/events/{event_id}/respond \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "<string>"
}
'

Respond to Event Invitation

Accept or decline an event invitation.

Authentication

Requires a valid user JWT token.

Path Parameters

event_id
string
required
UUID of the event.

Request Body

status
string
required
Response status: "accepted" or "declined".

Example

curl -X POST https://api.ama2.me/api/v1/calendar/events/{event_id}/respond \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": "accepted"}'