PgBeam Docs
Analytics

Submit cancellation feedback

POST
/v1/organizations/{org_id}/cancellation-feedback

Records optional feedback when a user cancels their subscription.

Authorization

AuthorizationBearer <token>

JWT issued by Better Auth. Verified via JWKS.

In: header

Path Parameters

org_id*string

Unique organization identifier.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for capturing cancellation feedback from a user.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/organizations/org_abc123/cancellation-feedback" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}