Requests
Request Object
Requests are represented as JSON objects with the following properties
Name | Type | Description |
---|---|---|
id | integer | The ID of the request |
title | string | The title of the request |
state | string | The state of the request. Allowed values :
|
priority | string | The priority of the request. Allowed values : |
author | string | The id of the request author. |
assignee | string | The id of the request assignee. |
tickets | array | An array of ticket objects linked to the request. Details about the object can be found here. |
csat_survey | object | An object containing information related to the csat_survey response of the request. Details about the object can be found here. |
channel | object | An object containing channel information where the request was sent. Details about the object can be found here. |
collection | object | An object containing collection information to which the above channel belongs where the request was sent. Details about the object can be found here. |
custom_field_values | object | An object containing custom field values
The object will have custom field ids as keys and the values of the custom fields as values of the object.
Note: Values will be ids in case of |
request_thread | object | An object containing information related to the thread corresponding to the request. Details about the object can be found here. |
triage_thread | object | An object containing information related to the triage thread corresponding to the request. Details about the object can be found here. |
sla_metrics | object | An object containing SLA metrics information Details about the object can be found here. |
created_at | string | The creation timestamp of the request |
updated_at | string | The update timestamp of the request |
Ticket Object
Tickets are represented as JSON objects with the following properties
Name | Type | Description |
---|---|---|
id | integer | The ID of the ticket |
type | string | Type of the ticket Allowed values : |
key | string | The key used for the ticket id. |
url | string | The url of the ticket. |
created_at | string | The creation timestamp of the ticket |
CSAT Survey Response Object
CSAT survey responses are represented as JSON objects with the following properties
Name | Type | Description |
---|---|---|
status | string | Status of the csat_survey. Allowed values:
|
response | object | This object will only be present if the status of the csat survey is |
Thread Object
Thread are represented as JSON objects with the following properties
Name | Type | Description |
---|---|---|
channel_id | string | id of the channel where the thread exists. |
thread_ts | string | id of the thread |
team_id | string | team_id of the workspace where channel containing this thread exists. |
url | string | URL of the thread |
SLA Metrics Object
SLA Metrics are represented as JSON objects with the following properties
Name | Type | Description |
---|---|---|
resolution_time | object | This field will hold |
first_response_time | object | This field will hold |
first_resolution_time | object | This field will hold |
Collection Object
The collection of a request is represented as a JSON object with the following properties:
Name | Type | Description |
---|---|---|
id | string | Id of the collection |
name | string | name of the collection |
Channel Object
Channel of a request is represented as JSON object with the following properties:
Name | Type | Description |
---|---|---|
id | string | Id of the channel |
name | string | name of the channel |
owner | string | id of the channel owner |
Get Requests
GET
https://api.clearfeed.app/v1/rest/requests
Get all requests in an account
Query Parameters
Name | Type | Description |
---|---|---|
collection_id | Number | Use the |
sort_order | String | The |
next_cursor | String | Utilize the |
limit | Number | Specify the number of results per response (1-100), defaulting to 50. |
after | ISO Date | Employ the |
before | ISO Date | Use the |
Get Request by Id
GET
https://api.clearfeed.app/v1/rest/requests/:id
Path Parameters
Name | Type | Description |
---|---|---|
id* | Number | Request Id |
Update Request
PATCH
https://api.clearfeed.app/v1/rest/requests/:id
Path Parameters
Name | Type | Description |
---|---|---|
id* | Number | Request Id |
Request Body
Name | Type | Description |
---|---|---|
state | String | Allowed values :
|
assignee | String | User Id of the new assignee. |
Last updated