Creates a new note within the specified workspace (team_id). The note object is provided in the request body, including the note title, content, and any other relevant details (optional fields include transcript and user notes). Upon successful creation, the new note is returned in the response.
curl --request POST \
--url https://api.superthread.com/v1/{team_id}/notes \
--header 'Content-Type: application/json' \
--data '
{
"title": "Team Note",
"transcript": "<string>",
"transcripts": [
{
"content": "This is a transcript",
"source": "author"
}
],
"user_notes": "<string>",
"is_public": true,
"attendees": [
{
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
}
],
"metadata_date": 1608742037016,
"metadata_time": 1608742037016,
"google_calendar_event": {
"id": "<string>",
"recurring_event_id": "<string>",
"title": "<string>",
"description": "<string>",
"meeting_links": [
{
"provider": "google",
"link": "<string>"
}
],
"attendees": [
{
"email": "<string>",
"name": "<string>",
"organizer": true
}
],
"start": 1608742037016,
"end": 1608742037016,
"updated": 1608742037016,
"location": "<string>"
}
}
'{
"note": {
"id": "",
"title": "Team Note",
"transcript": "<string>",
"transcripts": [
{
"content": "This is a transcript",
"source": "author",
"id": "43",
"time_created": 1608742037016,
"time_updated": 1608742037016
}
],
"user_notes": "<string>",
"ai_notes": [
{
"id": "866a3b86-4651-482c-bb69-61921ea4548c",
"note_template_id": "1da3b68c-3a82-495c-a6c9-e7a494281a36",
"title": "Team Note",
"content": "<string>",
"time_updated": 1608742037016,
"related_resources": [
{
"id": "123",
"type": "card",
"cosine_similarity": 0.8
}
]
}
],
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "[email protected]",
"email_verified": false
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "[email protected]",
"email_verified": false
}
},
"team_id": "tdsu0j19",
"last_note_template_id": "<string>",
"is_public": false,
"public_settings": {
"url": "https://notes.superthread.com/n/1"
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"meeting_metadata": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"links": [
{
"provider": "google",
"link": "<string>"
}
],
"location": "<string>",
"start_time": 1608742037016,
"end_time": 1608742037016
},
"meeting_date": 1608742037016,
"meeting_time": 1608742037016,
"meeting_organizer": {
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
},
"meeting_attendees": [
{
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
}
]
}
}Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".
Note object that needs to be created
"Team Note"
Show child attributes
102400List of initial attendees to add. Assumes all fields of MeetingParticipant are set (Meaning all participants are Superthread members).
100Show child attributes
unix timestamp in seconds
1608742037016
unix timestamp in seconds
1608742037016
Show child attributes
note created
Show child attributes
curl --request POST \
--url https://api.superthread.com/v1/{team_id}/notes \
--header 'Content-Type: application/json' \
--data '
{
"title": "Team Note",
"transcript": "<string>",
"transcripts": [
{
"content": "This is a transcript",
"source": "author"
}
],
"user_notes": "<string>",
"is_public": true,
"attendees": [
{
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
}
],
"metadata_date": 1608742037016,
"metadata_time": 1608742037016,
"google_calendar_event": {
"id": "<string>",
"recurring_event_id": "<string>",
"title": "<string>",
"description": "<string>",
"meeting_links": [
{
"provider": "google",
"link": "<string>"
}
],
"attendees": [
{
"email": "<string>",
"name": "<string>",
"organizer": true
}
],
"start": 1608742037016,
"end": 1608742037016,
"updated": 1608742037016,
"location": "<string>"
}
}
'{
"note": {
"id": "",
"title": "Team Note",
"transcript": "<string>",
"transcripts": [
{
"content": "This is a transcript",
"source": "author",
"id": "43",
"time_created": 1608742037016,
"time_updated": 1608742037016
}
],
"user_notes": "<string>",
"ai_notes": [
{
"id": "866a3b86-4651-482c-bb69-61921ea4548c",
"note_template_id": "1da3b68c-3a82-495c-a6c9-e7a494281a36",
"title": "Team Note",
"content": "<string>",
"time_updated": 1608742037016,
"related_resources": [
{
"id": "123",
"type": "card",
"cosine_similarity": 0.8
}
]
}
],
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "[email protected]",
"email_verified": false
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "[email protected]",
"email_verified": false
}
},
"team_id": "tdsu0j19",
"last_note_template_id": "<string>",
"is_public": false,
"public_settings": {
"url": "https://notes.superthread.com/n/1"
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"meeting_metadata": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"links": [
{
"provider": "google",
"link": "<string>"
}
],
"location": "<string>",
"start_time": 1608742037016,
"end_time": 1608742037016
},
"meeting_date": 1608742037016,
"meeting_time": 1608742037016,
"meeting_organizer": {
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
},
"meeting_attendees": [
{
"user_id": "uDsu0j19",
"email": "[email protected]",
"name": "John Doe"
}
]
}
}