photo.rejected

HMAC-SHA256 signed webhook event

A moderator rejected a pending photo. The photo is hidden from the wall and the upload count rolls back.

METHOD WEBHOOK EVENT
EVENT TYPE photo.rejected
AUTH HMAC-SHA256 signed

Emitted by onPhotoRejected. The photo doc is left in place with status="rejected" for audit, but it no longer appears on the wall or in the gallery. The reason field carries the moderator's tag (duplicate, inappropriate, off-topic, other).

AUTH NOTE

Outbound webhook delivery. Verify the `Fotowall-Signature` header against your event's webhook secret before trusting the body.

Request

EXAMPLE BODY

{
  "event": "photo.rejected",
  "eventId": "spring-gala-2026",
  "deliveryId": "del_01HV9X8T7R7K2M4Q6N8P0Z3W5L",
  "timestamp": "2026-05-17T03:14:18Z",
  "data": {
    "photo": {
      "id": "ph_8a92",
      "status": "rejected",
      "uploaderName": "Maya",
      "rejectedAt": "2026-05-17T03:14:18Z",
      "rejectedBy": "[email protected]",
      "reason": "duplicate"
    }
  }
}

Need a different shape?

The API surface is small. Tell us what you need and we'll work backward from your integration.

Request an endpoint Back to API index