POST

Create Participation


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a participation object for a schedule or event.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage Bookings
Manage Calendars
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/calendar/v3/participations

Body Params
participationParticipationRequired

participation object to create.


idempotencyKeystringformat GUID

Idempotency key guaranteeing that you don't create the same participation object more than once.

Response Object
participationParticipation

Created participation object.

Create Participation

Creates an event participation.

Request
cURL
curl -X POST \ 'https://www.wixapis.com/calendar/v3/participations' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ -d '{ "participation": { "eventId": "130o4ncdcmm8csGKUihodsF8Lnx5vQuUmP9uqeurIYireDpysq5nOxSIMvXKf80QrOXzc09i1GXRepTUj2L01bzmifAqWHwp2pTmmtR3TmHJx7Tv6ODrmgS", "externalId": "c7e4cd82-1d17-49b0-b1df-6e1eaed60a20", "participant": { "contactId": "5f4a86c5-fadf-427e-96e7-d57c14a4f49d", "email": "jane.doe@example.com", "name": "Jane Doe", "phone": "55-555-5555" }, "partySize": 1, "status": "CONFIRMED" } }'
Response
JSON
{ "participation": { "id": "b123e549-eb05-4c6e-8dab-0409c7ebc006", "externalId": "c7e4cd82-1d17-49b0-b1df-6e1eaed60a20", "participant": { "name": "Jane Doe", "phone": "55-555-5555", "email": "jane.doe@example.com", "contactId": "5f4a86c5-fadf-427e-96e7-d57c14a4f49d" }, "eventId": "130o4ncdcmm8csGKUihodsF8Lnx5vQuUmP9uqeurIYireDpysq5nOxSIMvXKf80QrOXzc09i1GXRepTUj2L01bzmifAqWHwp2pTmmtR3TmHJx7Tv6ODrmgS", "partySize": 1, "status": "CONFIRMED", "appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97", "revision": "1", "createdDate": "2024-10-07T09:14:54.796Z", "updatedDate": "2024-10-07T09:14:54.796Z" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?