PPylon Developers
ApiOrganizer Venues

Create Venue

POST
/api/organizer/v1/venues
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/organizer/v1/venues" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": null,    "street": "string",    "city": "string",    "state": "string",    "postalCode": "string",    "country": "string",    "latitude": -90,    "longitude": -180,    "defaultCapacity": 1,    "contactEmail": null,    "contactPhone": null  }'
{
  "venueId": "ff212efe-8b09-4400-9323-a587c102bdd0"
}
{
  "code": "string",
  "message": "string"
}