Contacts

Create Contact

Creates a new Contact

post/companies/{companyId}/contacts

Request

  • Base URL
    https://api.pax8.com/v1
  • URL
    https://api.pax8.com/v1/companies/{companyId}/contacts
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://token-manager.pax8.com/oauth/token

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.