Skip to main content

Get Subscribed Events

This endpoint retrieves all events the user is subscribed to; it will return only the not ended events. If you want to retrieve the past events use the past parameter.

info

This operation requires authentication.

HTTP Request

GET /api/v2/event/

Parameters

NameInTypeRequiredDescription
subscription_statusquerystringfalseFilter by subscription status
pastquerybooleanfalseReturn only past events (events already ended) or events not ended (default)
limitqueryintegerfalseNumber of results to return per page
offsetqueryintegerfalseThe initial index from which to return the results

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/event/',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» countintegerfalsenoneTotal results count
» nextstring(uri)¦nullfalsenoneNext page url
» previousstring(uri)¦nullfalsenonePrevious page url
» resultslist(Event)falsenoneList of results