Read contact
Get data of exisitng contact by id, name, email or cif parameter.
GET/enterprise/read
Parameters
identifier - integer or string required
The attribute for finding the contact. This can be the contact cif
, name
, email
or id
.
EXAMPLE
{
"identifier": "contact@saLesly.app"
}
Response
status 200
Contact data object.
Response
{
"id": 23441,
"name": "Contact Test",
"email": "contact@salesly.app",
"comments": "Example comment",
"cif": null,
"phone": "938206362",
"iban": null,
"web": null,
"type": 1,
"created_at": "2025-03-11 18:02:22",
"updated_at": "2025-03-11 18:02:22",
"deleted_at": null,
"extra_fields": "{\"newsletter\":[\"&_No_&\"]}",
"fiscal_equal_commercial": true,
"fiscal_name": null,
"fiscal_address": null,
"is_person": false,
"location": {
"id": 17687,
"enterprise_id": 23441,
"primary": 1,
"direction": "Carrer Gavarresa",
"city": "Cabrianes",
"postal": "08620",
"country": "Spain",
"latitude": "41.7984089",
"longitude": "1.9100628999999572",
"created_at": "2025-03-11 18:02:22",
"updated_at": "2025-03-11 18:02:22",
"deleted_at": null,
"extra_info": null
},
"users_basic": [
{
"id": 30,
"name": "IT",
"surname": "SLY",
"role_id": 1,
"role_name": "Administrador",
"complete_name": "IT SLY",
"pivot": {
"enterprise_id": 23441,
"user_id": 30,
"created_at": "2025-03-11 18:02:22",
"updated_at": "2025-03-11 18:02:22",
"deleted_at": null
}
}
]
}