Create a Contact

Creates the specified contact. ID and organisation_id must not be specified, neither in query String, nor in JSON payload. You can provide following fields with this request: * `type` (Object required) * `name` (String optional) * `title` (String optional) * `department` (String optional) * `street` (String optional) * `zipcode` (String optional) * `city` (String optional) * `country` (Object optional) * `email` (String optional) * `phone` (String optional) * `mobile` (String optional) * `state` (String optional) * `secondary_address` (String optional) * `purchase_order_number` (String optional, can only be set for invoice contacts)

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the POST request to /api/v1/authenticate.

Path parameters

org_idstringRequired

Request

This endpoint expects an object.
typeobjectRequired
namestringRequired
titlestringRequired
departmentstringRequired
streetstringRequired
zipcodestringRequired
citystringRequired
countryobjectRequired
emailstringRequired
phonestringRequired
mobilestringRequired
statestringOptional
secondary_addressstringOptional
purchase_order_numberstringOptional

Response