curl --request PUT \ --url https://api.agents.timepay.ai/api/v1/customer-data \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "campaignId": "camp_abc123", "loan_id": "loan_12345", "data": { "payment_status": "paid", "emi_amount": 5000, "last_contacted": "2025-01-02" } }'
{ "success": true, "message": "Customer data updated successfully", "data": { "id": "loan_12345", "result": "updated" } }
Update a single customer record within a campaign. Supports automatic retries for version conflicts.
Bearer <your_token>
camp_abc123
lead_id
loan_id
Show example properties
Show properties