https://services.leadconnectorhq.com
Please find the list of acceptable values for the country field here
The GrowthHub Upsert API follows the configuration set under the “Allow Duplicate Contact” setting at the Location level.
If the setting is configured to check both Email and Phone, GrowthHub will attempt to identify an existing contact based on the priority sequence defined in the configuration, then create or update the contact accordingly.
If two separate contacts already exist, one matching the same email and another matching the same phone, and an upsert request includes both fields, GrowthHub will:
- Update the contact that matches the first field in the configured priority sequence
- Ignore the second field to prevent duplicate records
contacts.write
OAuth Access Token
Private Integration Token
Sub-Account Token
name: Authorization
type: http
scopes: contacts.write
scheme: bearer
bearerFormat: JWT
in: header
description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
curl -L 'https://services.leadconnectorhq.com/contacts/:contactId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'const { GrowthHub } = require('@growthhub/api-client');
const growthhub = new GrowthHub({
clientId: 'your_client_id_here',
clientSecret: 'your_client_secret_here',
});
try {
const response = await growthhub.contacts.getContact({
contactId: 'ocQHyuzHvysMo5N5VsXc'
});
console.log(response);
} catch (error) {
console.error('Error:', error);
}const axios = require('axios');
let config = {
method: 'get',
url: 'https://services.leadconnectorhq.com/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
axios.request(config)
.then(res => console.log(res.data))
.catch(err => console.log(err));var https = require('follow-redirects').https;
var options = {
method: 'GET',
hostname: 'services.leadconnectorhq.com',
path: '/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
var req = https.request(options, function (res) {
var chunks = [];
res.on("data", chunk => chunks.push(chunk));
res.on("end", () => console.log(Buffer.concat(chunks).toString()));
});
req.end();var request = require('request');
var options = {
method: 'GET',
url: 'https://services.leadconnectorhq.com/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});var unirest = require('unirest');
var req = unirest('GET', 'https://services.leadconnectorhq.com/contacts/:contactId')
.headers({
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
})
.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.raw_body);
});import http.client
conn = http.client.HTTPSConnection("services.leadconnectorhq.com")
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
conn.request("GET", "/contacts/:contactId", '', headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))import requests
url = "https://services.leadconnectorhq.com/contacts/:contactId"
payload = {}
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://services.leadconnectorhq.com/contacts/:contactId',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Authorization: Bearer <TOKEN>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;<?php
$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => 'Bearer <TOKEN>'
];
$request = new Request('GET', 'https://services.leadconnectorhq.com/contacts/:contactId', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();<?php
$request = new HTTP_Request2();
$request->setUrl('https://services.leadconnectorhq.com/contacts/:contactId');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setHeader([
'Accept' => 'application/json',
'Authorization' => 'Bearer <TOKEN>'
]);
$response = $request->send();
echo $response->getBody();<?php
$client = new http\Client;
$request = new http\Client\Request;
$request->setRequestUrl('https://services.leadconnectorhq.com/contacts/:contactId');
$request->setRequestMethod('GET');
$request->setHeaders([
'Accept' => 'application/json',
'Authorization': 'Bearer <TOKEN>'
]);
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
.url("https://services.leadconnectorhq.com/contacts/:contactId")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <TOKEN>")
.build();
Response response = client.newCall(request).execute();Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.get("https://services.leadconnectorhq.com/contacts/:contactId")
.header("Accept", "application/json")
.header("Authorization", "Bearer <TOKEN>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
req, _ := http.NewRequest("GET", "https://services.leadconnectorhq.com/contacts/:contactId", nil)
req.Header.Add("Authorization", "Bearer <TOKEN>")
res, _ := http.DefaultClient.Do(req)
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require "uri"
require "net/http"
url = URI("https://services.leadconnectorhq.com/contacts/:contactId")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Authorization"] = "Bearer <TOKEN>"
response = https.request(request)
puts response.read_body$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Accept", "application/json")
$headers.Add("Authorization", "Bearer <TOKEN>")
$response = Invoke-RestMethod 'https://services.leadconnectorhq.com/contacts/:contactId' -Method 'GET' -Headers $headers
$response | ConvertTo-JsonClick the Send API Request button above and see the response here!
https://services.leadconnectorhq.com
{
"firstName": "rosan",
"lastName": "Deo",
"name": "rosan Deo",
"email": "[email protected]",
"phone": "+1 888-888-8888",
"address1": "3535 1st St N",
"city": "Dolomite",
"state": "AL",
"postalCode": "35061",
"website": "https://www.tesla.com",
"timezone": "America/Chihuahua",
"dnd": true,
"dndSettings": {
"Call": {
"status": "active",
"message": "string",
"code": "string"
},
"Email": {
"status": "active",
"message": "string",
"code": "string"
},
"SMS": {
"status": "active",
"message": "string",
"code": "string"
},
"WhatsApp": {
"status": "active",
"message": "string",
"code": "string"
},
"GMB": {
"status": "active",
"message": "string",
"code": "string"
},
"FB": {
"status": "active",
"message": "string",
"code": "string"
}
},
"inboundDndSettings": {
"all": {
"status": "active",
"message": "string"
}
},
"tags": [
"nisi sint commodo amet",
"consequat"
],
"customFields": [
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Text"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Text"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Selected Option"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Selected Option"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": 100
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": 100.5
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": [
"test",
"test2"
]
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": [
"test",
"test2"
]
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": {
"f31175d4-2b06-4fc6-b7bc-74cd814c68cb": {
"meta": {
"fieldname": "1HeGizb13P0odwgOgKSs",
"originalname": "IMG_20231215_164412935.jpg",
"encoding": "7bit",
"mimetype": "image/jpeg",
"size": 1786611,
"uuid": "f31175d4-2b06-4fc6-b7bc-74cd814c68cb"
},
"url": "https://services.leadconnectorhq.com/documents/download/w2M9qTZ0ZJz8rGt02jdJ",
"documentId": "w2M9qTZ0ZJz8rGt02jdJ"
}
}
}
],
"source": "public api",
"dateOfBirth": "1990-09-25",
"country": "US",
"assignedTo": "y0BeYjuRIlDwsDcOHOJo"
}
Please find the list of acceptable values for the country field here
The GrowthHub Upsert API follows the configuration set under the “Allow Duplicate Contact” setting at the Location level.
If the setting is configured to check both Email and Phone, GrowthHub will attempt to identify an existing contact based on the priority sequence defined in the configuration, then create or update the contact accordingly.
If two separate contacts already exist, one matching the same email and another matching the same phone, and an upsert request includes both fields, GrowthHub will:
- Update the contact that matches the first field in the configured priority sequence
- Ignore the second field to prevent duplicate records
contacts.write
OAuth Access Token
Private Integration Token
Sub-Account Token
name: Authorization
type: http
scopes: contacts.write
scheme: bearer
bearerFormat: JWT
in: header
description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
curl -L 'https://services.leadconnectorhq.com/contacts/:contactId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'const { GrowthHub } = require('@growthhub/api-client');
const growthhub = new GrowthHub({
clientId: 'your_client_id_here',
clientSecret: 'your_client_secret_here',
});
try {
const response = await growthhub.contacts.getContact({
contactId: 'ocQHyuzHvysMo5N5VsXc'
});
console.log(response);
} catch (error) {
console.error('Error:', error);
}const axios = require('axios');
let config = {
method: 'get',
url: 'https://services.leadconnectorhq.com/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
axios.request(config)
.then(res => console.log(res.data))
.catch(err => console.log(err));var https = require('follow-redirects').https;
var options = {
method: 'GET',
hostname: 'services.leadconnectorhq.com',
path: '/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
var req = https.request(options, function (res) {
var chunks = [];
res.on("data", chunk => chunks.push(chunk));
res.on("end", () => console.log(Buffer.concat(chunks).toString()));
});
req.end();var request = require('request');
var options = {
method: 'GET',
url: 'https://services.leadconnectorhq.com/contacts/:contactId',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});var unirest = require('unirest');
var req = unirest('GET', 'https://services.leadconnectorhq.com/contacts/:contactId')
.headers({
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
})
.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.raw_body);
});import http.client
conn = http.client.HTTPSConnection("services.leadconnectorhq.com")
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
conn.request("GET", "/contacts/:contactId", '', headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))import requests
url = "https://services.leadconnectorhq.com/contacts/:contactId"
payload = {}
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://services.leadconnectorhq.com/contacts/:contactId',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Authorization: Bearer <TOKEN>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;<?php
$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => 'Bearer <TOKEN>'
];
$request = new Request('GET', 'https://services.leadconnectorhq.com/contacts/:contactId', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();<?php
$request = new HTTP_Request2();
$request->setUrl('https://services.leadconnectorhq.com/contacts/:contactId');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setHeader([
'Accept' => 'application/json',
'Authorization' => 'Bearer <TOKEN>'
]);
$response = $request->send();
echo $response->getBody();<?php
$client = new http\Client;
$request = new http\Client\Request;
$request->setRequestUrl('https://services.leadconnectorhq.com/contacts/:contactId');
$request->setRequestMethod('GET');
$request->setHeaders([
'Accept' => 'application/json',
'Authorization': 'Bearer <TOKEN>'
]);
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
.url("https://services.leadconnectorhq.com/contacts/:contactId")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <TOKEN>")
.build();
Response response = client.newCall(request).execute();Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.get("https://services.leadconnectorhq.com/contacts/:contactId")
.header("Accept", "application/json")
.header("Authorization", "Bearer <TOKEN>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
req, _ := http.NewRequest("GET", "https://services.leadconnectorhq.com/contacts/:contactId", nil)
req.Header.Add("Authorization", "Bearer <TOKEN>")
res, _ := http.DefaultClient.Do(req)
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require "uri"
require "net/http"
url = URI("https://services.leadconnectorhq.com/contacts/:contactId")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Authorization"] = "Bearer <TOKEN>"
response = https.request(request)
puts response.read_body$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Accept", "application/json")
$headers.Add("Authorization", "Bearer <TOKEN>")
$response = Invoke-RestMethod 'https://services.leadconnectorhq.com/contacts/:contactId' -Method 'GET' -Headers $headers
$response | ConvertTo-JsonClick the Send API Request button above and see the response here!
https://services.leadconnectorhq.com
{
"firstName": "rosan",
"lastName": "Deo",
"name": "rosan Deo",
"email": "[email protected]",
"phone": "+1 888-888-8888",
"address1": "3535 1st St N",
"city": "Dolomite",
"state": "AL",
"postalCode": "35061",
"website": "https://www.tesla.com",
"timezone": "America/Chihuahua",
"dnd": true,
"dndSettings": {
"Call": {
"status": "active",
"message": "string",
"code": "string"
},
"Email": {
"status": "active",
"message": "string",
"code": "string"
},
"SMS": {
"status": "active",
"message": "string",
"code": "string"
},
"WhatsApp": {
"status": "active",
"message": "string",
"code": "string"
},
"GMB": {
"status": "active",
"message": "string",
"code": "string"
},
"FB": {
"status": "active",
"message": "string",
"code": "string"
}
},
"inboundDndSettings": {
"all": {
"status": "active",
"message": "string"
}
},
"tags": [
"nisi sint commodo amet",
"consequat"
],
"customFields": [
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Text"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Text"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Selected Option"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": "My Selected Option"
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": 100
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": 100.5
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": [
"test",
"test2"
]
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": [
"test",
"test2"
]
},
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"key": "my_custom_field",
"field_value": {
"f31175d4-2b06-4fc6-b7bc-74cd814c68cb": {
"meta": {
"fieldname": "1HeGizb13P0odwgOgKSs",
"originalname": "IMG_20231215_164412935.jpg",
"encoding": "7bit",
"mimetype": "image/jpeg",
"size": 1786611,
"uuid": "f31175d4-2b06-4fc6-b7bc-74cd814c68cb"
},
"url": "https://services.leadconnectorhq.com/documents/download/w2M9qTZ0ZJz8rGt02jdJ",
"documentId": "w2M9qTZ0ZJz8rGt02jdJ"
}
}
}
],
"source": "public api",
"dateOfBirth": "1990-09-25",
"country": "US",
"assignedTo": "y0BeYjuRIlDwsDcOHOJo"
}
Possible values: 2023-02-21
API Version
Example: rosan
Example: Deo
Example: rosan Deo
Example: [email protected]
Example: ve9EPM428h8vShlRW1KT
Example: male
Example: +1 888-888-8888
Example: 3535 1st St N
Example: Dolomite
Example: AL
Example: 35061
Example: https://www.tesla.com
Example: America/chihuahua
Example: true
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive
This field will overwrite all current tags associated with the contact. To update tags, it is recommended to use the Add Tag or Remove Tag API instead.
Example: ["nisi sint commodo amet","consequat"]
Array of objects
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
My Text
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
My Text
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
My Selected Option
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
My Selected Option
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
100
6dvNaf7VhkQ9snc5vnjJ
price
100.5
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
["test","test2"]
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
["test","test2"]
6dvNaf7VhkQ9snc5vnjJ
my_custom_field
{"f31175d4-2b06-4fc6-b7bc-74cd814c68cb":{"meta":{"fieldname":"1HeGizb13P0odwgOgKSs","originalname":"IMG_20231215_164412935.jpg","encoding":"7bit","mimetype":"image/jpeg","size":1786611,"uuid":"f31175d4-2b06-4fc6-b7bc-74cd814c68cb"},"url":"https://services.leadconnectorhq.com/documents/download/w2M9qTZ0ZJz8rGt02jdJ","documentId":"w2M9qTZ0ZJz8rGt02jdJ"}}
public api
The birth date of the contact. Supported formats:
YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, YYYY_MM_DD, MM_DD_YYYY
Example: 1990-09-25
US
DGS VolMAX
User's Id
Example: y0BeYjuR1DW5DcOH0Jo
Controls whether to create a new contact or update an existing duplicate. Scenario 1: If this value is true and the location allows duplicate contacts, a new contact will be created immediately without checking for duplicates. Scenario 2: If this value is true but the location does not allow duplicate contacts, this field is ignored and the normal upsert behavior applies: the API will search for an existing duplicate contact, update it if found, or create a new contact if not found. Scenario 3: If this value is false or not provided, the normal upsert behavior applies regardless of the location's duplicate contact setting.
Default value: false
Example: false
Successful response
truesD4PfOuKoVMLkEZqohJrubika deove9EPM428h8vShlRW1KTrubikadeo[email protected][email protected]Asia/Calcuttatrueactive, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
active, inactive, permanent
readpublic apive9EPM428h8vShlRW1KT3535 1st St NrubiontebikaALUS35061https://www.tesla.com["nisi sint commodo amet","consequat"]
YYYY-MM-DD2021-07-03T15:18:26.704Z2021-07-03T15:18:26.704Ztestrubikarubika deodeo2021-07-16T11:39:30.564ZN0aCBi4YMWku64k8piname641c094001436dbc2081e642
Trigger Linkhttps://www.google.com
CjOKCQjwnNyUBhCZARISAI9AYIFtNnIcWcYGIOQINz_ZoFI5SSLRRugSoPZoiEu27IZBYf1-MAIWmEaAo2VEALW_WCB
fb. 1.1674748390986.1171287961
Mozilla/5.0
Mozilla/5.0
58.111.106.198
survey
FglfHAn30PRwsZVyQlKp
Trigger Linkhttps://www.google.com
CjOKCQjwnNyUBhCZARISAI9AYIFtNnIcWcYGIOQINz_ZoFI5SSLRRugSoPZoiEu27IZBYf1-MAIWmEaAo2VEALW_WCB
fb. 1.1674748390986.1171287961
Mozilla/5.0
Mozilla/5.0
58.111.106.198
survey
FglfHAn30PRwsZVyQlKp
ve9EPM428h8vShlRW1KT
{
"new": true,
"contact": {
"id": "seD4PfOuKoVMLkEZqohJ",
"name": "rubika deo",
"locationId": "ve9EPM428h8vShlRW1KT",
"firstName": "rubika",
"lastName": "Deo",
"email": "[email protected]",
"emailLowerCase": "[email protected]",
"timezone": "Asia/Calcutta",
"companyName": "DGS VolMAX",
"phone": "+18832327657",
"dnd": true,
"dndSettings": {
"Call": {
"status": "active",
"message": "string",
"code": "string"
},
"Email": {
"status": "active",
"message": "string",
"code": "string"
},
"SMS": {
"status": "active",
"message": "string",
"code": "string"
},
"WhatsApp": {
"status": "active",
"message": "string",
"code": "string"
},
"GMB": {
"status": "active",
"message": "string",
"code": "string"
},
"FB": {
"status": "active",
"message": "string",
"code": "string"
}
},
"type": "read",
"source": "public api",
"assignedTo": "ve9EPM428h8vShlRW1KT",
"address1": "3535 1st St N",
"city": "ruDolomitebika",
"state": "AL",
"country": "US",
"postalCode": "35061",
"website": "https://www.tesla.com",
"tags": [
"nisi sint commodo amet",
"consequat"
],
"dateOfBirth": "Date format YYYY-MM-DD",
"dateAdded": "2021-07-02T05:18:26.704Z",
"dateUpdated": "2021-07-02T05:18:26.704Z",
"attachments": "string",
"ssn": "string",
"keyword": "test",
"firstNameLowerCase": "rubika",
"fullNameLowerCase": "rubika deo",
"lastNameLowerCase": "deo",
"lastActivity": "2021-07-16T11:39:30.564Z",
"customFields": [
{
"id": "MgobCB14YMVKuE4Ka8p1",
"value": "name"
}
],
"businessId": "641c094001436dbc2081e642",
"attributionSource": {
"url": "Trigger Link",
"campaign": "string",
"utmSource": "string",
"utmMedium": "string",
"utmContent": "string",
"referrer": "https: //www.google.com",
"campaignId": "string",
"fbclid": "string",
"gclid": "CjOKCQjwnNyUBhCZARISAI9AYIFtNnIcWcYGIOQINz_ZoFI5SSLRRugSoPZoiEu27IZBY£1-MAIWmEaAo2VEALW_WCB",
"msclikid": "string",
"dclid": "string",
"fbc": "string",
"fbp": "fb. 1.1674748390986.1171287961",
"fbEventId": "Mozilla/5.0",
"userAgent": "Mozilla/5.0",
"ip": "58.111.106.198",
"medium": "survey",
"mediumId": "FglfHAn30PRwsZVyQlKp"
},
"lastAttributionSource": {
"url": "Trigger Link",
"campaign": "string",
"utmSource": "string",
"utmMedium": "string",
"utmContent": "string",
"referrer": "https: //www.google.com",
"campaignId": "string",
"fbclid": "string",
"gclid": "CjOKCQjwnNyUBhCZARISAI9AYIFtNnIcWcYGIOQINz_ZoFI5SSLRRugSoPZoiEu27IZBY£1-MAIWmEaAo2VEALW_WCB",
"msclikid": "string",
"dclid": "string",
"fbc": "string",
"fbp": "fb. 1.1674748390986.1171287961",
"fbEventId": "Mozilla/5.0",
"userAgent": "Mozilla/5.0",
"ip": "58.111.106.198",
"medium": "survey",
"mediumId": "FglfHAn30PRwsZVyQlKp"
},
"visitorId": "ve9EPM428h8vShlRW1KT"
},
"traceId": "string"
}
Bad Request
400Bad Request
{
"statusCode": 400,
"message": "Bad Request"
}
Unauthorized
401Invalid token: access token is invalidUnauthorized
{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}
Unprocessable Entity
422["Unprocessable Entity"]Unprocessable Entity
{
"statusCode": 422,
"message": ["Unprocessable Entity"],
"error": "Unprocessable Entity"
}