Callback-request.create
A new callback request is created on your environment. Subscribe to these events to update relevant documents in your CRM or other dataflows.
Body
-
id
string Required Minimum length is
1
. -
correlationId
string Required Minimum length is
1
. -
entity
string Required Value is
Callback Request
. -
version
string Required Minimum length is
1
. -
webhookConfigurationId
string Required Minimum length is
1
. -
data
object Required Additional properties are NOT allowed.
Request examples
{
"id": "string",
"correlationId": "string",
"entity": "Callback Request",
"version": "string",
"webhookConfigurationId": "string",
"data": {
"eventType": "string",
"callbackRequest": {
"id": "123",
"status": "string",
"subject": {
"id": "123",
"externalId": "ABCD1234",
"enabledForCustomerUse": true,
"enabledForInternalUse": true,
"order": 5,
"cancellationByAgentForm": {
"id": "123"
},
"cancellationByCustomerForm": {
"id": "123"
},
"completionByAgentForm": {
"id": "123"
},
"questionnaireForm": {
"id": "123"
},
"subjectGroup": {
"id": "123",
"externalId": "ABCD1234",
"order": 5,
"color": "string",
"image": "string",
"translations": {
"name": [
{
"language": "string",
"value": "string"
}
]
},
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"translations": {
"name": [
{
"language": "string",
"value": "string"
}
],
"description": [
{
"language": "string",
"value": "string"
}
],
"instructions": [
{
"language": "string",
"value": "string"
}
]
},
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"office": {
"id": "123",
"active": true,
"email": "string",
"externalId": "ABCD1234",
"phoneNumber": "string",
"timeZone": "string",
"usesIndependentAgents": true,
"virtual": true,
"location": {
"postalCode": "string",
"countryCode": "string",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "string",
"value": "string"
}
],
"street1": [
{
"language": "string",
"value": "string"
}
],
"street2": [
{
"language": "string",
"value": "string"
}
],
"state": [
{
"language": "string",
"value": "string"
}
]
}
},
"translations": {
"name": [
{
"language": "string",
"value": "string"
}
],
"description": [
{
"language": "string",
"value": "string"
}
],
"directions": [
{
"language": "string",
"value": "string"
}
],
"parkingInfo": [
{
"language": "string",
"value": "string"
}
]
},
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"participants": [
{
"role": "string",
"type": "string",
"createdAt": "2022-08-17T19:05:21.362Z",
"employee": {
"id": "123",
"communicationEmail": "string",
"email": "string",
"externalId": "ABCD1234",
"firstName": "string",
"lastName": "string",
"language": "string",
"onlinePlanning": true,
"phoneNumber": "string",
"profilePictureUrl": "string",
"staticVideoUrl": "string",
"translations": {
"function": [
{
"language": "string",
"value": "string"
}
]
},
"availableRoles": [
"string"
],
"status": "string",
"timeZone": "string",
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"customer": {
"id": "123",
"company": "string",
"customerNumber": "string",
"email": "string",
"existing": true,
"externalId": "ABCD1234",
"firstName": "string",
"lastName": "string",
"language": "string",
"phoneNumber": "string",
"timeZone": "string",
"location": {
"postalCode": "string",
"countryCode": "string",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "string",
"value": "string"
}
],
"street1": [
{
"language": "string",
"value": "string"
}
],
"street2": [
{
"language": "string",
"value": "string"
}
],
"state": [
{
"language": "string",
"value": "string"
}
]
}
}
},
"cancelUrl": "string",
"editUrl": "string",
"inviteUrl": "string",
"declineUrl": "string",
"office365CalendarUrl": "string",
"googleCalendarUrl": "string",
"icalUrl": "string"
}
],
"answers": [
{
"id": "123",
"form": {
"id": "123"
},
"question": {
"id": "123",
"externalId": "ABCD1234",
"order": 5,
"translations": {
"label": [
{
"language": "string",
"value": "string"
}
]
},
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"answerType": "string",
"value": "string",
"selectedAnswerOptions": [
{
"id": "123",
"externalId": "ABCD1234",
"value": "string",
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
}
],
"files": [
{
"id": "123"
}
],
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z"
}
],
"location": {
"postalCode": "string",
"countryCode": "string",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "string",
"value": "string"
}
],
"street1": [
{
"language": "string",
"value": "string"
}
],
"street2": [
{
"language": "string",
"value": "string"
}
],
"state": [
{
"language": "string",
"value": "string"
}
]
}
},
"listing": {
"id": "123",
"active": true,
"externalId": "string",
"timeZone": "string",
"tags": [
"string"
],
"location": {
"postalCode": "string",
"countryCode": "string",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "string",
"value": "string"
}
],
"street1": [
{
"language": "string",
"value": "string"
}
],
"street2": [
{
"language": "string",
"value": "string"
}
],
"state": [
{
"language": "string",
"value": "string"
}
]
}
},
"translations": {
"name": [
{
"language": "string",
"value": "string"
}
],
"description": [
{
"language": "string",
"value": "string"
}
]
},
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"leadSegment": {
"id": "123",
"code": "string",
"description": "string",
"createdAt": "2022-08-17T19:05:21.362Z",
"updatedAt": "2022-08-17T19:05:21.362Z",
"deletedAt": "2022-08-17T19:05:21.362Z"
},
"meetingType": "string",
"externalId": "ABCD1234",
"internalNotes": "string",
"createdAt": "2022-08-17T19:05:21.362Z",
"createdById": "string",
"createdByType": "string",
"createdFrom": "string",
"updatedAt": "2022-08-17T19:05:21.362Z",
"updatedById": "string",
"updatedByType": "string",
"updatedFrom": "string"
}
}
}