> ## Documentation Index
> Fetch the complete documentation index at: https://flywheel.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Register User for Webinar

> Register someone for a webinar. The user does NOT need to exist in Flywheel already: they are found by any supplied identifier (user_id, email, phone or anonymous_id) or created as a new user profile. Registration enrolls the user into every live workflow with a matching Webinar Registration trigger and fires a `$fw_webinar_registration` event. Repeat registrations for the same user are idempotent and produce no duplicate side effects.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/webinars/register
openapi: 3.0.0
info:
  title: Flywheel API
  description: >-
    Complete API for tracking events, sending transactional emails, and building
    comprehensive user profiles
  version: 1.0.0
  contact:
    email: support@flywheel.cx
servers:
  - url: https://api.flywheel.cx
    description: Production server
security:
  - apiKeyAuth: []
    authTypeHeader: []
paths:
  /v1/webinars/register:
    post:
      tags:
        - Webinars
      summary: Register User for Webinar
      description: >-
        Register someone for a webinar. The user does NOT need to exist in
        Flywheel already: they are found by any supplied identifier (user_id,
        email, phone or anonymous_id) or created as a new user profile.
        Registration enrolls the user into every live workflow with a matching
        Webinar Registration trigger and fires a `$fw_webinar_registration`
        event. Repeat registrations for the same user are idempotent and produce
        no duplicate side effects.
      operationId: registerForWebinar
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterForWebinarRequest'
            examples:
              new_user:
                summary: Register a brand-new user by email
                value:
                  webinar_id: 0d4f6f36-2b6a-4c1e-9a6f-1f2d3c4b5a69
                  user:
                    email: jane@acme.com
                    full_name: Jane Doe
                    properties:
                      company: Acme
                      signup_source: landing_page
              existing_user:
                summary: Register an existing user by your own user id
                value:
                  webinar_id: 0d4f6f36-2b6a-4c1e-9a6f-1f2d3c4b5a69
                  user:
                    user_id: user_123
      responses:
        '200':
          description: Registration created (or already existed)
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  registration_id:
                    type: string
                    format: uuid
                  org_user_id:
                    type: string
                    format: uuid
                    description: The Flywheel id of the matched or newly created user
                  already_registered:
                    type: boolean
                    description: True if this user was already registered for the webinar
        '400':
          description: Validation error (e.g. no user identifier supplied)
        '401':
          description: Invalid or missing API key
        '404':
          description: Webinar not found for this organization
components:
  schemas:
    RegisterForWebinarRequest:
      type: object
      required:
        - webinar_id
        - user
      properties:
        webinar_id:
          type: string
          format: uuid
        user:
          $ref: '#/components/schemas/WebinarRegistrationUser'
    WebinarRegistrationUser:
      type: object
      description: >-
        The user to register. At least one identifier (user_id, email, phone or
        anonymous_id) is required. Unknown users are created; known users are
        matched and updated.
      properties:
        user_id:
          type: string
          description: Your own user id for this person (org_assigned_user_id)
        email:
          type: string
          format: email
        phone:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        full_name:
          type: string
          description: Automatically split into first/last name when both are not supplied
        anonymous_id:
          type: string
        properties:
          type: object
          description: >-
            Custom properties to set on the user profile (string, number,
            boolean or ISO date values)
          additionalProperties:
            oneOf:
              - type: string
              - type: number
              - type: boolean
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Enter your API key obtained from the Flywheel dashboard (without 'Bearer
        ' prefix)
    authTypeHeader:
      type: apiKey
      in: header
      name: Auth-Type
      description: Authentication type header. Must be set to 'api' for all API requests.
      x-default: api
      x-example: api

````