EmailRep · JSON Structure

Api Report Response Structure

Outcome of a report submission.

Type: object Properties: 2 Required: 1
SecurityEmailEmail ReputationThreat IntelligencePhishingFraud PreventionAnti-AbuseDeliverabilityRisk ScoringPublic APIs

ReportResponse is a JSON Structure definition published by EmailRep, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

status reason

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emailrep/refs/heads/main/json-structure/api-report-response-structure.json",
  "name": "ReportResponse",
  "description": "Outcome of a report submission.",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Outcome of the report submission.",
      "enum": [
        "success",
        "fail"
      ],
      "example": "success"
    },
    "reason": {
      "type": "string",
      "description": "Human-readable failure reason. Present when `status` is `fail`.",
      "example": "invalid email address"
    }
  },
  "required": [
    "status"
  ]
}