Senja

App · 6 actions

Collect, review and manage customer testimonials.

Actions

ActionWhat it does
Create testimonialAdd a text or video testimonial to your Senja project.
Delete testimonialPermanently delete a testimonial.
Get testimonialGet a testimonial by ID.
List linksList testimonial collection and invitation links.
List testimonialsList testimonials with search, ratings, tags and approval filters.
Update testimonialApprove a testimonial or change its tags.

Create testimonial

Add a text or video testimonial to your Senja project.

Inputs

TypetypetextRequired
Type.One of: text, video.
Customer namecustomer_nametextRequired
Customer name.
Titletitletext
Title.
Texttexttext
Text.
Video URLvideo_urltext
Video URL.
Customer emailcustomer_emailtext
Customer email.
Customer companycustomer_companytext
Customer company.
Customer taglinecustomer_taglinetext
Customer tagline.
Ratingratingnumber
Rating.From 1 to 5.
Approvedapprovedtrue/false
Approved.
Tagstagslist
Tags.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {
    "id": "example",
    "message": "example"
  }
}

Delete testimonial

Permanently delete a testimonial.

Inputs

Testimonial IDtestimonial_idtextRequired
Testimonial ID.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {
    "message": "example"
  }
}

Get testimonial

Get a testimonial by ID.

Inputs

Testimonial IDtestimonial_idtextRequired
Testimonial ID.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {
    "approved": true,
    "customer_email": "example",
    "customer_name": "example",
    "id": "example",
    "rating": 1,
    "tags": [
      "example"
    ],
    "text": "example",
    "title": "example",
    "type": "example"
  }
}

List testimonial collection and invitation links.

Inputs

None.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {}
}

List testimonials

List testimonials with search, ratings, tags and approval filters.

Inputs

Sortsorttext
Sort.One of: date, rating.
Orderordertext
Order.One of: asc, desc.
Approvedapprovedtrue/false
Approved.
Ratingratingnumber
Rating.From 1 to 5.
Typetypetext
Type.One of: text, video.
Tagstagslist
Tags.
Queryquerytext
Query.
Langlangtext
Lang.
Pagepagenumber
Page.At least 1.
Limitlimitnumber
Limit.From 1 to 1000.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {
    "testimonials": [
      {
        "approved": true,
        "customer_email": "example",
        "customer_name": "example",
        "id": "example",
        "rating": 1,
        "tags": [
          "example"
        ],
        "text": "example",
        "title": "example",
        "type": "example"
      }
    ],
    "total": 1
  }
}

Update testimonial

Approve a testimonial or change its tags.

Inputs

Testimonial IDtestimonial_idtextRequired
Testimonial ID.
Approvedapprovedtrue/false
Approved.
Add tagsadd_tagslist
Add tags.
Remove tagsremove_tagslist
Remove tags.

Outputs

dataobject
The response from Senja.
Example output
{
  "data": {
    "approved": true,
    "customer_email": "example",
    "customer_name": "example",
    "id": "example",
    "rating": 1,
    "tags": [
      "example"
    ],
    "text": "example",
    "title": "example",
    "type": "example"
  }
}

On this page