Casama AI Testimonials API

The testimonials API from Casama AI, for testimonials.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /v1/testimonials Live quotes about Casama (no sign-in; cached for an hour) #
GET /v1/me/testimonial Whether you can send a quote now, and the name it would show #
POST /v1/me/testimonial Send a sentence about Casama (kept as a draft for the owner; one per 90 days) #
GET /v1/admin/testimonials Every testimonial with its consent record (instance owner) #
POST /v1/admin/testimonials Add a testimonial (instance owner) #
PATCH /v1/admin/testimonials/{id} Edit, show, hide or withdraw a testimonial (instance owner) #
DELETE /v1/admin/testimonials/{id} Delete a testimonial for good (instance owner) #
POST /v1/admin/testimonials/order Put testimonials in a new order (instance owner) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-testimonials-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

casama-ai-testimonials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Casama Testimonials API
  version: 0.1.0
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://api.casama.ai
tags:
- name: testimonials
paths:
  /v1/testimonials:
    get:
      operationId: listTestimonials
      tags:
      - testimonials
      summary: Live quotes about Casama (no sign-in; cached for an hour)
      parameters:
      - schema:
          $ref: '#/components/schemas/TestimonialPlace'
        required: false
        name: place
        in: query
      responses:
        '200':
          description: Testimonials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicTestimonials'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/me/testimonial:
    get:
      operationId: getTestimonialAsk
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Whether you can send a quote now, and the name it would show
      responses:
        '200':
          description: Ask
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestimonialAsk'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      operationId: submitTestimonial
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Send a sentence about Casama (kept as a draft for the owner; one per 90 days)
      description: 'Errors: 400 testimonial_empty, 429 testimonial_limit.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitTestimonialRequest'
      responses:
        '200':
          description: Sent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmittedTestimonial'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/admin/testimonials:
    get:
      operationId: listAdminTestimonials
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Every testimonial with its consent record (instance owner)
      responses:
        '200':
          description: Testimonials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminTestimonials'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    post:
      operationId: createAdminTestimonial
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Add a testimonial (instance owner)
      description: 'Errors: 400 testimonial_needs_consent, 404 not_found (no account with that email).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAdminTestimonialRequest'
      responses:
        '200':
          description: Testimonial
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminTestimonial'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/admin/testimonials/{id}:
    patch:
      operationId: updateAdminTestimonial
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Edit, show, hide or withdraw a testimonial (instance owner)
      description: 'Errors: 400 testimonial_needs_consent, 400 testimonial_placeholder, 409 testimonial_withdrawn (withdrawn comes back only with new consent, never while the account is being deleted), 404 not_found.'
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAdminTestimonialRequest'
      responses:
        '200':
          description: Testimonial
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminTestimonial'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
    delete:
      operationId: deleteAdminTestimonial
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Delete a testimonial for good (instance owner)
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Deleted
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
  /v1/admin/testimonials/order:
    post:
      operationId: reorderAdminTestimonials
      tags:
      - testimonials
      security:
      - bearerAuth: []
      summary: Put testimonials in a new order (instance owner)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReorderAdminTestimonialsRequest'
      responses:
        '200':
          description: Testimonials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminTestimonials'
        '400':
          description: Validation failed
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limited
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    TestimonialSource:
      type: string
      enum:
      - email
      - in_app
      - toolradar
      - app_store
      - play
      - other
    ReorderAdminTestimonialsRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
          maxItems: 500
      required:
      - ids
      description: Every id in the new order; sort becomes its position
    TestimonialState:
      type: string
      enum:
      - draft
      - live
      - hidden
      - withdrawn
    SubmitTestimonialRequest:
      type: object
      properties:
        quote:
          type: string
          minLength: 1
          maxLength: 280
        consent:
          type: boolean
        org_id:
          type: string
          format: uuid
        platform:
          type: string
          maxLength: 40
      required:
      - quote
      - consent
    SubmittedTestimonial:
      type: object
      properties:
        ok:
          type: boolean
      required:
      - ok
    UpdateAdminTestimonialRequest:
      type: object
      properties:
        quote:
          type: string
          minLength: 1
          maxLength: 280
        name_shown:
          type: string
          minLength: 1
          maxLength: 60
        role_shown:
          type:
          - string
          - 'null'
          maxLength: 80
        source:
          $ref: '#/components/schemas/TestimonialSource'
        source_url:
          type:
          - string
          - 'null'
          maxLength: 500
          pattern: ^(https:\/\/\S+)?$
        consent_text:
          type:
          - string
          - 'null'
          maxLength: 2000
        consent_at:
          type:
          - string
          - 'null'
          format: date-time
        user_email:
          type:
          - string
          - 'null'
          maxLength: 320
        rating:
          type:
          - integer
          - 'null'
          minimum: 0
          maximum: 5
        incentive_note:
          type:
          - string
          - 'null'
          maxLength: 80
        places:
          type: array
          items:
            $ref: '#/components/schemas/TestimonialPlace'
          maxItems: 4
        sort:
          type: integer
          minimum: -100000
          maximum: 100000
        state:
          $ref: '#/components/schemas/TestimonialState'
        notes:
          type:
          - string
          - 'null'
          maxLength: 2000
    CreateAdminTestimonialRequest:
      type: object
      properties:
        quote:
          type: string
          minLength: 1
          maxLength: 280
        name_shown:
          type: string
          minLength: 1
          maxLength: 60
        role_shown:
          type:
          - string
          - 'null'
          maxLength: 80
        source:
          $ref: '#/components/schemas/TestimonialSource'
        source_url:
          type:
          - string
          - 'null'
          maxLength: 500
          pattern: ^(https:\/\/\S+)?$
        consent_text:
          type:
          - string
          - 'null'
          maxLength: 2000
        consent_at:
          type:
          - string
          - 'null'
          format: date-time
        user_email:
          type:
          - string
          - 'null'
          maxLength: 320
        rating:
          type:
          - integer
          - 'null'
          minimum: 0
          maximum: 5
        incentive_note:
          type:
          - string
          - 'null'
          maxLength: 80
        places:
          type: array
          items:
            $ref: '#/components/schemas/TestimonialPlace'
          maxItems: 4
        sort:
          type: integer
          minimum: -100000
          maximum: 100000
        state:
          $ref: '#/components/schemas/TestimonialState'
        notes:
          type:
          - string
          - 'null'
          maxLength: 2000
      required:
      - quote
      - name_shown
      - source
    AdminTestimonial:
      type: object
      properties:
        id:
          type: string
          format: uuid
        quote:
          type: string
        name_shown:
          type: string
        role_shown:
          type:
          - string
          - 'null'
        source:
          $ref: '#/components/schemas/TestimonialSource'
        source_url:
          type:
          - string
          - 'null'
        consent_text:
          type:
          - string
          - 'null'
        consent_at:
          type:
          - string
          - 'null'
          format: date-time
        user_email:
          type:
          - string
          - 'null'
        rating:
          type:
          - integer
          - 'null'
          minimum: 1
          maximum: 5
        incentive_note:
          type:
          - string
          - 'null'
        places:
          type: array
          items:
            $ref: '#/components/schemas/TestimonialPlace'
        sort:
          type: integer
        state:
          $ref: '#/components/schemas/TestimonialState'
        notes:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        withdrawn_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - id
      - quote
      - name_shown
      - role_shown
      - source
      - source_url
      - consent_text
      - consent_at
      - user_email
      - rating
      - incentive_note
      - places
      - sort
      - state
      - notes
      - created_at
      - updated_at
      - withdrawn_at
    Problem:
      type: object
      properties:
        type:
          type: string
          example: https://casama.ai/problems/not_found
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable error code
          example: not_found
        detail:
          type: string
        instance:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
            - path
            - message
          description: Field errors for validation_failed
      required:
      - type
      - title
      - status
      - code
    AdminTestimonials:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/AdminTestimonial'
      required:
      - items
    TestimonialPlace:
      type: string
      enum:
      - site_home
      - site_pricing
      - app_paywall
      - app_signin
    PublicTestimonials:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/PublicTestimonial'
      required:
      - items
    TestimonialAsk:
      type: object
      properties:
        can_send:
          type: boolean
        name_shown:
          type:
          - string
          - 'null'
      required:
      - can_send
      - name_shown
    PublicTestimonial:
      type: object
      properties:
        quote:
          type: string
        name_shown:
          type: string
        role_shown:
          type:
          - string
          - 'null'
        rating:
          type:
          - integer
          - 'null'
          minimum: 1
          maximum: 5
        source:
          $ref: '#/components/schemas/TestimonialSource'
        source_url:
          type:
          - string
          - 'null'
        incentive_note:
          type:
          - string
          - 'null'
      required:
      - quote
      - name_shown
      - role_shown
      - rating
      - source
      - source_url
      - incentive_note
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token