Contact Endpoints
Contacts are the main database of your Salesly.app account. They are the base of all other modules.
Contact Object
Property Name | Type |
---|---|
id | integer |
name | string |
string | |
type | integer (1: client, 2: no_client, 3: others) |
is_person | boolean |
cif | string |
phone | string |
web | string |
iban | string |
users | array of integer |
extra_fields | array |
location | object ( Location ) |
EXAMPLE
{
"id": 23431,
"name": "Contact Test",
"email": "contact@gmail.com",
"comments": "Example comment",
"cif": null,
"phone": null,
"iban": null,
"web": null,
"type": 1,
"extra_fields": null,
"is_person": false,
"location": {
"id": 17679,
"enterprise_id": 23431,
"primary": 1,
"direction": "Carrer Gavarresa",
"city": "Cabrianes",
"postal": "08620",
"country": "Spain",
"latitude": "41.7984089",
"longitude": "1.9100628999999572",
"created_at": "2025-03-11 12:52:56",
"updated_at": "2025-03-11 12:52:56",
"deleted_at": null,
"extra_info": null
},
"users": []
}
Location Object
Property Name | Type |
---|---|
primary | required integer |
direction | required string |
city | required string |
postal | required string |
country | required string |
latitude | string |
longitude | string |
extra_info | string |
EXAMPLE
{
"primary": 1,
"direction": "Carrer Gavarresa",
"city": "Cabrianes",
"postal": "08620",
"country": "Spain",
"latitude": "41.7984089",
"longitude": "1.9100628999999572"
}