Session → Create
AI-generatedSummary
Create a new Session in AgendaForge.
Inputs
- eventId (required) — ID of the event the session belongs to. Must be in the same organization as your API key.
- title (required) — Title of the session.
- sessionAdditionalFields — Additional fields for the session (description, duration, end time, etc.).
- requestOptions — Options for the HTTP request such as batching, SSL verification, proxy, and timeout.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
- proxy — HTTP proxy to use, e.g., http://username:password@myproxy:3128.
- timeout — Time in ms to wait for the server to send response headers before aborting the request.
Output shape
a single session record
The response returns the created session object on success; errors are returned in an error envelope.
Examples
Example 1: Create a new session for an event
eventId: 12345, title: "Opening Keynote", sessionAdditionalFields: {"description": "Keynote session", "startTime": "2025-10-01T09:00:00Z", "duration": 60, "type": "keynote"}, requestOptions: {"timeout": 10000}
Example 2: Create a session with additional fields and batching
eventId: 6789, title: "Networking Break", sessionAdditionalFields: {"tags": "networking,break", "maxAttendees": 50}, requestOptions: {"batching": {"batchSize": 25}}
Example 3: Create a session using proxy and ignore SSL
eventId: 1122, title: "Workshop", sessionAdditionalFields: {"type": "workshop"}, requestOptions: {"proxy": "http://proxy.example.com:8080", "allowUnauthorizedCerts": true}