Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
getGet Social Proof ConfigputUpdate Social Proof ConfiggetGet Social Proof Widget EnabledpatchUpdate Social Proof Widget EnabledpostUpsert Social Proof TemplatedelDelete Social Proof TemplategetGet Social Proof StatsgetGet Social Proof Stats Timeseries
Social Proof

Delete Social Proof Template

Deletes a notification template. Events that matched it stop rendering until another template covers that action.

DELETE
/projects/{projectId}/social-proof/templates/{templateId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the template.

templateIdrequiredstring

ID of the template to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://www.saasco.com/api/v2/projects/string/social-proof/templates/string"
{
  "deleted": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Upsert Social Proof Template

Creates a notification template, or updates one when template.id is set. Omitting position appends the template after the current last one.

Get Social Proof Stats

Impression and click totals for the notification widget. Defaults to the last 7 days.