Skip to content
Docs
Operation

Validate layout changes

POST/events/{eventId}/layout/validate
Checks a set of layout changes against what has already been sold, and reports what each change would block or affect. Nothing is applied.

Path parameters

eventIdstringRequired
Event ID

Body

Returns

Layout changes validated

Errors

400
Bad Request - Invalid input
401
Unauthorized - Authentication required
403
Forbidden - Insufficient permissions
404
Not Found - Resource not found
500
Internal Server Error

Every error names its code and links to it. All error codes

curl -X POST "https://api.ticketlayer.com/v1/events/evt_abc123/layout/validate" \  -H "Authorization: Bearer tlak_..." \  -H "X-Ticketlayer-Org: your-org-slug" \  -H "Content-Type: application/json" \  -d '{    "accountId": "acc_abc123",    "changes": {      "removedSeats": [        "eas_seat1",        "eas_seat2"      ],      "addedSeats": [        {          "id": "string",          "areaId": "string",          "row": "string",          "number": "string",          "priceCategory": "string",          "isAccessible": true,          "isCompanion": true        }      ],      "capacityChanges": [        {          "areaId": "string",          "oldCapacity": 0,          "newCapacity": 0        }      ],      "seatAttributeChanges": [        {          "seatId": "string",          "changes": {            "priceCategory": "string",            "isAccessible": true,            "isCompanion": true          }        }      ]    },    "futureOnly": true  }'
Response 200
{
  "workflowId": "layout-validate-evt_abc123-1712345678901"
}

Try it in test mode

Path parameters
Event ID