Skip to main content

Search events

Searches your account event history.

Paramaters​

start_date - optional​

You can pass a date formated as 2022-01-01 or by default, we'll filter by the first of the current month.

end_date - optional​

You can pass a date formated as 2022-01-21 or by default, we'll filter by the last day of the month.

page_limit - optional​

Number of records returned on each page. Defaults to 10.

page - optional​

Page number of data returned. Defaults to first page. If the value is greater than the last page found, the last page is returned.

Code Example​

GET - https://api.particlespace.com/api/v1/events
var axios = require('axios');
const BEARER_TOKEN = 'SET_ME';
var config = {
method: 'get',
url: 'https://api.particlespace.com/api/v1/events?start_date=2022-01-01&end_date=2022-01-31&page_limit=5&page=1',
headers: {
'Authorization': 'Bearer ' + BEARER_TOKEN
}
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});