Bagel Api (1.0.0)
Bagel API docs
Download OpenAPI description
Overview
Languages
Servers
https://api.bagel.ai/
Bodyapplication/jsonrequired
The feedback category
Enum"call""ticket""survey""chat""lostReason""note""request""meetingInterview""other"
Example: "call"
Example: [{"originId":"gong-call-123","linkedAccountId":"sf-account-456","createdAt":"2024-01-15T10:30:00.000Z","submitterEmail":"sales@company.com","title":"Feature request from Q4 review","description":"Customer wants better integration with their CRM","priority":"high"},{"originId":"gong-call-124","linkedAccountId":"sf-account-789","createdAt":"2024-01-16T14:00:00.000Z","title":"API enhancement request","description":"Customer needs webhook support"}]
The ID of the original item in the system of origin (e.g., Gong call ID, Survey response ID)
Example: "gong-call-123"
CRM ID of the relevant customer to this evidence/request
Example: "sf-account-456"
The date the evidence was created/submitted (e.g., Call date, survey response date)
Example: "2024-01-15T10:30:00.000Z"
If applicable, the email of the internal employee who submitted this evidence
Example: "john.doe@company.com"
Optional title for the feedback item
Example: "Feature request from customer call"
Optional description of the feedback
Example: "Customer requested advanced reporting capabilities during the sales call"
Optional product component related to this feedback
Example: "reporting-module"
https://api.bagel.ai/sync/feedback
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.bagel.ai/sync/feedback \
-H 'Content-Type: application/json' \
-H 'authorization: YOUR_API_KEY_HERE' \
-d '{
"feedbackName": "gong_feature_request",
"feedbackCategory": "call",
"originSystem": "gong",
"records": [
{
"originId": "gong-call-123",
"linkedAccountId": "sf-account-456",
"createdAt": "2024-01-15T10:30:00.000Z",
"submitterEmail": "sales@company.com",
"title": "Feature request from Q4 review",
"description": "Customer wants better integration with their CRM",
"priority": "high"
},
{
"originId": "gong-call-124",
"linkedAccountId": "sf-account-789",
"createdAt": "2024-01-16T14:00:00.000Z",
"title": "API enhancement request",
"description": "Customer needs webhook support"
}
]
}'Response
application/json
{ "receivedCount": 2, "filteredCount": 2, "insertedCount": 2, "skippedCount": 0, "errors": [] }