unsent
unsent.dev
API Reference

Settings

The Settings API allows you to retrieve account configuration and plan limits.

Base URL

https://api.unsent.dev/v1/settings

Features

Account Info

View team ID and name

Plan Limits

Check your daily and monthly email quotas

Overview

The Settings API provides a single endpoint to retrieve your team's configuration, plan information, and email sending limits. This is useful for checking quotas, displaying account information, and validating your plan status.

Quick Start

Get Settings

Retrieve your team's settings and current plan limits.

curl -X GET https://api.unsent.dev/v1/settings \
  -H "Authorization: Bearer your-api-key"

Example Response (FREE Plan):

{
  "id": "team_abc123",
  "name": "My Team",
  "plan": "FREE",
  "dailyEmailLimit": 100,
  "monthlyEmailLimit": 3000
}

Example Response (PREMIUM Plan):

{
  "id": "team_xyz789",
  "name": "Enterprise Team",
  "plan": "PREMIUM",
  "dailyEmailLimit": 50000,
  "monthlyEmailLimit": -1
}

[!NOTE] A monthlyEmailLimit of -1 indicates unlimited emails for PREMIUM plans.

Response Schema

The GET /v1/settings endpoint returns the following fields:

FieldTypeDescription
idstringUnique identifier for your team
namestringYour team's display name
planstringCurrent plan type (FREE or PREMIUM)
dailyEmailLimitnumberMaximum emails that can be sent per day
monthlyEmailLimitnumberMaximum emails per month (-1 for unlimited)

Use Cases

Quota Monitoring

Check remaining email quota before sending campaigns

Plan Validation

Verify your current plan and available features

API Endpoints