Senja
App · 6 actions
Collect, review and manage customer testimonials.
Actions
| Action | What it does |
|---|---|
| Create testimonial | Add a text or video testimonial to your Senja project. |
| Delete testimonial | Permanently delete a testimonial. |
| Get testimonial | Get a testimonial by ID. |
| List links | List testimonial collection and invitation links. |
| List testimonials | List testimonials with search, ratings, tags and approval filters. |
| Update testimonial | Approve a testimonial or change its tags. |
Create testimonial
Add a text or video testimonial to your Senja project.
Inputs
- Type
typetextRequired - Type.One of:
text,video. - Customer name
customer_nametextRequired - Customer name.
- Title
titletext - Title.
- Text
texttext - Text.
- Video URL
video_urltext - Video URL.
- Customer email
customer_emailtext - Customer email.
- Customer company
customer_companytext - Customer company.
- Customer tagline
customer_taglinetext - Customer tagline.
- Rating
ratingnumber - Rating.From 1 to 5.
- Approved
approvedtrue/false - Approved.
- Tags
tagslist - Tags.
Outputs
dataobject- The response from Senja.
Example output
{
"data": {
"id": "example",
"message": "example"
}
}Delete testimonial
Permanently delete a testimonial.
Inputs
- Testimonial ID
testimonial_idtextRequired - Testimonial ID.
Outputs
dataobject- The response from Senja.
Example output
{
"data": {
"message": "example"
}
}Get testimonial
Get a testimonial by ID.
Inputs
- Testimonial ID
testimonial_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 links
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
- Sort
sorttext - Sort.One of:
date,rating. - Order
ordertext - Order.One of:
asc,desc. - Approved
approvedtrue/false - Approved.
- Rating
ratingnumber - Rating.From 1 to 5.
- Type
typetext - Type.One of:
text,video. - Tags
tagslist - Tags.
- Query
querytext - Query.
- Lang
langtext - Lang.
- Page
pagenumber - Page.At least 1.
- Limit
limitnumber - 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 ID
testimonial_idtextRequired - Testimonial ID.
- Approved
approvedtrue/false - Approved.
- Add tags
add_tagslist - Add tags.
- Remove tags
remove_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"
}
}