POST/rating/submit

Submit helpful rating (widget - legacy)

Submit a helpful rating (thumbs up/down) for a specific project. This endpoint is designed for widget integration and validates the origin against the project's allowed origins. For typed ratings, use /ratings.

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

Rating submission payload

application/json
RatingSubmission

Rating submission request

pathstringrequired

URL path where the rating was submitted

Example: /docs/getting-started
project_keystring (uuid)required(uuid)

Unique identifier for the project (UUID format)

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

Optional user identifier from your system

Example: user_12345
valuebooleanrequired

Rating value - true for helpful, false for not helpful

Example: true
versionstring

Optional application version

Example: 1.2.3

Responses

Navigation