POST

Assign Events


Assigns events to a single category.

Authentication

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

Permissions
Manage Events - all permissions
Manage Events
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events/v1/categories/{categoryId}/events

Path Params
categoryIdstringRequired

ID of category to which events should be assigned.

Body Params
eventIdArray <string>Requiredformat GUIDminItems 1maxItems 100

A list of events IDs.

Response Object
Returns an empty object.
Assign Events Example 1
Request
cURL
Response
JSON
Errors

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

Did this help?