APIEndpoint referenceVenue

/venue

POST
/api/v2/venue

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/v2/venue" \  -H "Content-Type: application/json" \  -d '{    "capacity": 0,    "cityName": "string",    "countrySlug": "string",    "id": 0,    "latitude": "string",    "longitude": "string",    "name": "string",    "slug": "string"  }'
{  "$schema": "https://example.com/schemas/VenueCreateCreatedBody.json",  "id": 0,  "message": "string",  "name": "string"}