POST/ratings

Submit typed rating (widget)

Submit a rating of any type (helpful, star, NPS) for a specific project. This is the unified endpoint supporting all rating types.

Base URLhttps://seggwat.com/api/v1

Parameters

Refererheaderstring (uri-reference)

Optional HTTP Referer header indicating the page URL where the submission originated

Example: https://example.com/dashboard

Request Body

required

Unified rating submission payload

application/json
UnifiedRatingSubmission

Unified rating submission request for widgets

contextRatingContext

Context information for a rating

project_keystring (uuid)required(uuid)

Unique identifier for the project (UUID format)

Example: 550e8400-e29b-41d4-a716-446655440000
ratingRatingValuerequired

Polymorphic rating value based on type

Responses

Navigation