---
title: "POST /4.0/layout-automation/custom-setup"
method: POST
path: "/4.0/layout-automation/custom-setup"
tags: ["Layout Automation"]
---

# POST /4.0/layout-automation/custom-setup

`POST /4.0/layout-automation/custom-setup`

actively calculates layout and creates an event/space/diagram using custom_setup defined from Home Team Setup Presets https://home-2018.socialtables.com/settings/team-setup-presets

## Request body

- CustomSetupPostLayoutAutomationService
  - `event_id` number
  - `uses_metric` boolean
  - `start_time` string, date-time
  - `end_time` string, date-time
  - `category` string, required
  - `name` string — Required if no event_id is provided.
  - `public` boolean
  - `attendee_management` boolean
  - `useSocialDistance` boolean
  - `spaces` SpaceCustomSetupLayoutAutomationService[], required
    - `id` integer
    - `name` string, required
    - `external_event_id` string
    - `external_diagram_id` string
    - `venue_id` string
    - `custom_setup` string, required
    - `attendees` integer, required
  - `user_email` string
  - `team_id` number

## Response `200`

full event created by the layout automation service

- PersistedAutomationPostResponseLayoutAutomationService
  - `id` integer
  - `name` string
  - `user_id` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `is_a_sample` integer
  - `category` string
  - `is_public` boolean
  - `pricing_plan` string
  - `team_id` integer
  - `eventbrite_event_id` string
  - `eventbrite_access_token` string
  - `last_accessed` string, date-time
  - `logo` string
  - `floor_only` integer
  - `is_archived` boolean
  - `aim_only` integer
  - `start_time` string, date-time
  - `end_time` string, date-time
  - `mobile_col1` integer
  - `mobile_col2` integer
  - `event_url` string
  - `screenshot_url` string
  - `thumb_url` string
  - `forTraining` boolean
  - `uses_metric` integer
  - `collaborators_expire_at` string, date-time
  - `venue_mapper_version` integer
  - `uid` string
  - `cvent_rfp_id` string
  - `last_activity` string, date-time
  - `has_time` boolean
  - `status` string
  - `industry` string
  - `author` EventAuthorLayoutAutomationService
    - `id` integer
    - `first_name` string
    - `last_name` string
    - `email_address` string
  - `spaces` SpaceResultLayoutAutomationService[]
    - `id` integer
    - `event_id` integer
    - `space_order` integer
    - `bookable_room` string
    - `venue_id` string
    - `name` string
    - `updated_at` string, date-time
    - `is_new` boolean
    - `diagram_id` string
    - `pdf_url` string
    - `warnings` object[]
      - `message` string
      - `resolution` string
    - `errors` object[]
      - `message` string
      - `resolution` string
  - `message` string

---

[API](https://skmtc.net/socialtables/apis/social-tables-api-gateway.md) · [All operations](https://skmtc.net/socialtables/apis/social-tables-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/socialtables/social-tables-api-gateway/versions/221c9d836cf0/schema)
