How to set session capacity and pricing

How to set session capacity and pricing

Use this guide when you need to configure the maximum number of attendees for a session, or set a ticket price.


Request — set capacity and price together

Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=42" \
  -F "capacity=50" \
  -F "price=100"

Request — set as unlimited and free

Bash
curl -X POST "https://your-event-domain.com/api/v2/sessions/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=42" \
  -F "capacity=0" \
  -F "price=0"

Accepted values

Field

Value

Meaning

capacity

0

Unlimited attendance

capacity

Any positive integer

Maximum number of attendees

price

0

Free session

price

Any positive integer

Session price (in your event's configured currency)