Create a counterpart contact

POST

Path parameters

counterpart_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
addressobjectRequired

The address of a contact person.

first_namestringRequired

The first name of a contact person.

last_namestringRequired

The last name of a contact person.

emailstringOptional

The email address of a contact person.

phonestringOptional

The phone number of a contact person

titlestringOptional

The title or honorific of a contact person. Examples: Mr., Ms., Dr., Prof.

Response

This endpoint returns an object.
idstring
addressobject

The address of a contact person.

counterpart_idstring
first_namestring

The first name of a contact person.

is_defaultboolean
last_namestring

The last name of a contact person.

emailstringOptional

The email address of a contact person.

phonestringOptional

The phone number of a contact person

titlestringOptional

The title or honorific of a contact person. Examples: Mr., Ms., Dr., Prof.

Errors