> ## 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 timetable

> Adds one day to the agenda. The new day comes with one location already on it, so it can hold an activity straight away. The date must not be one another day of this event already uses.



## OpenAPI

````yaml /openapi.json post /{company}/event/{organizingEvent}/schedule/timetables/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: Discounts
    description: Discounts and the promo codes that hand them out
  - name: Schedule
    description: 'The event agenda: days, locations and activities'
  - name: Speakers
    description: Company-level speakers, billed on activities
  - 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}/event/{organizingEvent}/schedule/timetables/create:
    post:
      tags:
        - Schedule
      summary: Create timetable
      description: >-
        Adds one day to the agenda. The new day comes with one location already
        on it, so it can hold an activity straight away. The date must not be
        one another day of this event already uses.
      operationId: createTimetable
      parameters:
        - name: company
          in: path
          required: true
          schema:
            type: string
          description: Company sqid
        - name: organizingEvent
          in: path
          required: true
          schema:
            type: string
          description: Event slug. The event must be one the company organizes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - date
                - starts_at
                - ends_at
              properties:
                date:
                  type: string
                  format: date
                  description: YYYY-MM-DD. Unique within the event
                starts_at:
                  type: string
                  description: HH:mm wall clock in the event timezone, never a UTC offset
                ends_at:
                  type: string
                  description: >-
                    HH:mm wall clock in the event timezone, never a UTC offset,
                    after starts_at
      responses:
        '201':
          description: Created timetable, with its default location
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Timetable'
        '403':
          description: >-
            The token is missing events:read, schedule:read or the schedule
            write scope for this operation
        '422':
          description: Validation error
      security:
        - bearerAuth:
            - events:read
            - schedule:read
            - schedule:create
components:
  schemas:
    Timetable:
      type: object
      properties:
        id:
          type: string
          description: Timetable sqid
        date:
          type: string
          format: date
          description: YYYY-MM-DD. Unique within the event
        starts_at:
          type: string
          description: HH:mm wall clock in the event timezone
        ends_at:
          type: string
          description: HH:mm wall clock in the event timezone
        locations:
          type: array
          items:
            $ref: '#/components/schemas/ScheduleLocation'
    ScheduleLocation:
      type: object
      properties:
        slug:
          type: string
          description: >-
            Unique within its day only. Generated from the name on create and
            never regenerated
        name:
          type: string
        subtitle:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        position:
          type: integer
          description: Order within the day, from 1
        activities:
          type: array
          items:
            $ref: '#/components/schemas/Activity'
    Activity:
      type: object
      properties:
        id:
          type: string
          description: Activity sqid
        title:
          type: string
        subtitle:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        type:
          type: string
          enum:
            - generic
            - break
        starts_at:
          type: string
          description: HH:mm wall clock in the event timezone, never a UTC offset
        duration:
          type: integer
          description: Minutes
        ends_at:
          type: string
          description: Derived from starts_at and duration; read only
        image_url:
          type: string
          nullable: true
        location:
          type: string
          description: Slug of the location it sits in
        timetable_id:
          type: string
          description: Sqid of the day it sits on
        speakers:
          type: array
          items:
            $ref: '#/components/schemas/Speaker'
    Speaker:
      type: object
      properties:
        id:
          type: string
          description: Speaker sqid
        first_name:
          type: string
        last_name:
          type: string
          nullable: true
        name:
          type: string
          description: First and last name together
        email:
          type: string
          nullable: true
          description: Shown on the programme. Animo never sends a speaker email
        job_title:
          type: string
          nullable: true
        company_name:
          type: string
          nullable: true
          description: The organisation the speaker is billed from, not the Animo company
        short_bio:
          type: string
          nullable: true
        bio:
          type: string
          nullable: true
        avatar_url:
          type: string
          description: >-
            Always populated. A speaker with no uploaded photo gets a
            data:image/svg+xml;base64 initials placeholder
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth2 personal access token from User settings → API tokens

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.