Skip to main content
POST
/
api
/
ext
/
ai
/
email
/
subject-line-score
Score email subject line quality
curl --request POST \
  --url https://app.spotzee.com/api/ext/ai/email/subject-line-score \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'subject_line=Limited Time Offer: 50% Off All Products'
{
  "status": "success",
  "data": {
    "obtainedScore": 108,
    "totalCritereaScore": 140,
    "finalScorePercentage": 77,
    "finalIndividualScore": {
      "scannabilityScore": {
        "actualValue": 72.5,
        "score": 9
      },
      "readingGradeLevel": {
        "actualValue": 7.8,
        "score": 10
      },
      "character": {
        "actualValue": 42,
        "score": 10
      },
      "word": {
        "actualValue": 8,
        "score": 9
      },
      "sentimentAnalysis": {
        "actualValue": 3,
        "score": 10
      },
      "RE_word": {
        "actualValue": 0,
        "score": 10
      },
      "FWD_word": {
        "actualValue": 0,
        "score": 10
      },
      "free_word": {
        "actualValue": 0,
        "score": 10
      },
      "spammy_word": {
        "actualValue": 0,
        "score": 10
      },
      "exclamationMark": {
        "actualValue": 1,
        "score": 8
      },
      "wordWithAllCapitalCharacter": {
        "actualValue": 1,
        "score": 7
      },
      "punctuation": {
        "actualValue": 2,
        "score": 8
      },
      "FNAME_word": {
        "actualValue": 1,
        "score": 7
      },
      "emojis": {
        "actualValue": 0,
        "score": 0
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
subject_line
string
required

Email subject line to analyze and score

Example:

"Limited Time Offer: 50% Off All Products"

Response

Successfully scored subject line

status
enum<string>
required
Available options:
success
data
object
required