Feedback Options API (1.0.0)

Download OpenAPI specification:Download

API for managing feedback options and templates

Feedback Options

Feedback options management operations

Get all feedback options

Retrieve a list of all feedback options with optional filtering and pagination

Authorizations:
ApiKeyAuth
query Parameters
page
integer >= 1
Default: 1

Page number for pagination

per_page
integer [ 1 .. 100 ]
Default: 25

Number of items per page

sort
string

Sort field

company_namespace
Array of strings

Company namespace for filtering

category
string

Filter by category

is_active
boolean

Filter by active status

template_type
string
Enum: "survey" "rating" "nps" "custom"

Filter by template type

_id
Array of strings

Filter by ID

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ],
  • "paging": {
    }
}

Create new feedback options

Create a new feedback options template

Authorizations:
ApiKeyAuth
Request Body schema: application/json
name
required
string

Template name

description
string

Template description

category
string

Category of the template

template_type
required
string
Enum: "survey" "rating" "nps" "custom"

Type of feedback template

required
Array of objects (FeedbackQuestion)
object
object
object
is_active
boolean
Default: true

Whether the template is active

company_namespace
Array of strings

Company namespace

Responses

Request samples

Content type
application/json
{
  • "name": "Sales Visit Feedback",
  • "description": "string",
  • "category": "string",
  • "template_type": "survey",
  • "questions": [
    ],
  • "settings": {
    },
  • "styling": {
    },
  • "notification_settings": {
    },
  • "is_active": true,
  • "company_namespace": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Get feedback options by ID

Retrieve a specific feedback options template by its ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Feedback options ID

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Update feedback options

Update an existing feedback options template

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Feedback options ID

Request Body schema: application/json
name
string

Template name

description
string

Template description

category
string

Category of the template

Array of objects (FeedbackQuestion)
object
object
object
is_active
boolean

Whether the template is active

company_namespace
Array of strings

Company namespace

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "category": "string",
  • "questions": [
    ],
  • "settings": {
    },
  • "styling": {
    },
  • "notification_settings": {
    },
  • "is_active": true,
  • "company_namespace": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Delete feedback options

Delete a feedback options template by ID

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Feedback options ID

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Preview feedback template

Get a preview of how the feedback template will appear

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Feedback options ID

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Get predefined templates

Get a list of predefined feedback templates

Authorizations:
ApiKeyAuth
query Parameters
category
string

Filter by category

template_type
string
Enum: "survey" "rating" "nps" "custom"

Filter by template type

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}