Calendar
Update a calendar
Changed onUpdates the specified calendar.
When you make a PUT request, Nylas replaces all data in the nested object with the information included in your request. For more information, see Updating objects.
put/v3/grants/{grant_id}/calendars/{calendar_id}
Request
- Base URLhttps://api.us.nylas.com
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
selectstring
Specify fields that you want Nylas to return, as a comma-separated list (for example, select=id,updated_at). This allows you to receive only the portion of object data that you're interested in. You can use select to optimize response size and reduce latency by limiting queries to only the information that you need.
Request body
Example request
{
"description": "Junior sports league carpool drivers",
"hex_color": "#039BE5",
"hex_foreground_color": "#039BE5",
"location": "London, England",
"name": "My Updated Calendar",
"timezone": "America/Los_Angeles",
"notetaker": {
"notetaker_settings": {
"name": "Acme Notetaker",
"recording_type": "audio_video",
"transcription": true,
"transcription_settings": {
"expected_languages": [
"en",
"es"
],
"fallback_language": "en",
"keywords": [
"Nylas",
"AssemblyAI"
],
"use_speaker_names_as_keywords": true
},
"summary": true,
"summary_settings": {
"custom_instructions": "Summarize in bullet points."
},
"action_items": true,
"action_items_settings": {
"custom_instructions": "Only return the 5 most important action items."
},
"leave_after_silence_seconds": 600,
"messages": {
"on_join": [
{
"type": "text",
"content": "👋 Hey team! I'm your AI notetaker — here to capture the key points.",
"send_after_ms": 5000
}
],
"on_participant_join": [
{
"type": "text",
"content": "👋 Welcome! Recording and transcription are running.",
"debounce_ms": 3000
}
]
},
"video_output": {
"file_key": "avatar",
"media_type": "image/png",
"data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==",
"size": 184320,
"preview_url": "https://storage.googleapis.com/...",
"preview_url_expires_at": 1786128794
},
"retention_time": 604800
},
"config_id": "d4e78fca-2a90-4b6e-91c3-a7f2bcb0d498",
"autocreate": true,
"deduplication_policy": "inherit",
"meeting_settings": {
"action_items": true,
"action_items_settings": {
"custom_instructions": "Only return the 5 most important action items."
},
"audio_recording": true,
"leave_after_silence_seconds": 360,
"summary": true,
"summary_settings": {
"custom_instructions": "Return this summary in the MEDPIC sales methodology."
},
"transcription": true,
"video_recording": true,
"transcription_settings": {
"expected_languages": [
"en",
"es"
],
"fallback_language": "en",
"keywords": [
"Nylas",
"AssemblyAI"
],
"use_speaker_names_as_keywords": true
},
"messages": {
"on_join": [
{
"type": "text",
"content": "👋 Hey team! I'm your AI notetaker — here to capture the key points.",
"send_after_ms": 5000
}
],
"on_participant_join": [
{
"type": "text",
"content": "👋 Welcome! Recording and transcription are running.",
"debounce_ms": 3000
}
]
}
},
"name": "Nylas Notetaker",
"rules": {
"event_selection": [
"internal",
[
"own_events",
"external"
]
],
"participant_filter": {
"participants_gte": 5,
"participants_lte": 5
}
}
}
}Response
Calendar Response
Example response
{
"request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88"
}Changes
- breaking
the request property
//became not nullable
- breaking
- info
added the optional property
/to the response with the status
- info