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

# Create event

> Creates an event. Slug is derived from name on create — use PATCH to set a specific slug. For paid tickets, attendees pay through Animo hosted checkout; do not build payment UI.



## OpenAPI

````yaml /openapi.json post /{company}/events/create
openapi: 3.1.0
info:
  title: Animo API
  version: 1.1.0
  description: >-
    Animo events platform API. Orchestrate setup and operations — never rebuild
    payments, VAT, invoicing, or form submission ingest. Read
    https://docs.animo.co/for-ai-agents before integrating.
  contact:
    name: Animo support
    email: support@animo.co
    url: https://docs.animo.co
servers:
  - url: https://app.animo.co/api/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: User
    description: Authenticated user
  - name: Companies
    description: Company context
  - name: Events
    description: Event management
  - name: Ticket types
    description: Ticket types for organizing events
  - name: Orders
    description: Registrations and orders
  - name: Forms
    description: Form definitions
  - name: Activations
    description: Lead-generation activations
  - name: Webhooks
    description: Outbound webhooks (Pro)
paths:
  /{company}/events/create:
    post:
      tags:
        - Events
      summary: Create event
      description: >-
        Creates an event. Slug is derived from name on create — use PATCH to set
        a specific slug. For paid tickets, attendees pay through Animo hosted
        checkout; do not build payment UI.
      operationId: createEvent
      parameters:
        - name: company
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - date_start
                - date_end
                - attendance_mode
                - locale
                - company_role
              properties:
                name:
                  type: string
                date_start:
                  type: string
                  description: Y-m-d H:i
                date_end:
                  type: string
                attendance_mode:
                  type: string
                  enum:
                    - online
                    - offline
                locale:
                  type: string
                  enum:
                    - en
                    - nl
                    - fr
                    - de
                    - pt
                    - es
                company_role:
                  type: string
                  enum:
                    - organizing
                    - attending
                requires_ticket_assignment:
                  type: boolean
                city:
                  type: string
                province:
                  type: string
                country:
                  type: string
                timezone:
                  type: string
      responses:
        '201':
          description: Created event
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Event'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth:
            - events:read
            - events:create
components:
  schemas:
    Event:
      type: object
      properties:
        id:
          type: string
          description: Event slug (public URL segment)
        name:
          type: string
        date_start:
          type: string
          format: date-time
        date_end:
          type: string
          format: date-time
        attendance_mode:
          type: string
          enum:
            - online
            - offline
        company_role:
          type: string
          enum:
            - organizing
            - attending
        locale:
          type: string
          enum:
            - en
            - nl
            - fr
            - de
            - pt
            - es
        requires_ticket_assignment:
          type: boolean
        timezone:
          type: string
          nullable: true
        privacy_policy:
          type: string
          nullable: true
    Error:
      type: object
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth2 personal access token from User settings → API tokens

````