Create multiple events

Use this API call to create multiple events at once for a chart. The maximum number of events that can be created with a single API call is 100.

POST https://api-{region}.seatsio.net/events/actions/create-multiple

Request

{
"chartKey": "4250fffc-e41f-c7cb-986a-2c5e728b8c28",
"events": [
{
"eventKey": "event34",
"tableBookingConfig": { "mode": "ALL_BY_TABLE" },
"socialDistancingRulesetKey": "ruleset1"
},
{
"eventKey": "event35",
"tableBookingConfig": { "mode": "ALL_BY_SEAT" },
"socialDistancingRulesetKey": "ruleset2"
}
]
}

The docs for the call to create a single event explain these request parameters.

Example request

curl https://api-{region}.seatsio.net/events/actions/create-multiple \
-u aSecretKey: -X POST -H 'Content-Type: application/json' -d '{"chartKey": "4250fffc-e41f-c7cb-986a-2c5e728b8c28", "events": [{}, {}]}'
{
"events": [
{
"id": 169,
"key": "event34",
"chartKey": "4250fffc-e41f-c7cb-986a-2c5e728b8c28",
"tableBookingConfig": { "mode": "ALL_BY_TABLE" },
"createdOn": "2017-05-05T10:58:44.715Z"
},
{
"id": 170,
"key": "event35",
"chartKey": "4250fffc-e41f-c7cb-986a-2c5e728b8c28",
"tableBookingConfig": { "mode": "ALL_BY_SEAT" },
"createdOn": "2017-05-05T10:58:44.815Z"
}
]
}