curl --request PATCH \
--url https://api.perscom.io/{version}/events/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": {
"{key}": {
"name": "<string>",
"calendar_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"notifications_enabled": true,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
]
}
}
}
'{
"data": [
{
"name": "<string>",
"calendar_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"notifications_enabled": true,
"id": 123,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}curl --request PATCH \
--url https://api.perscom.io/{version}/events/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": {
"{key}": {
"name": "<string>",
"calendar_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"notifications_enabled": true,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
]
}
}
}
'{
"data": [
{
"name": "<string>",
"calendar_id": 123,
"all_day": false,
"starts": "2023-11-07T05:31:56Z",
"ends": "2023-11-07T05:31:56Z",
"repeats": false,
"registration_enabled": true,
"notifications_enabled": true,
"id": 123,
"description": "<string>",
"content": "<string>",
"location": "<string>",
"url": "<string>",
"author_id": 123,
"registration_deadline": "2023-11-07T05:31:56Z",
"notifications_interval": [
"pt0m"
],
"notifications_channels": [
"broadcast"
],
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 attachments, author, author.*, calendar, calendar.*, comments, comments.*, image, schedule, tags Show child attributes
Show child attributes
Supports HTML.
Supports HTML.
pt0m, pt15m, pt1h, p1d, p1w broadcast, database, discord_private, discord_public, mail, sms OK
Show child attributes
Supports HTML.
Supports HTML.
pt0m, pt15m, pt1h, p1d, p1w broadcast, database, discord_private, discord_public, mail, sms The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?