Creating events
To create events you must have a System scope access token with full access to a company environment. You must have in hands the following query attributes: tokenID companyID, and the following body attributes: name and nickname.
nameis the Event name;nicknameis the string that will be used in the browser URL to access the event;
Example
The endpoint that you should use is company.event.bind on RCP or company/event/bind on RESTful.
Here is how to create an event:
curl --request POST \
--url 'https://api.inevent.com/?action=company.event.bind&companyID=YOUR_COMPANY_ID' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data name=This%20is%20a%20test%20event&nickname=my-test-event-1632854490If you want to copy data from a previous event you can use the siblingID query attribute with the previous eventID as the value.
If you want to create an event based on a template you can use the templateID query attribute with the id of the template as the value.
If you want this event to be a template you can use the isTemplate query attribute with 1 as the value. Templates have limited functionality and its purpose is only to create the bare essentials for your events.
Response
Once you create the event, you will get a response similar to the following one:
JSON
The URL to access the event will then be the following:
Once the event is created, you can now manage it accessing the URL above or manage it entirely through the API.
Last updated