curl --request POST \
--url https://dev.superpool.unyte.africa/api/v1/claims/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"claimant_metadata": {
"first_name": "John",
"last_name": "Doe",
"birth_date": "1985-05-15",
"email": "[email protected]",
"relationship": "Self"
},
"claim_details": {
"claim_type": "accident",
"incident_description": "Car accident on highway",
"incident_date": "2024-07-10",
"claim_amount": "1500.00",
"supporting_documents": [
{
"document_name": "Police Report",
"evidence_type": "PDF",
"document_url": "https://example.com/police-report.pdf",
"uploaded_at": "2024-07-11T08:00:00Z"
}
]
},
"policy_id": "123e4567-e89b-12d3-a456-426614174000",
"witness_details": [],
"authority_report": {
"report_number": "ABC123456",
"report_date": "2024-07-11",
"filing_station": "Miami Police Station"
}
}
'