SchoolScout API
User email prompts

List email prompt templates

Get all email prompt templates for the current user. Used with the generate-email endpoint.

GET
/user-email-prompts

Get all email prompt templates for the current user. Used with the generate-email endpoint.

AuthorizationBearer <token>

API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...

In: header

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/user-email-prompts"
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "user_id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "string",
    "description": "string",
    "system_prompt": "string",
    "instruction_prompt": "string",
    "emails_generated": -9007199254740991,
    "created_at": "string",
    "updated_at": "string"
  }
]
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}