Where to find your API key
In WordPress go to AiX Webinars, Webinars, open the webinar, then the Registration tab. Scroll to the panel “Put this registration anywhere”. Under “Your API key” press Reveal or Copy. The key is created automatically and is the same for every webinar on the site. Keep it private: anyone holding it can add registrations. The same panel shows the exact API address to send to and the webinar’s ID, which never changes even if the web address changes.
The API address
POST https://THEIR-SITE/wp-json/results-ai-webinars/v1/api-register
Send the key in the header X-RWB-Key, or as a field named key if the tool cannot set headers.
Fields
– webinar (required): the webinar’s ID or its slug
– email (required)
– first_name (optional): used in the greeting
– tz (optional): the person’s time zone, for example Europe/London
– source (optional): a label shown on the registrant, for example zapier or checkout (api by default)
– Tracking (optional): utm_source, utm_medium, utm_campaign, utm_term, utm_content, aff, sid, tid, cid, hop, gclid, fbclid, as ordinary fields or inside an attr map. Stored with the registrant and passed to the autoresponder.
– lead_hours (optional): book them into a session at least this many hours ahead. The panel also has a default for this.
– resend_confirmation=1 (optional): send the confirmation email again on purpose
Example
curl -X POST https://THEIR-SITE/wp-json/results-ai-webinars/v1/api-register -H “X-RWB-Key: YOUR_KEY” -d webinar=WEBINAR_ID -d email=jane@example.com -d first_name=Jane -d utm_source=checkout
The reply
It contains the person’s personal join_url and thanks_url, and the session start as starts_at. The confirmation email goes out exactly as if they had used the form, and the person is added to the connected autoresponders.
Sending the same person twice is safe (for example a payment platform retrying its webhook): while they still hold a seat they get that same seat and link back with already_registered: true, and nothing is booked or emailed twice.
Docs: resultsaix.com/docs/results-ai-webinars/putting-your-registration-form-anywhere/