Lead

The Lead service on the Fynd platform includes groups for managing tickets, custom forms, and platform support configuration. It facilitates actions such as ticket retrieval, custom form interaction, and enhancing user support and feedback processes.

Custom Form

A custom form in Fynd Platform refers to a tailored web form created from within the Fynd Platform platform to collect specific information from customers or website visitors. These forms are customizable and can be designed to gather various types of data, such as customer feedback, inquiries, registration details, event sign-ups, or product customization or product requests. Sellers can create custom forms using Fynd Platform's built-in form builder or by integrating third-party apps that offer advanced form-building capabilities. Custom forms created are available directly into websites. This resource allows you to view responses submitted by Customers on website or mobile applications.

Operations
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
# Get custom form
PUT
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
# Update custom form
DEL
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
# Delete a custom form
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form
# Get custom forms
POST
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form
# Create custom form
GET

Get custom form

Get information about a custom form which includes corresponding field details and any validation regex required against that field or not
Requires application/customer_support/read access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for the form
slug
string
Required
Slug of form whose response is getting submitted
Response
200
404
Success
CustomForm
application_id
string
Application ID for form
slug
string
Slug for the form, which is to be used for accessing the form
header_image
string
Form header image that will be shown to the user
title
string
Form title that will be shown to the user
description
string
Form description that will be shown to the user
login_required
boolean
Denotes if login is required to make a form response submission
Default Value : false
should_notify
boolean
Denotes if new response submission for the form should be notified to the assignees
Default Value : false
success_message
string
Message that is to be shown on succesfull form response submission
submit_button
object (SubmitButton)
SubmitButton
title
string
Title for submit button
title_color
string
Title color submit button
background_color
string
Color for submit button
inputs
array of object
List of all the form fields
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Duration for polling of staff
message
string
Message for polling
success_message
string
Message for successful polling
failure_message
string
Message if polling failed
available_assignees
array of string
_id
string
Unique identifier for the form
created_at
string
| date-time
updated_at
string
| date-time
__v
number
created_by
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"1"
application_id:
"000000000000000000000001"
slug:
"video-assistance"
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
Loading...
Response
Loading...
PUT

Update custom form

Modify the content and associated settings of a custom form.
Requires application/customer_support/write access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for the form
slug
string
Required
Slug of form whose response is getting submitted
Request body
title
string
Required
Title for the form
inputs
array of object
Required
List of all the form components
description
string
Description of the form
priority
string
Required
Enum
should_notify
boolean
Indicates if staff should be notified when a response is received
login_required
boolean
Denotes if login is required to make a form response submission
success_message
string
Success message that will be shown on submission
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Required
Duration for polling of staff
message
string
Required
Message for polling
success_message
string
Required
Message for successful polling
failure_message
string
Required
Message if polling failed
Response
200
404
Success
CustomForm
application_id
string
Application ID for form
slug
string
Slug for the form, which is to be used for accessing the form
header_image
string
Form header image that will be shown to the user
title
string
Form title that will be shown to the user
description
string
Form description that will be shown to the user
login_required
boolean
Denotes if login is required to make a form response submission
Default Value : false
should_notify
boolean
Denotes if new response submission for the form should be notified to the assignees
Default Value : false
success_message
string
Message that is to be shown on succesfull form response submission
submit_button
object (SubmitButton)
SubmitButton
title
string
Title for submit button
title_color
string
Title color submit button
background_color
string
Color for submit button
inputs
array of object
List of all the form fields
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Duration for polling of staff
message
string
Message for polling
success_message
string
Message for successful polling
failure_message
string
Message if polling failed
available_assignees
array of string
_id
string
Unique identifier for the form
created_at
string
| date-time
updated_at
string
| date-time
__v
number
created_by
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"1"
application_id:
"000000000000000000000001"
slug:
"video"
body:
body
PUT
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
Loading...
Response
Loading...
DEL

Delete a custom form

Delete a custom form using it's slug.
Requires application/customer_support/write access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for the form
slug
string
Required
Slug of form whose response is getting submitted
Response
200
404
Success
CustomForm
application_id
string
Application ID for form
slug
string
Slug for the form, which is to be used for accessing the form
header_image
string
Form header image that will be shown to the user
title
string
Form title that will be shown to the user
description
string
Form description that will be shown to the user
login_required
boolean
Denotes if login is required to make a form response submission
Default Value : false
should_notify
boolean
Denotes if new response submission for the form should be notified to the assignees
Default Value : false
success_message
string
Message that is to be shown on succesfull form response submission
submit_button
object (SubmitButton)
SubmitButton
title
string
Title for submit button
title_color
string
Title color submit button
background_color
string
Color for submit button
inputs
array of object
List of all the form fields
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Duration for polling of staff
message
string
Message for polling
success_message
string
Message for successful polling
failure_message
string
Message if polling failed
available_assignees
array of string
_id
string
Unique identifier for the form
created_at
string
| date-time
updated_at
string
| date-time
__v
number
created_by
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"1"
application_id:
"000000000000000000000001"
slug:
"video-assistance"
DEL
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form/{slug}
Loading...
Response
Loading...
GET

Get custom forms

List all available custom forms
Requires application/customer_support/read access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for the form
Response
200
Success
CustomFormList
items
array of object (CustomForm)
List of forms
Array of CustomForm
application_id
string
Application ID for form
slug
string
Slug for the form, which is to be used for accessing the form
header_image
string
Form header image that will be shown to the user
title
string
Form title that will be shown to the user
description
string
Form description that will be shown to the user
login_required
boolean
Denotes if login is required to make a form response submission
Default Value : false
should_notify
boolean
Denotes if new response submission for the form should be notified to the assignees
Default Value : false
success_message
string
Message that is to be shown on succesfull form response submission
submit_button
object (SubmitButton)
SubmitButton
title
string
Title for submit button
title_color
string
Title color submit button
background_color
string
Color for submit button
inputs
array of object
List of all the form fields
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Duration for polling of staff
message
string
Message for polling
success_message
string
Message for successful polling
failure_message
string
Message if polling failed
available_assignees
array of string
_id
string
Unique identifier for the form
created_at
string
| date-time
updated_at
string
| date-time
__v
number
created_by
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
page
object (Page)
Page
item_total
integer
| int32
The total number of items on the page.
next_id
string
The identifier for the next page.
has_previous
boolean
Indicates whether there is a previous page.
has_next
boolean
Indicates whether there is a next page.
current
integer
| int32
The current page number.
type
string
The type of the page, such as 'PageType'.
size
integer
| int32
The number of items per page.
total
integer
| int32
Total number of items.
Examples
Parameters
company_id:
"1"
application_id:
"000000000000000000000001"
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form
Loading...
Response
Loading...
POST

Create custom form

Create a new custom form for application users to fill
Requires application/customer_support/write access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for the form
Request body
slug
string
Required
Slug for the form
title
string
Required
Title for the form
inputs
array of object
Required
List of all the form components
description
string
Description of the form
header_image
string
Header image that is to be shown for the form
priority
string
Required
Enum
should_notify
boolean
Indicates if staff should be notified when a response is received
Default Value : false
success_message
string
Success message that will be shown on submission
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Required
Duration for polling of staff
message
string
Required
Message for polling
success_message
string
Required
Message for successful polling
failure_message
string
Required
Message if polling failed
Response
200
400
Success
CustomForm
application_id
string
Application ID for form
slug
string
Slug for the form, which is to be used for accessing the form
header_image
string
Form header image that will be shown to the user
title
string
Form title that will be shown to the user
description
string
Form description that will be shown to the user
login_required
boolean
Denotes if login is required to make a form response submission
Default Value : false
should_notify
boolean
Denotes if new response submission for the form should be notified to the assignees
Default Value : false
success_message
string
Message that is to be shown on succesfull form response submission
submit_button
object (SubmitButton)
SubmitButton
title
string
Title for submit button
title_color
string
Title color submit button
background_color
string
Color for submit button
inputs
array of object
List of all the form fields
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
poll_for_assignment
object (PollForAssignment)
PollForAssignment
duration
number
Duration for polling of staff
message
string
Message for polling
success_message
string
Message for successful polling
failure_message
string
Message if polling failed
available_assignees
array of string
_id
string
Unique identifier for the form
created_at
string
| date-time
updated_at
string
| date-time
__v
number
created_by
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"1"
application_id:
"000000000000000000000001"
body:
body
POST
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/form
Loading...
Response
Loading...

Ticket

Tickets are user escalation events recorded to track and resolve customer queries or problems. They serve as a structured way to manage and prioritize customer inquiries, ensuring timely resolution and maintaining customer satisfaction. Tickets typically include details such as the customer's contact information, description of the issue, and any relevant history or notes. They can be assigned to specific agents, have a status to indicate their progress in the resolution process, and may have a priority level based on the urgency of the issue. This resoure allows you to create, update and view tickets.

Operations
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket
# List sales channel tickets
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}
# Get Ticket Details
PUT
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}
# Update Ticket Details
GET

List sales channel tickets

Gets the list of Application level Tickets and/or ticket filters
Requires application/customer_support/read access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for which the data will be returned
items
boolean
Decides that the reponse will contain the list of tickets
filters
boolean
Decides that the reponse will contain the ticket filters
q
string
Search through ticket titles and description
status
string
Filter tickets on status
priority
string
Filter tickets on priority
Enum
category
string
Filter tickets on category
Response
200
Success
TicketList
items
array of object (Ticket)
List of tickets
Array of Ticket
context
object (TicketContext)
TicketContext
application_id
string
Application ID related to the ticket
company_id
string
Company ID related to the ticket
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
response_id
string
Details of company and application realated to the ticket
content
object (TicketContent)
TicketContent
title
string
Title for ticket
description
string
| base64
Long description of issue
attachments
array of object (TicketAsset)
List of all attachments related to the ticket
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
category
object (TicketCategory)
TicketCategory
display
string
Category display value identifier
key
string
Category key value identifier
sub_categories
array of object (TicketCategory)
Array of TicketCategory
group_id
number
Group id of category releted data
feedback_form
object (FeedbackForm)
FeedbackForm
inputs
object
Input details for the feed back form
title
string
Title for the feed back form
timestamps
object
Gives details of category releted data
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
sub_category
string
Sub-category assigned to the ticket
source
object (TicketSourceEnum)
Enum
status
object (Status)
Status
key
string
Key for status
display
string
Display text for status
color
string
Color for status
priority
object (Priority)
Priority
key
string
Priority value of the ticket like urgent, low, medium, high.
Enum
display
string
Display text for priority
color
string
Color for priority
sla
object (SLA)
SLA
resolution_time
string
created_by
object
User details of ticket creator
assigned_to
object
Details of support staff to whom ticket is assigned
tags
array of string
Tags relevant to ticket
_custom_json
object
custom json relevant to the ticket
is_feedback_pending
boolean
Denotes if feedback submission is pending for the ticket
integration
object
Integration type and its details of the ticket
_id
string
Unique identifier for the ticket
updated_at
string
| date-time
Time when the ticket was last updated
created_at
string
| date-time
Time when the ticket was created
video_room_id
string
subscribers
array of string
additional_info
array of object (AdditionalInfoSchema)
Array of AdditionalInfoSchema
display_name
string
Display name for additional info
display_value
string
Display value for additional info
priority
number
priority for additional info
__v
number
attachments
array of object (TicketAsset)
List of all attachments related to the form
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
filters
object (Filter)
Filter
priorities
array of object (Priority)
List of possible priorities for tickets
Array of Priority
key
string
Priority value of the ticket like urgent, low, medium, high.
Enum
display
string
Display text for priority
color
string
Color for priority
categories
array of object (TicketCategory)
List of possible categories for tickets
Array of TicketCategory
display
string
Category display value identifier
key
string
Category key value identifier
sub_categories
array of object (TicketCategory)
Array of TicketCategory
group_id
number
Group id of category releted data
feedback_form
object (FeedbackForm)
FeedbackForm
inputs
object
Input details for the feed back form
title
string
Title for the feed back form
timestamps
object
Gives details of category releted data
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
statuses
array of object (Status)
List of possible statuses for tickets
Array of Status
key
string
Key for status
display
string
Display text for status
color
string
Color for status
assignees
array of object
List of support staff availble for tickets assignment
all_categories
object
page
object (Page)
Page
item_total
integer
| int32
The total number of items on the page.
next_id
string
The identifier for the next page.
has_previous
boolean
Indicates whether there is a previous page.
has_next
boolean
Indicates whether there is a next page.
current
integer
| int32
The current page number.
type
string
The type of the page, such as 'PageType'.
size
integer
| int32
The number of items per page.
total
integer
| int32
Total number of items.
Examples
Parameters
company_id:
"568"
application_id:
"000000000000000000000001"
items:
true
filters:
true
q:
"Product Request"
status:
"in_progress"
priority:
"medium"
category:
"product-request"
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket
Loading...
Response
Loading...
GET

Get Ticket Details

Get ticket details of a application level ticket with ticket ID
Requires application/customer_support/read access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for which the data will be returned
id
string
Required
Tiket ID of the ticket to be fetched
Response
200
404
Success
Ticket
context
object (TicketContext)
TicketContext
application_id
string
Application ID related to the ticket
company_id
string
Company ID related to the ticket
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
response_id
string
Details of company and application realated to the ticket
content
object (TicketContent)
TicketContent
title
string
Title for ticket
description
string
| base64
Long description of issue
attachments
array of object (TicketAsset)
List of all attachments related to the ticket
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
category
object (TicketCategory)
TicketCategory
display
string
Category display value identifier
key
string
Category key value identifier
sub_categories
array of object (TicketCategory)
Array of TicketCategory
group_id
number
Group id of category releted data
feedback_form
object (FeedbackForm)
FeedbackForm
inputs
object
Input details for the feed back form
title
string
Title for the feed back form
timestamps
object
Gives details of category releted data
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
sub_category
string
Sub-category assigned to the ticket
source
object (TicketSourceEnum)
Enum
status
object (Status)
Status
key
string
Key for status
display
string
Display text for status
color
string
Color for status
priority
object (Priority)
Priority
key
string
Priority value of the ticket like urgent, low, medium, high.
Enum
display
string
Display text for priority
color
string
Color for priority
sla
object (SLA)
SLA
resolution_time
string
created_by
object
User details of ticket creator
assigned_to
object
Details of support staff to whom ticket is assigned
tags
array of string
Tags relevant to ticket
_custom_json
object
custom json relevant to the ticket
is_feedback_pending
boolean
Denotes if feedback submission is pending for the ticket
integration
object
Integration type and its details of the ticket
_id
string
Unique identifier for the ticket
updated_at
string
| date-time
Time when the ticket was last updated
created_at
string
| date-time
Time when the ticket was created
video_room_id
string
subscribers
array of string
additional_info
array of object (AdditionalInfoSchema)
Array of AdditionalInfoSchema
display_name
string
Display name for additional info
display_value
string
Display value for additional info
priority
number
priority for additional info
__v
number
attachments
array of object (TicketAsset)
List of all attachments related to the form
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"568"
application_id:
"000000000000000000000001"
id:
"5f150f33d8bd5237b16bc279"
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}
Loading...
Response
Loading...
PUT

Update Ticket Details

Edits ticket details of a application level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes
Requires application/customer_support/write access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for ticket
id
string
Required
Ticket ID of ticket to be edited
Request body
content
object (TicketContent)
TicketContent
title
string
Required
Title for ticket
description
string
| base64
Long description of issue
attachments
array of object (TicketAsset)
List of all attachments related to the ticket
Array of TicketAsset
display
string
Display text for asset
value
string
Required
To be used for details
type
object (TicketAssetTypeEnum)
Required
Enum
category
string
Category assigned to the ticket
sub_category
string
Sub-category assigned to the ticket
source
string
Denotes if the ticket was created at company or application level
Enum
status
string
Denotes in what state is the ticket
priority
object (PriorityEnum)
Enum
assigned_to
object (AgentChangePayload)
AgentChangePayload
agent_id
string
Required
Agent's unique ID
tags
array of string
Tags relevant to ticket
Response
200
404
Success
Ticket
context
object (TicketContext)
TicketContext
application_id
string
Application ID related to the ticket
company_id
string
Company ID related to the ticket
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
response_id
string
Details of company and application realated to the ticket
content
object (TicketContent)
TicketContent
title
string
Title for ticket
description
string
| base64
Long description of issue
attachments
array of object (TicketAsset)
List of all attachments related to the ticket
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
category
object (TicketCategory)
TicketCategory
display
string
Category display value identifier
key
string
Category key value identifier
sub_categories
array of object (TicketCategory)
Array of TicketCategory
group_id
number
Group id of category releted data
feedback_form
object (FeedbackForm)
FeedbackForm
inputs
object
Input details for the feed back form
title
string
Title for the feed back form
timestamps
object
Gives details of category releted data
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
sub_category
string
Sub-category assigned to the ticket
source
object (TicketSourceEnum)
Enum
status
object (Status)
Status
key
string
Key for status
display
string
Display text for status
color
string
Color for status
priority
object (Priority)
Priority
key
string
Priority value of the ticket like urgent, low, medium, high.
Enum
display
string
Display text for priority
color
string
Color for priority
sla
object (SLA)
SLA
resolution_time
string
created_by
object
User details of ticket creator
assigned_to
object
Details of support staff to whom ticket is assigned
tags
array of string
Tags relevant to ticket
_custom_json
object
custom json relevant to the ticket
is_feedback_pending
boolean
Denotes if feedback submission is pending for the ticket
integration
object
Integration type and its details of the ticket
_id
string
Unique identifier for the ticket
updated_at
string
| date-time
Time when the ticket was last updated
created_at
string
| date-time
Time when the ticket was created
video_room_id
string
subscribers
array of string
additional_info
array of object (AdditionalInfoSchema)
Array of AdditionalInfoSchema
display_name
string
Display name for additional info
display_value
string
Display value for additional info
priority
number
priority for additional info
__v
number
attachments
array of object (TicketAsset)
List of all attachments related to the form
Array of TicketAsset
display
string
Display text for asset
value
string
To be used for details
type
object (TicketAssetTypeEnum)
Enum
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"568"
application_id:
"000000000000000000000001"
id:
"5f150f33d8bd5237b16bc279"
body:
body
PUT
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}
Loading...
Response
Loading...

Ticket History

Tickets are user escalation events recorded to track and resolve customer queries or problems. Any interactions over the ticket, whether by a support agent or the user who raised the concern, are recorded as a Ticket History Item. This resource allows you to further interact and record such interactions on tickets. Interactions may include adding comments to the ticket or attaching a thread of conversation to interact with an agent.

Operations
POST
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}/history
# Create ticket history interaction
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}/history
# Get ticket history interaction
POST

Create ticket history interaction

Create history for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating.
Requires application/customer_support/write access scope.
Parameters
company_id
string
Required
Company ID of the application
application_id
string
Required
Application ID for ticket
id
string
Required
Ticket ID for which history is created
Request body
value
object
Required
Details of history event
type
object (HistoryTypeEnum)
Required
Enum
Response
200
400
Success
TicketHistory
type
string
Type of the history event
value
object
Data of the history event
ticket_id
string
Readable ticket number
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
created_by
object
User who created the history event
_id
string
Unique identifier of the history event
updated_at
string
| date-time
Time of last update of the history event
created_at
string
| date-time
Time of creation of the history event
__v
number
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
Examples
Parameters
company_id:
"1"
application_id:
"5e269d9d08a6c4469f8ceb14"
id:
"5f150f33d8bd5237b16bc279"
body:
body
POST
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}/history
Loading...
Response
Loading...
GET

Get ticket history interaction

Gets history list for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating.
Requires application/customer_support/read access scope.
Parameters
company_id
string
Required
Company ID of application
application_id
string
Required
Application ID for ticket
id
string
Required
Ticket ID for which history is to be fetched
Response
200
Success
TicketHistoryList
items
array of object (TicketHistory)
List of ticket history
Array of TicketHistory
type
string
Type of the history event
value
object
Data of the history event
ticket_id
string
Readable ticket number
created_on
object (CreatedOn)
CreatedOn
user_agent
string
Useragent details
platform
string
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
created_by
object
User who created the history event
_id
string
Unique identifier of the history event
updated_at
string
| date-time
Time of last update of the history event
created_at
string
| date-time
Time of creation of the history event
__v
number
additionalProperties
Allows you to attach properties in addition to the ones mentioned above. Any additional properties are allowed.
page
object (Page)
Page
item_total
integer
| int32
The total number of items on the page.
next_id
string
The identifier for the next page.
has_previous
boolean
Indicates whether there is a previous page.
has_next
boolean
Indicates whether there is a next page.
current
integer
| int32
The current page number.
type
string
The type of the page, such as 'PageType'.
size
integer
| int32
The number of items per page.
total
integer
| int32
Total number of items.
Examples
Parameters
company_id:
"1"
application_id:
"5e269d9d08a6c4469f8ceb14"
id:
"5f3f7803f31c03e0386630fb"
GET
/service/platform/lead/v1.0/company/{company_id}/application/{application_id}/ticket/{id}/history
Loading...
Response
Loading...