Contact

All endpoints related to contacts / people data.

Create Contact

POST https://api.yourdomain.com/v1/contact/create

Create a new contact

Request Body

Name
Type
Description

userId

string

Id of the user creating the contact record

contact

object

JSON object with the field names and the field values

{
    "success": true,
    "contact": {
                "id": "contact001",
                "firstName": "John",
                "lastName": "Doe",
    }
    link: "https://app.yourdomain.com/contacts/contact001"
}

Update Contact

POST htpps://api.yourdomain.com/v1/contact/update

Update a contact

Request Body

Name
Type
Description

userId

string

Id of the user updating the contact record

id

string

Id of the contact to update

contact

object

JSON object with the field names and the field values

{
    "success": true,
    "contact": {
                "id": "contact001",
                "firstName": "John",
                "lastName": "Doe",
                }
}

Search Contact

POST https://api.yourdomain.com/v1/contact/search

Search for a contact

Query Parameters

Name
Type
Description

linkedIn

string

LinkedIn profile URL of the contact we're searching

name

string

Full name of the contact we're searching

{
    "success": true,
    "contacts": [{
                "id": "contact001",
                "firstName": "John",
                "lastName": "Doe",
              }]
}

Last updated