Calendar
Create a calendar
Changed onCreates a calendar.
post/v3/grants/{grant_id}/calendars
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",
"location": "London, England",
"name": "My New Calendar",
"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
}
}
},
"timezone": "America/Los_Angeles"
}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