PPylon Developers
ApiOrganizer Events

Add session

Adds a new session (date/time/venue) to an event.

POST
/api/organizer/v1/events/{id}/sessions
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/problem+json

curl -X POST "https://loading/api/organizer/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions" \  -H "Content-Type: application/json" \  -d '{    "venueId": "ff212efe-8b09-4400-9323-a587c102bdd0",    "startAt": "2019-08-24T14:15:22Z",    "endAt": "2019-08-24T14:15:22Z",    "doorsOpenAt": "2019-08-24T14:15:22Z"  }'
{
  "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}