Skip to main content

Overview

The C2C Validation service automatically routes to appropriate validation agents based on input:
  • Title/Description Validation: When marketplace_posting_title or marketplace_posting_description provided
  • Brand Validation: When brand_name provided
  • Product Validation: When product_name provided

API Endpoint

POST /loopos_ai_c2c_validation

Request

{
  "language": "PT-PT",
  "images": ["https://example.com/image.jpg"],
  "agent_specific": {
    "marketplace_posting_title": "iPhone 12 Pro - Excelente Estado",
    "marketplace_posting_description": "iPhone em excelente estado...",
    "category_name": "Electronics"
  }
}

Response

{
  "approved": true,
  "rejection_reason": null,
  "confidence_score": 0.95,
  "validation_notes": "Listing meets all quality standards...",
  "required_modifications": [],
  "message_to_user": "O seu anúncio foi aprovado!"
}