Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up Email MarketingDraft a campaign
getGet Sender Status
Set up a workflow
Email MarketingSender

Get Sender Status

Reports whether the project is currently allowed to send email. Saasco blocks sending for projects with poor deliverability or abuse signals; when blocked, canSend is false and statusReason explains why. Send Email Campaign and Send Test Email both enforce this, so check it before offering a send action in your own UI.

GET
/projects/{projectId}/email-campaigns/sender-status

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to check.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://www.saasco.com/api/v2/projects/string/email-campaigns/sender-status"
{
  "canSend": true,
  "status": "allowed",
  "statusReason": "string"
}
{
  "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": []
}

Get Email Events

The delivery timeline for a single email: an ordered list of `{ type, timestamp }` entries covering pending, sent, delivered, opened, clicked, bounced, complained, suppressed, and delivery-delayed. Types can repeat: a recipient who opens twice produces two `opened` entries.

List Workflows

Lists the project's workflows with name and status. Audience filters and trigger settings are omitted — fetch a workflow by id for those. Supports paging and an optional sort.