Skip to Content

Send feedback

Tells Samva what was confusing, broken, or missing in the API.

POST
/v1/feedback

Tells Samva what was confusing, broken, or missing in the API. Programs and coding agents can call it the moment something goes wrong, naming the operation and resource involved. Samva's team reads every report; the answer is a receipt, not a reply.

Authorization

apiKey
headerx-api-key<token>

Request Body

application/json
  1. body
message*string

What happened and what you expected, in plain language (at most 4000 characters).

Match\S
Lengthlength <= 4000
category?|null
context?|null

Response Body

FeedbackReceipt

application/json
  1. response
id*FeedbackId
Match^fdbk_[0-9a-hjkmnp-tv-z]{16,24}$
createdAt*string
Example Request
import { createClient } from "samva";

const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });

const result = await samva.feedback.send({
  "message": "example"
});
Example Response
{
  "id": "string",
  "createdAt": "string"
}

Related documentation