← All tool references

SEO Tools · execute

Email Subject Line Tester

Preview an email subject in an inbox and check its length, readability, capitalization, punctuation, and promotional wording.

Open public tool

Overview

Category
SEO Tools
API mode
execute
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/email-subject-line-tester

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/email-subject-line-tester/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

subject · string · required
Enter the exact subject line readers will see, including emojis and punctuation.
{
    "type": "object",
    "properties": {
        "subject": {
            "type": "string",
            "description": "Enter the exact subject line readers will see, including emojis and punctuation."
        }
    },
    "required": [
        "subject"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

subject · string
Browser-calculated subject.
characters · number
Browser-calculated characters.
words · number
Browser-calculated words.
score · number
Browser-calculated score.
flags · array
Browser-calculated flags.
preview · string
Browser-calculated preview.
{
    "type": "object",
    "properties": {
        "subject": {
            "type": "string",
            "description": "Browser-calculated subject."
        },
        "characters": {
            "type": "number",
            "description": "Browser-calculated characters."
        },
        "words": {
            "type": "number",
            "description": "Browser-calculated words."
        },
        "score": {
            "type": "number",
            "description": "Browser-calculated score."
        },
        "flags": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Browser-calculated flags."
        },
        "preview": {
            "type": "string",
            "description": "Browser-calculated preview."
        }
    },
    "additionalProperties": false
}

Clear weekly newsletter subject

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/email-subject-line-tester/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "Your weekly product tips"
}'
{
    "ok": true,
    "data": {
        "slug": "email-subject-line-tester",
        "result": {
            "values": {
                "subject": "Your weekly product tips",
                "characters": 24,
                "words": 4,
                "score": 100,
                "flags": [],
                "preview": "Your weekly product tips"
            },
            "display": {
                "display": "Your weekly product tips"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.