POST https://app.alaaqat.com/api/contacts/
Accept: application/json
نقطة النهاية هذه تقبل الخصائص المخصصة في محتوى الطلب، إقرأ الخصائص.
الصيغة هي property_internal_name: value
{
"firstname": "test",
"lastname": "test",
"email": "test@alaaqat.com",
...
}
الإستجابة تكون دائماً بصيغة Contact
.
{
"data": {
"properties": {
"deal_name": 1,
"firstname": "test",
"lastname": "test",
"email": "test@alaaqat.com",
"updated_at": "2024-05-27T22:34:23.357000Z",
"created_at": "2024-05-27T22:34:23.357000Z",
"_id": "66550a6f014742f5f101b824",
"fullname": "test test",
"image": "https://ui-avatars.com/api/?rounded=true&bold=true&name=test test&background=4B5563&color=fff"
},
"channels": []
},
"message": "Entity was created Successfully"
}