BadRequestDTO
statusCode
numberExample:
400
message
stringExample:
Bad Request
Example
{
"statusCode": 400,
"message": "Bad Request"
}
UnauthorizedDTO
statusCode
numberExample:
401
message
stringExample:
Invalid token: access token is invalid
error
stringExample:
Unauthorized
Example
{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}
PageDetailsSchema
url
stringExample:
https://example.com
title
stringExample:
Example Page
Example
{
"url": "https://example.com",
"title": "Example Page"
}
ContactSessionIds
ids
array[string] or null
Example:
["session1","session2"]
Example
{
"ids": [
"session1",
"session2"
]
}
EventDataSchema
fbc
stringExample:
fb.1.123456789.987654321
fbp
stringExample:
fbp.1.987654321.123456789
page
objecturl
stringExample:
https://example.com
title
stringExample:
Example Page
type
stringExample:
page-visit
domain
stringExample:
example.com
medium
stringExample:
form
source
stringExample:
Direct traffic
version
stringExample:
v3
adSource
stringExample:
example-ad-source
mediumId
stringExample:
medium-id-123
parentId
stringExample:
parent-id-456
referrer
stringExample:
https://staging.gohighlevel.com
fbEventId
stringExample:
event-id-789
timestamp
numberExample:
1234567890
parentName
stringExample:
Parent Form
fingerprint
stringExample:
example-fingerprint
pageVisitType
stringExample:
form
contactSessionIds
object or null
ids
array[string] or null
Example:
["session1","session2"]
Example
{
"fbc": "fb.1.123456789.987654321",
"fbp": "fbp.1.987654321.123456789",
"page": {
"url": "https://example.com",
"title": "Example Page"
},
"type": "page-visit",
"domain": "example.com",
"medium": "form",
"source": "Direct traffic",
"version": "v3",
"adSource": "example-ad-source",
"mediumId": "medium-id-123",
"parentId": "parent-id-456",
"referrer": "https://staging.gohighlevel.com",
"fbEventId": "event-id-789",
"timestamp": 1234567890,
"parentName": "Parent Form",
"fingerprint": "example-fingerprint",
"pageVisitType": "form",
"contactSessionIds": {
"ids": [
"session1",
"session2"
]
}
}
othersSchema
__submissions_other_field__
stringExample:
john@deo.com
__custom_field_id__
stringExample:
20
eventData
objectfbc
stringExample:
fb.1.123456789.987654321
fbp
stringExample:
fbp.1.987654321.123456789
page
objecttype
stringExample:
page-visit
domain
stringExample:
example.com
medium
stringExample:
form
source
stringExample:
Direct traffic
version
stringExample:
v3
adSource
stringExample:
example-ad-source
mediumId
stringExample:
medium-id-123
parentId
stringExample:
parent-id-456
referrer
stringExample:
https://staging.gohighlevel.com
fbEventId
stringExample:
event-id-789
timestamp
numberExample:
1234567890
parentName
stringExample:
Parent Form
fingerprint
stringExample:
example-fingerprint
pageVisitType
stringExample:
form
contactSessionIds
object or null
fieldsOriSequance
array[string]Example:
["full_name","first_name","last_name","phone","email"]
Example
{
"__submissions_other_field__": "john@deo.com",
"__custom_field_id__": "20",
"eventData": {
"fbc": "fb.1.123456789.987654321",
"fbp": "fbp.1.987654321.123456789",
"page": {
"url": "https://example.com",
"title": "Example Page"
},
"type": "page-visit",
"domain": "example.com",
"medium": "form",
"source": "Direct traffic",
"version": "v3",
"adSource": "example-ad-source",
"mediumId": "medium-id-123",
"parentId": "parent-id-456",
"referrer": "https://staging.gohighlevel.com",
"fbEventId": "event-id-789",
"timestamp": 1234567890,
"parentName": "Parent Form",
"fingerprint": "example-fingerprint",
"pageVisitType": "form",
"contactSessionIds": {
"ids": [
"session1",
"session2"
]
}
},
"fieldsOriSequance": [
"full_name",
"first_name",
"last_name",
"phone",
"email"
]
}
FormsSubmissionsSubmissionsSchema
id
stringExample:
38303ec7-629a-49e2-888a-cf8bf0b1f97e
contactId
stringExample:
DWQ45t2IPVxi9LDu1wBl
createdAt
stringExample:
2021-06-23T06:07:04.000Z
formId
stringExample:
YSWdvS4Is98wtIDGnpmI
name
stringExample:
test
email
stringExample:
test@test.com
others
object__submissions_other_field__
stringExample:
john@deo.com
__custom_field_id__
stringExample:
20
eventData
objectfieldsOriSequance
array[string]Example:
["full_name","first_name","last_name","phone","email"]
Example
{
"id": "38303ec7-629a-49e2-888a-cf8bf0b1f97e",
"contactId": "DWQ45t2IPVxi9LDu1wBl",
"createdAt": "2021-06-23T06:07:04.000Z",
"formId": "YSWdvS4Is98wtIDGnpmI",
"name": "test",
"email": "test@test.com",
"others": {
"__submissions_other_field__": "john@deo.com",
"__custom_field_id__": "20",
"eventData": {
"fbc": "fb.1.123456789.987654321",
"fbp": "fbp.1.987654321.123456789",
"page": {},
"type": "page-visit",
"domain": "example.com",
"medium": "form",
"source": "Direct traffic",
"version": "v3",
"adSource": "example-ad-source",
"mediumId": "medium-id-123",
"parentId": "parent-id-456",
"referrer": "https://staging.gohighlevel.com",
"fbEventId": "event-id-789",
"timestamp": 1234567890,
"parentName": "Parent Form",
"fingerprint": "example-fingerprint",
"pageVisitType": "form",
"contactSessionIds": {
"ids": []
}
},
"fieldsOriSequance": [
"full_name",
"first_name",
"last_name",
"phone",
"email"
]
}
}
metaSchema
locationId
stringExample:
ve9EPM428h8vShlRW1KT
title
stringExample:
template title
type
stringAllowed values:
htmlfolderimportbuilderblank
updatedBy
stringExample:
zYy3YOUuHxgomU1uYJty
builderVersion
stringAllowed values:
12
Default:
2
name
stringExample:
Template1
parentId
stringExample:
zYy3YOUuHxgomU1uYJty
templateDataUrl
stringExample:
importProvider
stringAllowed values:
mailchimpactive_campaignkajabi
importURL
stringExample:
https://tplshare.com/fhYJ3Mi
templateSource
stringExample:
template_library
isPlainText
booleanExample:
false
Example
{
"total": 1,
"currentPage": 1,
"nextPage": null,
"prevPage": null
}
FormsSubmissionsSuccessfulResponseDto
submissions
array[object]id
stringExample:
38303ec7-629a-49e2-888a-cf8bf0b1f97e
contactId
stringExample:
DWQ45t2IPVxi9LDu1wBl
createdAt
stringExample:
2021-06-23T06:07:04.000Z
formId
stringExample:
YSWdvS4Is98wtIDGnpmI
name
stringExample:
test
email
stringExample:
test@test.com
others
object__submissions_other_field__
stringExample:
john@deo.com
__custom_field_id__
stringExample:
20
eventData
objectfieldsOriSequance
array[string]Example:
["full_name","first_name","last_name","phone","email"]
meta
objecttotal
numberExample:
1
currentPage
numberExample:
1
nextPage
number or null
Example:
null
prevPage
number or null
Example:
null
Example
{
"submissions": [
{
"id": "38303ec7-629a-49e2-888a-cf8bf0b1f97e",
"contactId": "DWQ45t2IPVxi9LDu1wBl",
"createdAt": "2021-06-23T06:07:04.000Z",
"formId": "YSWdvS4Is98wtIDGnpmI",
"name": "test",
"email": "test@test.com",
"others": {
"eventData": {},
"fieldsOriSequance": []
}
}
],
"meta": {
"total": 1,
"currentPage": 1,
"nextPage": null,
"prevPage": null
}
}
UnprocessableDTO
statusCode
numberExample:
422
message
array[string]Example:
["Unprocessable Entity"]
error
stringExample:
Unprocessable Entity
Example
{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}
FormsParams
id
stringExample:
YSWdvS4Is98wtIDGnpmI
name
stringExample:
Form 1
locationId
stringExample:
ve9EPM428h8vShlRW1KT
Example
{
"id": "YSWdvS4Is98wtIDGnpmI",
"name": "Form 1",
"locationId": "ve9EPM428h8vShlRW1KT"
}
FormsSuccessfulResponseDto
forms
array[object]id
stringExample:
YSWdvS4Is98wtIDGnpmI
name
stringExample:
Form 1
locationId
stringExample:
ve9EPM428h8vShlRW1KT
total
numberTotal number of forms
Example:
20
Example
{
"forms": [
{
"id": "YSWdvS4Is98wtIDGnpmI",
"name": "Form 1",
"locationId": "ve9EPM428h8vShlRW1KT"
}
],
"total": "20"
}