Read contact
Get contact data by Id parameter.
GET/contact/read
Parameters
identifier - integer or string required
The attribute for finding the contact. This can be the contact name
, email
or id
.
EXAMPLE
{
"identifier": "worker@salesly.app"
}
Response
status 200
Contact data object.
Response
{
"id": 11,
"name": "Salesly",
"surname": "Worker",
"surname_2": null,
"email": "worker2@salesly.app",
"phone": "938206362",
"phone_2": null,
"position": null,
"skype": null,
"linkedin": null,
"comments": null,
"created_at": "2023-10-24 15:36:42",
"updated_at": "2023-10-24 15:36:42",
"deleted_at": null,
"mailchimp_unsubscribed": null,
"instagram": null,
"facebook": null,
"nif": null,
"enterprises": [
{
"id": 13,
"name": "Salesly.app 2",
"email": "test2@salesly.app",
"comments": null,
"cif": "G123454789",
"phone": null,
"phone_2": null,
"iban": null,
"web": null,
"public": null,
"last_event": null,
"next_event": null,
"last_opportunity_sale_date": null,
"state": 0,
"type": 1,
"no_user": 0,
"created_at": "2023-10-24 13:32:14",
"updated_at": "2023-10-24 13:32:14",
"deleted_at": null,
"extra_field": null,
"contacted": null,
"mailchimp_unsubscribed": null,
"fiscal_equal_commercial": true,
"fiscal_name": null,
"fiscal_address": null,
"store_discount": null,
"instagram": null,
"facebook": null,
"pivot": {
"contact_id": 11,
"enterprise_id": 13,
"created_at": "2023-10-24 15:36:42",
"updated_at": "2023-10-24 15:36:42"
}
}
]
}