Sponsor → Create
AI-generatedSummary
Create a new sponsor in AgendaForge for a given event.
Inputs
- eventId (required) — ID of the event the sponsor belongs to. Must be in the same organization as your API key.
- name (required) — Sponsor name.
- sponsorAdditionalFields — Additional sponsor fields such as website, description, hasBooth, tierId, etc.
- requestOptions — Node settings for request configuration including batching, SSL bypass, 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 — Request timeout in milliseconds; default 10000.
Output shape
a single sponsor record
The created sponsor object is returned; includes generated identifiers and any fields defined in the request.
Examples
Example 1: Add a new sponsor to an event with ID 12345
eventId: 12345, name: "Acme Corp", sponsorAdditionalFields: {"website": "https://acme.com", "description": "Platinum sponsor", "tierId": "tier_1"}
Example 2: Create a sponsor with batching enabled
eventId: 6789, name: "Beta Ltd", requestOptions: {"batch": {"batchSize": 10}}
Example 3: Create a sponsor using a proxy and custom timeout
eventId: 1122, name: "Gamma LLC", proxy: "http://proxy.example.com:8080", timeout: 15000