Casama AI Support API
The support API from Casama AI, for support.
Operations 7
POST
/v1/support/feedback
Send feedback about Casama (an idea, a like, a dislike, something confusing)
#
The support API from Casama AI, for support.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/casama-ai:casama-ai-support-api"
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.
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: 3.2.0
info:
title: Casama Support 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: Support
paths:
/v1/support:
get:
operationId: getSupportConfig
tags:
- Support
security:
- bearerAuth: []
summary: What help this server offers
responses:
'200':
description: Support
content:
application/json:
schema:
$ref: '#/components/schemas/SupportConfig'
'401':
description: Not authenticated
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/support/chat:
post:
operationId: supportChat
tags:
- Support
security:
- bearerAuth: []
summary: Ask the support assistant
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SupportChatRequest'
responses:
'200':
description: The assistant's answer
content:
application/json:
schema:
$ref: '#/components/schemas/SupportChatReply'
'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'
'429':
description: Rate limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/support/tickets:
post:
operationId: createSupportTicket
tags:
- Support
security:
- bearerAuth: []
summary: Send a message to the support team
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SupportTicketRequest'
responses:
'200':
description: Sent
content:
application/json:
schema:
$ref: '#/components/schemas/SupportTicket'
'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'
'429':
description: Rate limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/support/feedback:
post:
operationId: sendFeedback
tags:
- Support
security:
- bearerAuth: []
summary: Send feedback about Casama (an idea, a like, a dislike, something confusing)
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackRequest'
responses:
'200':
description: Sent
content:
application/json:
schema:
$ref: '#/components/schemas/FeedbackSent'
'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'
'429':
description: Rate limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/support/web/config:
get:
operationId: getSupportWebConfig
tags:
- Support
summary: Whether the website assistant answers, and the Turnstile site key
responses:
'200':
description: Website assistant
content:
application/json:
schema:
$ref: '#/components/schemas/SupportWebConfig'
/v1/support/web/session:
post:
operationId: createSupportWebSession
tags:
- Support
summary: Pass the Turnstile check and get a short website assistant session
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SupportWebSessionRequest'
responses:
'200':
description: Session
content:
application/json:
schema:
$ref: '#/components/schemas/SupportWebSession'
'400':
description: Validation failed
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Forbidden
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/support/web/chat:
post:
operationId: supportWebChat
tags:
- Support
summary: Ask the website assistant (answers from the docs; sees no account)
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SupportWebChatRequest'
responses:
'200':
description: The assistant's answer
content:
application/json:
schema:
$ref: '#/components/schemas/SupportWebChatReply'
'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'
'429':
description: Rate limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
components:
schemas:
SupportMessage:
type: object
properties:
role:
type: string
enum:
- user
- assistant
content:
type: string
minLength: 1
maxLength: 4000
required:
- role
- content
SupportTicketRequest:
type: object
properties:
org_id:
type: string
format: uuid
topic:
$ref: '#/components/schemas/SupportTopic'
message:
type: string
minLength: 1
maxLength: 8000
transcript:
type: array
items:
$ref: '#/components/schemas/SupportMessage'
maxItems: 60
app_version:
type: string
maxLength: 40
platform:
type: string
maxLength: 40
required:
- topic
- message
SupportTopic:
type: string
enum:
- billing
- broken
- account
- question
- other
SupportWebChatRequest:
type: object
properties:
session:
type: string
maxLength: 400
messages:
type: array
items:
type: object
properties:
role:
type: string
enum:
- user
- assistant
content:
type: string
minLength: 1
maxLength: 4000
required:
- role
- content
minItems: 1
maxItems: 20
page:
type: string
maxLength: 200
required:
- session
- messages
SupportChatRequest:
type: object
properties:
org_id:
type: string
format: uuid
messages:
type: array
items:
$ref: '#/components/schemas/SupportMessage'
minItems: 1
maxItems: 40
features:
type: array
items:
type: string
maxLength: 32
maxItems: 10
app_version:
type: string
maxLength: 40
platform:
type: string
maxLength: 40
required:
- messages
SupportChatReply:
type: object
properties:
reply:
type: string
sources:
type: array
items:
$ref: '#/components/schemas/SupportSource'
places:
type: array
items:
$ref: '#/components/schemas/SupportPlace'
handoff:
type:
- object
- 'null'
properties:
topic:
$ref: '#/components/schemas/SupportTopic'
summary:
type: string
required:
- topic
- summary
required:
- reply
- sources
- handoff
SupportTicket:
type: object
properties:
reference:
type: string
reply_to:
type: string
required:
- reference
- reply_to
SupportWebChatReply:
type: object
properties:
reply:
type: string
sources:
type: array
items:
$ref: '#/components/schemas/SupportSource'
places:
type: array
items:
$ref: '#/components/schemas/SupportPlace'
required:
- reply
- sources
SupportWebSessionRequest:
type: object
properties:
turnstile_token:
type: string
maxLength: 4096
required:
- turnstile_token
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
SupportSource:
type: object
properties:
title:
type: string
url:
type: string
required:
- title
- url
SupportWebSession:
type: object
properties:
session:
type: string
expires_at:
type: string
format: date-time
required:
- session
- expires_at
FeedbackSent:
type: object
properties:
id:
type: string
format: uuid
required:
- id
SupportConfig:
type: object
properties:
assistant:
type: boolean
tickets:
type: boolean
feedback:
type: boolean
ideas_url:
type:
- string
- 'null'
email:
type: string
docs_url:
type: string
required:
- assistant
- tickets
- email
- docs_url
SupportWebConfig:
type: object
properties:
assistant:
type: boolean
turnstile_site_key:
type:
- string
- 'null'
email:
type: string
docs_url:
type: string
required:
- assistant
- turnstile_site_key
- email
- docs_url
FeedbackKind:
type: string
enum:
- idea
- like
- dislike
- confusing
SupportPlace:
type: object
properties:
id:
type: string
label:
type: string
route:
type: string
url:
type: string
required:
- id
- label
- url
FeedbackRequest:
type: object
properties:
org_id:
type: string
format: uuid
kind:
$ref: '#/components/schemas/FeedbackKind'
message:
type: string
minLength: 1
maxLength: 8000
contact_ok:
type: boolean
default: true
app_version:
type: string
maxLength: 40
platform:
type: string
maxLength: 40
required:
- kind
- message
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase access token