GET /events
Get all Events for a Project. This endpoint lists all types of Events including Pageview Events which are stored as Pages. You can also get Goal objects from Optimizely Classic by setting the include_classic parameter to true.
Servers
- https://api.optimizely.com/v2
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page |
Integer | No |
Optional pagination argument that specifies the page to return. If you have 140 objects and you choose to return 100 objects per page you will be able to access the last 40 objects on page 2. The default value is 1. Default value: 1 |
project_id |
Integer | Yes |
The ID of the Project you would like to list all Events for |
per_page |
Integer | No |
Optional pagination argument that specifies the maximum number of objects to return per request Default value: 25 |
include_classic |
Boolean | No |
Whether or not to include classic Events in the list of Events. If this parameter is not provided it will default to false Default value: false |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.