FacebookMessengerConversation
{
"type": "object",
"required": [
"id",
"requesterId",
"channel",
"createdAt"
],
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"link": {
"$ref": "#/components/schemas/ConversationLink"
},
"queue": {
"$ref": "#/components/schemas/Queue"
},
"state": {
"type": "string",
"description": "values: [AwaitingPending, Closed, Open, Pending]"
},
"channel": {
"type": "string",
"description": "values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"direction": {
"type": "string",
"description": "values: [Inbound, Internal, Outbound]"
},
"assignment": {
"$ref": "#/components/schemas/Assignment"
},
"requesterId": {
"type": "string",
"format": "uuid"
},
"stateUpdatedAt": {
"type": "string",
"format": "date-time"
},
"customAttributes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomAttribute"
}
}
}
}
Field
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"field": {
"$ref": "#/components/schemas/FieldType"
}
}
}
FieldMetadata
{
"type": "object",
"required": [
"field",
"description",
"nullable"
],
"properties": {
"field": {
"type": "string"
},
"nullable": {
"type": "boolean"
},
"description": {
"type": "string"
}
}
}
FieldType
{
"oneOf": [
{
"$ref": "#/components/schemas/BooleanField"
},
{
"$ref": "#/components/schemas/DoubleField"
},
{
"$ref": "#/components/schemas/InstantField"
},
{
"$ref": "#/components/schemas/IntField"
},
{
"$ref": "#/components/schemas/ListField"
},
{
"$ref": "#/components/schemas/LongField"
},
{
"$ref": "#/components/schemas/StringField"
},
{
"$ref": "#/components/schemas/TimestampField"
},
{
"$ref": "#/components/schemas/UUIDField"
}
]
}
File
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "url"
},
"prettyName": {
"type": "string"
}
}
}
Filter
{
"type": "object",
"required": [
"attribute"
],
"properties": {
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"attribute": {
"type": "string"
}
}
}
FilterMetadata
{
"type": "object",
"required": [
"filterAttribute"
],
"properties": {
"description": {
"type": "string"
},
"filterAttribute": {
"type": "string"
}
}
}
FilterValue
{
"type": "object",
"required": [
"value"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
FollowUp
{
"type": "object",
"required": [
"parentId"
],
"properties": {
"parentId": {
"type": "integer",
"format": "int64"
}
}
}
FollowupAddedActivityType
{
"type": "object"
}
FollowupExpiredActivityType
{
"type": "object"
}
FollowupRemovedActivityType
{
"type": "object"
}
GenericAttributes
{
"type": "object",
"properties": {
"content": {
"$ref": "#/components/schemas/Content"
},
"direction": {
"type": "string",
"description": "values: [Inbound, Internal, Outbound]"
},
"attachments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/File"
}
}
}
}
GenericConversation
{
"type": "object",
"required": [
"id",
"requesterId",
"channel",
"createdAt"
],
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"link": {
"$ref": "#/components/schemas/ConversationLink"
},
"queue": {
"$ref": "#/components/schemas/Queue"
},
"state": {
"type": "string",
"description": "values: [AwaitingPending, Closed, Open, Pending]"
},
"channel": {
"type": "string",
"description": "values: [WhatsApp, Voicemail, WidgetChat, FacebookMessenger, Twitter, Email, ContactForm, Callback, PstnPhone, Sms, Messenger]"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"direction": {
"type": "string",
"description": "values: [Inbound, Internal, Outbound]"
},
"assignment": {
"$ref": "#/components/schemas/Assignment"
},
"requesterId": {
"type": "string",
"format": "uuid"
},
"stateUpdatedAt": {
"type": "string",
"format": "date-time"
},
"customAttributes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomAttribute"
}
},
"toContactPointId": {
"type": "string"
},
"fromContactPointId": {
"type": "string"
}
}
}
GetActivityLogOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ActivityLogEntry"
}
}
}
}
GetContactPointByIdOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ContactEndpoint"
}
}
}
GetConversationOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/Conversation"
}
}
}
GetEndUserOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/EndUser"
}
}
}
GetFilterValuesOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FilterValue"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
GetMetricDataInput
{
"type": "object",
"required": [
"id",
"periodFilter",
"timezone"
],
"properties": {
"id": {
"type": "string"
},
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Filter"
}
},
"timezone": {
"type": "string"
},
"aggregations": {
"type": "array",
"items": {
"type": "string",
"description": "values: [Min, Max, Sum, Count, Percentage, StdDev, Average]"
}
},
"periodFilter": {
"$ref": "#/components/schemas/PeriodFilter"
}
}
}
GetMetricDataOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/MetricData"
}
}
}
GetMetricOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/MetricMetadata"
}
}
}
GetMetricRecordOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/MetricRecordMetadata"
}
}
}
GetMetricRecordsDataInput
{
"type": "object",
"required": [
"id",
"periodFilter",
"timezone"
],
"properties": {
"id": {
"type": "string"
},
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Filter"
}
},
"timezone": {
"type": "string"
},
"periodFilter": {
"$ref": "#/components/schemas/PeriodFilter"
}
}
}
GetMetricRecordsDataOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetricRecord"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
GetMetricRecordsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetricRecordMetadata"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
GetMetricsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetricMetadata"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
GetQueueByIdOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/Queue1"
}
}
}
GetTagOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/Tag"
}
}
}
GetWebhookEventDeliveryLogsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EventDeliveryLog"
}
}
}
}
GetWebhookLastDeliveryStatusOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EventDeliveryStatus"
}
}
}
}
GetWebhookSubscriptionOutput
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/components/schemas/WebhookSubscription"
}
}
}
Html
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string"
}
}
}
Inbound
{
"type": "object",
"required": [
"content"
],
"properties": {
"content": {
"$ref": "#/components/schemas/Content"
},
"externalId": {
"type": "string",
"description": "Client generated identifier for external reference"
},
"attachments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/File"
}
},
"integrationEmail": {
"type": "string",
"description": "Internal email address registered for the integration with format: \\<email-address\\>@email.dixa.io"
}
}
}
Infrastructure
{
"type": "object",
"required": [
"id",
"message"
],
"properties": {
"id": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
InstantField
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"format": "date-time"
}
}
}
IntField
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "integer",
"format": "int32"
}
}
}
Integrity
{
"type": "object",
"required": [
"id",
"message"
],
"properties": {
"id": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
InternalNoteData
{
"type": "object",
"required": [
"id",
"authorId",
"createdAt",
"csid",
"message"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"csid": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string"
},
"authorId": {
"type": "string",
"format": "uuid"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}
Interval
{
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"format": "date-time"
},
"start": {
"type": "string",
"format": "date-time"
}
}
}
ListActivityLogOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ActivityLogEntry"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
ListAgentsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Agent"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
ListContactPointsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ContactEndpoint"
}
}
}
}
ListConversationRatingsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConversationRating"
}
}
}
}
ListCustomAttributesDefinitionsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomAttributeDefinition"
}
}
}
}
ListEndUserConversationsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Conversation"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
ListEndUsersOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EndUser"
}
},
"meta": {
"$ref": "#/components/schemas/PaginationLinks"
}
}
}
ListField
{
"type": "object",
"properties": {
"values": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PrimitiveField"
}
}
}
}
ListFlowsOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConversationFlow"
}
}
}
}
ListInternalNotesOutput
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InternalNoteData"
}
}
}
}