Creates a contact for an organization.
Only `type` is required; every other field is optional.
<Tip>
A contact's type is fixed at creation and cannot be changed later, so create a separate contact if you need a different type.
</Tip>
<Info>
Up to 10 addresses per type can be saved in the account.
</Info>
<Warning>
ID and `organisation_id` must not be specified, neither in query string, nor in JSON payload.
</Warning>
Request
This endpoint expects an object.
typeobjectRequired
Type of contact to create, provided as an object containing the type id.
This is the only required field, and the type is fixed at creation and cannot be changed afterward.
namestringOptional
First and last name of the contact.
titlestringOptional
Honorific or professional title of the contact, for example Dr or Ing.
departmentstringOptional
Department the contact belongs to.
is_defaultbooleanOptional
Whether this contact should be set as the default contact of its type for the organisation.
streetstringOptional
Street name and number of the contact's address.
zipcodestringOptional
Postal or ZIP code of the contact's address.
citystringOptional
City of the contact's address.
countryobjectOptional
Contact's country, provided as an object containing the country ID.
emailstringOptionalformat: "email"
Email address of the contact.
phonestringOptional
Phone number of the contact.
mobilestringOptional
Mobile phone number of the contact.
statestringOptional
State or province of the contact's address.
secondary_addressstringOptional
Secondary address line, for example apartment or building number.
purchase_order_numberstringOptional<=50 characters
Purchase order number shown on the organization's monthly invoices.
<Tip>
Set `purchase_order_number` only on invoice contacts (type `6`).
When set, it appears on the organization's monthly invoices.
</Tip>
Response
The contact was created successfully.
The response contains the created contact, including its generated contact_id.
idintegerOptional
Unique ID of this contact.
organisationobjectOptional
namestringOptional
First and last name of the contact.
titlestringOptional
Honorific or professional title of the contact, for example Dr or Ing.
departmentstringOptional
Department the contact belongs to.
is_defaultbooleanOptional
Whether this contact should be set as the default contact of its type for the organisation
streetstringOptional
Street name and number of the contact's address.
zipcodestringOptional
Postal or ZIP code of the contact's address.
citystringOptional
City of the contact's address.
emailstringOptional
Email address of the contact.
phonestringOptional
Phone number of the contact.
mobilestringOptional
Mobile phone number of the contact.
statestringOptional
State or province of the contact's address.
secondary_addressstringOptional
Secondary address line of the contact (for example, apartment, building number, etc.).
purchase_order_numberstringOptional
Purchase order number displayed on the monthly invoices.
contact_idstringOptional
ID of the created contact, returned as a string.