When WhatsApp Auto Lead is enabled in your tenant settings the system will automatically provide default values for missing fields:
status_id: Uses the configured default lead status if not provided
source_id: Uses the configured default lead source if not provided
assignee: Uses the configured default assignee if not provided This allows for simplified API calls where you only need to provide the essential contact information, and the system handles lead management defaults automatically.
{"status":"success","message":"Contact created successfully","data":{"id":25,"tenant_id":13,"firstname":"Mahmoud","lastname":"Elsayed","company":"RASL","type":"lead","email":"mahmoud@example.com","phone":"+201XXXXXXXXX","source_id":2,"status_id":1,"description":"Potential client interested in premium services, contacted via website form","country_id":101,"assigned_id":15,"addedfrom":15,"created_at":"2024-02-08T14:30:25.000000Z","updated_at":"2024-02-08T14:30:25.000000Z","group_id":[1,2,3]}}