Skip to main content

Create a contact

Create a new contact (required scope contacts:write)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Request Body required

Create contact model

    reference string nullable

    The internal reference of the contact - should usually be unique

    name string required

    Possible values: non-empty

    The name of the contact

    groupId int64 required

    The unique identifier of the group this contact belongs to

    parentId int64 nullable

    The unique identifier of the parent contact of this contact

    extraInformation string nullable

    A free text description about the contact

    street string nullable

    The contact street address

    town string nullable

    The contact address town / city / village / locality

    postalCode string nullable

    The contact address postcode or zipcode

    country string nullable

    The textual name of the contact address country

    location object required

    Represents a geographical location

    latitude double required

    Latitude of the center of the location

    longitude double required

    Longitude of the center of the location

    customFields object[] nullable

    Custom fields associated with the contact

  • Array [
  • definitionId int64 required

    The unique identifier of the associated custom field definition

    value string nullable

    The value of this custom field. If set to null, any existing value will be unset

  • ]
Responses

Created


Schema
    id int64

    Identifier of the newly created record

Loading...