v1

latestOpenAPI 3.0.02026-08-0645062.8 KB

Create a new contact

Create a new contact with the provided details. Requires a valid Bearer token.

post/contacts

Request body

firstNamestring required

The first name of the contact

lastNamestring

The last name of the contact

accountIdstring

The account Id of the contact

emailstring email

Email address of the contact

phonestring

Phone number of the contact

titlestring

Job title of the contact

commentsstring

Comment about the contact

groupIdstring
typeIdstring
priorityIdstring
dealIdsstring[]

Example request

{
  "firstName": "John",
  "lastName": "Doe",
  "accountId": "Doe",
  "email": "johndoe@example.com",
  "phone": "123-456-7890",
  "title": "Software Engineer",
  "comments": "Tech Corp"
}

Response

Contact created successfully

messagestring
contactIdstring uuid

Example response

{
  "message": "Contact created successfully!",
  "contactId": "c056d1e3-62e8-4ec3-b733-7a7485fa48c8"
}