Event Overview
Themedia.created
event is triggered immediately after media is successfully submitted through the /submit-media
endpoint. This allows you to track when content enters the moderation queue.
Payload Structure
Payload Fields
The event type. Always
media.created
for this event.ISO 8601 timestamp of when the event occurred.
Unique identifier for the media item in Pixel Patrol.
Your application’s identifier for this media item.
The site ID associated with this media submission.
The current status. Always
pending
for newly created media.Type of content:
text
, image
, or video
.Timestamp when the media was created.
Custom metadata provided during submission.
Example Implementation
Use Cases
- Tracking: Monitor submission rates and queue sizes
- User Notifications: Inform users their content is being reviewed
- Analytics: Track submission patterns and volumes
- Synchronization: Keep your database in sync with moderation status