curl --request GET \
--url https://api.perscom.io/{version}/events \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 123,
"name": "<string>",
"calendar_id": 123,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_enabled": true,
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}
curl --request GET \
--url https://api.perscom.io/{version}/events \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 123,
"name": "<string>",
"calendar_id": 123,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_enabled": true,
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"last_page": 123,
"path": "<string>",
"per_page": 123,
"to": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The API version to use.
v1
, v2
image
OK
The response is of type object
.
Was this page helpful?