v1

latestOpenAPI 3.0.12026-07-2681110143.5 KB
Contacts

Create Contact

Creates a new Contact

post/companies/{companyId}/contacts

Path parameters

companyIdstring uuid required
Example:f7fc273a-8d86-45c9-a26f-ffd42416adda

Request body

idstring uuid

The id

firstNamestring required

The first name

lastNamestring required

The last name

emailstring email required

The email

phonestring phone required

The phone number

createdDatestring

The created date

Example request

{
  "id": "18d6329e-93f9-46a5-9df7-37e4c29d2840",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john@doe.com",
  "phone": "555-555-5555",
  "createdDate": "2020-05-12"
}

Response

Successful operation

idstring uuid

The id

firstNamestring required

The first name

lastNamestring required

The last name

emailstring email required

The email

phonestring phone required

The phone number

createdDatestring

The created date

Example response

{
  "id": "18d6329e-93f9-46a5-9df7-37e4c29d2840",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john@doe.com",
  "phone": "555-555-5555",
  "createdDate": "2020-05-12"
}