Prochain événement : cours découverte - le 9 juin de 19h à 20hProchain événement : cours découverte - le 9 juin de 19h à 20h
Bloc Spot
SalleÉcoleFalaiseEntreprisesAgendaTarifsMerchÀ proposContact
Y aller
Agenda
SalleÉcoleFalaiseEntreprises
TarifsMerchÀ proposContact
Y aller
SalleÉcoleFalaiseEntreprisesAgendaTarifsMerchÀ proposContact
API/Create Testimonial

API

  • POSTCreate Testimonial
  • GETList Testimonials

Components

  • Auth Components
  • Contact Components
  • Dialog Manager
  • Layout Components
  • Markdown Components

Developer

  • Safe Actions
  • Zod Route

Guide

  • Getting Started
  • Embedding Testimonials

Create Testimonial

Create a new testimonial programmatically via the NOW.TS API

Create a new testimonial in your organization. Testimonials can be text, video, or audio format.

Endpoint

POST /v1/testimonials

Authentication

This endpoint requires authentication. Include your API token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

Request Body

FieldTypeRequiredDescription
contentstringYesThe testimonial content (min 10 characters)
authorobjectYesAuthor information
author.namestringYesAuthor's full name
author.emailstringYesAuthor's email address
author.companystringNoAuthor's company name
ratingnumberNoRating from 1-5 stars
typestringYesTestimonial type: text, video, or audio
tagsarrayNoArray of tags for categorization

Response

Returns a testimonial object with the following fields:

FieldTypeDescription
idstringUnique testimonial identifier
contentstringThe testimonial content
authorobjectAuthor information
ratingnumberRating from 1-5 stars
typestringTestimonial type
statusstringCurrent status: pending, approved, rejected
createdAtstringISO 8601 timestamp of creation
updatedAtstringISO 8601 timestamp of last update

Error Codes

CodeDescription
400Bad Request - Invalid request data
401Unauthorized - Invalid or missing API token
403Forbidden - Insufficient permissions
422Validation Error - Request data failed validation
500Internal Server Error - Something went wrong on our end
List Testimonials

Request Examples

curl -X POST https://api.nowts.com/v1/testimonials \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Amazing product! Highly recommend to everyone.",
    "author": {
      "name": "John Doe",
      "email": "john@example.com",
      "company": "Acme Corp"
    },
    "rating": 5,
    "type": "text"
  }'

Response Examples

{
  "id": "test_123456789",
  "content": "Amazing product! Highly recommend to everyone.",
  "author": {
    "name": "John Doe",
    "email": "john@example.com",
    "company": "Acme Corp"
  },
  "rating": 5,
  "type": "text",
  "status": "pending",
  "createdAt": "2025-08-22T10:30:00Z",
  "updatedAt": "2025-08-22T10:30:00Z"
}

On This Page

EndpointAuthenticationRequest BodyResponseError Codes
Bloc SpotBloc Spot

Salle d'escalade de bloc à Angoulême. 800 m², 190 voies, ouverte 7j/7 dès 4 ans.

★Laisser un avis Google
Activités
La salle d'escaladeÉcole d'escaladeFalaise avec BrunoAgenda & événementsTeam buildingAnniversaires
Infos
Tarifs & abonnementsMerch & producteurs locauxÀ proposInfos pratiques
Nous trouver
144 Route de Vars
16160 Gond-Pontouvre
Horaires
Lun – Ven9h – 23h
Sam – Dim9h – 21h
07 49 39 93 43blocspot.16@gmail.com
© 2026 Bloc Spot — OSPOT AngoulêmeMentions légalesConfidentialitéCGV
Codé avec cœur parSocial Sphère