Accept an Invitation
Testing
POST
/calendars/{calendarId}/events/{eventId}/members/accept-invitation
eventId
: Event Id to which the member belongs.token
: The invitation token.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/calendars/663a2c5effae959147ee2981/events/66f636885550f70db3874945/members/accept-invitation' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NmJmNzM5OTg0YzBjZDNkZDY0ODRlMzQiLCJpYXQiOjE3MjQwNjc1NzMsImV4cCI6MjMyODg2NzU3MywiYXVkIjoibG9jYWxob3N0OjMwMDAiLCJpc3MiOiJsb2NhbGhvc3Q6MzAwMCJ9.hDjAM9-mNiboeZ6idIhqjhn5JkdDji5VP9zZ5PoJMZY"
}'
Response Response Example
201 - Success
{
"id": "66f398a3f55ec9ce873b149a",
"profileId": "66e19776c386d04f46720264",
"role": "co-host",
"eventId": "66df1b60c9b61c08ddb0d380",
"invited": true,
"createdAt": "Wed Sep 25 2024 07:59:15 GMT+0300 (East Africa Time)",
"updatedAt": "Wed Sep 25 2024 08:02:40 GMT+0300 (East Africa Time)",
"email": "tamirat.dereje@aladia.io",
"invitationStatus": "accepted"
}
Request
Path Params
calendarId
stringÂ
required
Example:
663a2c5effae959147ee2981
eventId
stringÂ
required
Example:
66f636885550f70db3874945
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-09 13:02:24