Contact
Contact

Contact Endpoints

Contacts are the main database of your Salesly.app account. They are the base of all other modules.

Contact Object

Property NameType
idinteger
namestring
emailstring
typeinteger (1: client, 2: no_client, 3: others)
is_personboolean
cifstring
phonestring
webstring
ibanstring
usersarray of integer
extra_fieldsarray
locationobject ( 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 NameType
primaryrequired integer
directionrequired string
cityrequired string
postalrequired string
countryrequired string
latitudestring
longitudestring
extra_infostring
EXAMPLE
{
    "primary": 1,
    "direction": "Carrer Gavarresa",
    "city": "Cabrianes",
    "postal": "08620",
    "country": "Spain",
    "latitude": "41.7984089",
    "longitude": "1.9100628999999572"
}