Ingest a meeting from any source
curl --request POST \
--url https://receiver.momentum.io/v1/user-provided-meeting \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"meeting": {
"title": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"host": {
"name": "<string>",
"email": "jsmith@example.com"
},
"id": "<string>",
"callUrl": "<string>",
"recordingUrl": "<string>",
"attendees": [
{
"email": "jsmith@example.com",
"isInternal": true,
"name": "<string>"
}
],
"salesforceAccountId": "<string>",
"salesforceOpportunityId": "<string>"
},
"processImportedMeeting": true
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
meeting: {
title: '<string>',
startTime: '2023-11-07T05:31:56Z',
endTime: '2023-11-07T05:31:56Z',
host: {name: '<string>', email: 'jsmith@example.com'},
id: '<string>',
callUrl: '<string>',
recordingUrl: '<string>',
attendees: [{email: 'jsmith@example.com', isInternal: true, name: '<string>'}],
salesforceAccountId: '<string>',
salesforceOpportunityId: '<string>'
},
processImportedMeeting: true
})
};
fetch('https://receiver.momentum.io/v1/user-provided-meeting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://receiver.momentum.io/v1/user-provided-meeting"
payload = {
"meeting": {
"title": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"host": {
"name": "<string>",
"email": "jsmith@example.com"
},
"id": "<string>",
"callUrl": "<string>",
"recordingUrl": "<string>",
"attendees": [
{
"email": "jsmith@example.com",
"isInternal": True,
"name": "<string>"
}
],
"salesforceAccountId": "<string>",
"salesforceOpportunityId": "<string>"
},
"processImportedMeeting": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://receiver.momentum.io/v1/user-provided-meeting"
payload := strings.NewReader("{\n \"meeting\": {\n \"title\": \"<string>\",\n \"startTime\": \"2023-11-07T05:31:56Z\",\n \"endTime\": \"2023-11-07T05:31:56Z\",\n \"host\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\"\n },\n \"id\": \"<string>\",\n \"callUrl\": \"<string>\",\n \"recordingUrl\": \"<string>\",\n \"attendees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"isInternal\": true,\n \"name\": \"<string>\"\n }\n ],\n \"salesforceAccountId\": \"<string>\",\n \"salesforceOpportunityId\": \"<string>\"\n },\n \"processImportedMeeting\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Meetings
Ingest a meeting from any source
Ingests a meeting and optional transcript from any source into the Momentum system.
POST
/
v1
/
user-provided-meeting
Ingest a meeting from any source
curl --request POST \
--url https://receiver.momentum.io/v1/user-provided-meeting \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"meeting": {
"title": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"host": {
"name": "<string>",
"email": "jsmith@example.com"
},
"id": "<string>",
"callUrl": "<string>",
"recordingUrl": "<string>",
"attendees": [
{
"email": "jsmith@example.com",
"isInternal": true,
"name": "<string>"
}
],
"salesforceAccountId": "<string>",
"salesforceOpportunityId": "<string>"
},
"processImportedMeeting": true
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
meeting: {
title: '<string>',
startTime: '2023-11-07T05:31:56Z',
endTime: '2023-11-07T05:31:56Z',
host: {name: '<string>', email: 'jsmith@example.com'},
id: '<string>',
callUrl: '<string>',
recordingUrl: '<string>',
attendees: [{email: 'jsmith@example.com', isInternal: true, name: '<string>'}],
salesforceAccountId: '<string>',
salesforceOpportunityId: '<string>'
},
processImportedMeeting: true
})
};
fetch('https://receiver.momentum.io/v1/user-provided-meeting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://receiver.momentum.io/v1/user-provided-meeting"
payload = {
"meeting": {
"title": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"host": {
"name": "<string>",
"email": "jsmith@example.com"
},
"id": "<string>",
"callUrl": "<string>",
"recordingUrl": "<string>",
"attendees": [
{
"email": "jsmith@example.com",
"isInternal": True,
"name": "<string>"
}
],
"salesforceAccountId": "<string>",
"salesforceOpportunityId": "<string>"
},
"processImportedMeeting": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://receiver.momentum.io/v1/user-provided-meeting"
payload := strings.NewReader("{\n \"meeting\": {\n \"title\": \"<string>\",\n \"startTime\": \"2023-11-07T05:31:56Z\",\n \"endTime\": \"2023-11-07T05:31:56Z\",\n \"host\": {\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\"\n },\n \"id\": \"<string>\",\n \"callUrl\": \"<string>\",\n \"recordingUrl\": \"<string>\",\n \"attendees\": [\n {\n \"email\": \"jsmith@example.com\",\n \"isInternal\": true,\n \"name\": \"<string>\"\n }\n ],\n \"salesforceAccountId\": \"<string>\",\n \"salesforceOpportunityId\": \"<string>\"\n },\n \"processImportedMeeting\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}⌘I

