Skip to content
Core API
Esc
↑↓navigate↵open⌘Jpreview
On this page

Session ratings

Create and update session ratings with complete curl request examples.

Build a request

Example data only. No request is sent.

POST
Choose the destination IDs
Start with these fields

Session must belong to the event.

Registrant must belong to the event and have a Brella user.

0 represents skipped; accepted range is 0 to 50.

Add optional fields (1)

Rating comment.

Use the API address and token from your environment. Set up authentication.

curl --fail-with-body --silent --show-error --globoff --max-time 30 --request POST \
  --url "${BRELLA_API_BASE_URL}"'/api/core/organizations/123/events/456/session-ratings' \
  --header "Accept: application/vnd.brella.v4+json" \
  --header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
  --header "Content-Type: application/json" \
  --data-raw '{
  "simple_rateable_id": 5501,
  "registrant_id": 1201,
  "score": 4
}'
201 CreatedIllustrative response
{
  "data": {
    "id": "1201",
    "type": "session-rating"
  }
}

The token scope determines returned fields. This selector illustrates that configuration; it does not change your token or the request.

Collection path: events/{event_id}/session-ratings

POST a session rating

POST is an upsert for the session and registrant pair.

View the complete cURL example
curl --fail-with-body --silent --show-error --globoff --max-time 30 --request POST \
  --url "${BRELLA_API_BASE_URL}"'/api/core/organizations/123/events/456/session-ratings' \
  --header "Accept: application/vnd.brella.v4+json" \
  --header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
  --header "Content-Type: application/json" \
  --data-raw '{
  "simple_rateable_id": 5501,
  "registrant_id": 1201,
  "score": 4,
  "comment": "Good session"
}'

The response type is session-rating. Useful write-response fields include simple_rateable_id (returned as session-id), registrant_id, score, comment, and skipped.

PATCH a session rating

View the complete cURL example
curl --fail-with-body --silent --show-error --globoff --max-time 30 --request PATCH \
  --url "${BRELLA_API_BASE_URL}"'/api/core/organizations/123/events/456/session-ratings/9301' \
  --header "Accept: application/vnd.brella.v4+json" \
  --header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
  --header "Content-Type: application/json" \
  --data-raw '{
  "score": 5,
  "comment": "Excellent after the final discussion"
}'

Do not send simple_rateable_id or registrant_id on PATCH; the mutation explicitly rejects changing the session or rater identity.

Input reference

4 inputs. Expand a field for its request type and update behavior. These are the example request keys; your administrator can configure aliases.

simple_rateable_idScalar ID
POST
Required for a successful create
PATCH
Rejected if supplied

Session must belong to the event.

registrant_idScalar ID
POST
Required for a successful create
PATCH
Rejected if supplied

Registrant must belong to the event and have a Brella user.

scoreInteger
POST
Required by the model
PATCH
Optional

0 represents skipped; accepted range is 0 to 50.

commentScalar string or `null`
POST
Optional
PATCH
Optional

Rating comment.

Last updated on August 25, 2026