Step-by-Step Implementation
1
Create Service Request
When an item sells and is ready for authentication, create a draft service request to get started. This provides you with the specific image requirements for the selected item category.API Reference: Request Data:
POST /api/v2/srRequired Headers:- Reference ID: Your internal item identifier
- Service UUID: Selected from available authentication services
- Item Taxonomy: Category and type UUIDs from your taxonomy mapping
- User must be registered (see Authentication)
- Taxonomy mapping configured (see Taxonomy)
- Authentication service selected (from
GET /api/services)
2
Get Image Requirements
Retrieve the specific image sides required for your item category. This tells you exactly which photos to capture during the listing process.API Reference:
GET /api/v2/sr/{sr_uuid}/side-groupsPath Parameters:sr_uuid- Service request UUID
- Side groups - Organized image requirements by group
- Required sides - Mandatory images for authentication
- Optional sides - Additional images that enhance authentication
- Template images - Visual guides for each required angle
- Format: JPG/JPEG/PNG
- Size: 600 x 600 px minimum
- File Size: 5 MB maximum per image
- Quality: Clear, well-lit, focused images
3
Secure Image Upload
Upload your pre-captured images using Legitmark’s secure CDN system.API Reference: Media Management endpoints
GET https://media.legitmark.com/intent- Get pre-signed upload URLPUT /{presigned-url}- Direct S3 upload to the returned pre-signed URL
- Get upload URL with query parameters:
sr(service request UUID) andside(side UUID with file extension) - Upload directly to the pre-signed S3 URL using PUT request with binary data
- Verify upload using progress tracking endpoint
4
Validate Requirements
Before finalizing, check that all requirements are satisfied by tracking upload progress.API Reference:
GET /api/side-groups/progressQuery Parameters:sr_id- Service request UUID to check progress
- All required images uploaded: No missing required sides
- Image quality meets standards: Clear, focused, adequate lighting
- Item information complete: All taxonomy and service data provided
- Service request ready for processing: Meets submission criteria
5
Finalize for Authentication
Once validation passes, submit your service request for expert authentication.Note: The finalization endpoint details are provided during actor onboarding. This step triggers the Quality Control and Authentication workflow.Post-Finalization Process:
- Quality Control Review: Initial image and data verification
- Authentication Review: Expert authentication by specialists
- Results Notification: Webhook updates for completion or issues
Implementation Patterns
Error Handling
Progress Tracking
Batch Image Upload
Best Practices
Pre-Sale Optimization
- Cache image requirements for frequently used categories
- Validate images client-side before storage
- Compress images while maintaining quality standards
- Store images locally until item sells
Upload Optimization
- Use parallel uploads for multiple images
- Implement retry logic for failed uploads
- Show upload progress to users
- Validate upload completion before proceeding
Validation Strategy
- Check requirements before finalization
- Handle validation errors gracefully
- Provide user feedback on missing requirements
- Retry validation after corrections
Testing and Debugging
Test Service Request Creation
Use the Interactive API Reference to test service request creation with your actual credentials.Validate Image Upload Flow
Test the complete upload process:- Create a test service request
- Fetch image requirements
- Upload test images
- Validate completion
Monitor Upload Status
Check upload completion using the progress tracking endpoint: API Reference:GET /api/side-groups/progress
Next Steps
Once workflow implementation is complete:- Setup Webhooks - Webhook notifications and status update handling
- Test end-to-end workflow with sample items
- Monitor authentication processing and success rates