Prodantix Messenger API
The messenger API from Prodantix — 6 operation(s) for messenger.
The messenger API from Prodantix — 6 operation(s) for messenger.
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/prodantix-com:prodantix-com-messenger-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: Prodantix Messenger API
version: 0.1.0
servers:
- url: https://api.prodantix.com
description: Flags and messaging
- url: https://eu.api.prodantix.com
description: Event ingestion (EU)
- url: https://eu.replay.prodantix.com
description: Session replay (EU)
tags:
- name: messenger
paths:
/v1/projects/{projectId}/messenger/help-centre:
get:
summary: Read the help centre
tags:
- messenger
description: The company's Clepit help site as the messenger reads it (its address, how many articles and in which languages, when they were last read and why the last read failed) and whether this project's visitors can search its articles.
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
responses:
'200':
description: The help centre and the project's article search
content:
application/json:
schema:
type: object
properties:
site:
anyOf:
- $ref: '#/components/schemas/HelpCentreSiteBody'
- type: 'null'
search:
$ref: '#/components/schemas/ArticleSearchBody'
required:
- search
'403':
description: The caller may not do this
'404':
description: The project is not there
operationId: getV1ProjectsByProjectIdMessengerHelpCentre
x-operation-id-source: derived
/v1/projects/{projectId}/messenger/help-centre/refresh:
post:
summary: Look the help site up again
tags:
- messenger
description: Asks Clepit which site belongs to the company and stores, moves or clears it, then answers as the read does. Use it after setting the help site up in Clepit.
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
schema:
type: string
responses:
'200':
description: The help centre after the lookup
content:
application/json:
schema:
type: object
properties:
site:
anyOf:
- $ref: '#/components/schemas/HelpCentreSiteBody'
- type: 'null'
search:
$ref: '#/components/schemas/ArticleSearchBody'
required:
- search
'403':
description: The caller may not do this
'404':
description: The project is not there
operationId: postV1ProjectsByProjectIdMessengerHelpCentreRefresh
x-operation-id-source: derived
/v1/projects/{projectId}/messenger/article-search:
put:
summary: Set article search
tags:
- messenger
description: 'Lets visitors search the help centre''s articles in the messenger, and where they find them: tab, first_view or while_typing. Turning it on needs a plan with article search, and answers 402 otherwise.'
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
'on':
type: boolean
placement:
$ref: '#/components/schemas/PlacementBody'
required:
- 'on'
- placement
responses:
'200':
description: The article search as stored
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
'on':
type: boolean
placement:
$ref: '#/components/schemas/PlacementBody'
required:
- 'on'
- placement
'403':
description: The caller may not do this
'404':
description: The project is not there
operationId: putV1ProjectsByProjectIdMessengerArticleSearch
x-operation-id-source: derived
/v1/projects/{projectId}/messenger/help-centre/articles:
get:
summary: Report the help articles
tags:
- messenger
description: Each help article's site views, messenger opens, reader faces from the messenger and the help site, satisfaction, conversations started from it and assistant citations over the range, most read first. A range spans at most 400 days.
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
- name: from
in: query
required: true
description: An RFC 3339 time; the range includes from and excludes to.
schema:
type: string
- name: to
in: query
required: true
description: An RFC 3339 time; the range includes from and excludes to.
schema:
type: string
responses:
'200':
description: The articles
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ArticleReport'
'403':
description: The caller may not do this
'404':
description: The project is not there
operationId: getV1ProjectsByProjectIdMessengerHelpCentreArticles
x-operation-id-source: derived
/v1/projects/{projectId}/messenger/help-centre/gaps:
get:
summary: Read the articles to write
tags:
- messenger
description: What visitors asked over the last 30 days that no article answered, grouped weekly into suggested articles when the company has the AI add-on and listed as asked otherwise. Needs the permission to read conversations as well as the messenger.
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
responses:
'200':
description: The latest grouping
content:
application/json:
schema:
type: object
properties:
computedAt:
type:
- string
- 'null'
grouped:
type: boolean
description: Whether the questions were grouped into topics, which needs the AI add-on.
topics:
type: array
items:
$ref: '#/components/schemas/GapTopic'
required:
- grouped
- topics
'403':
description: The caller may not do this
'404':
description: The project is not there
operationId: getV1ProjectsByProjectIdMessengerHelpCentreGaps
x-operation-id-source: derived
/v1/projects/{projectId}/messenger/translations:
post:
summary: Translate messenger texts
tags:
- messenger
description: 'Translates the messenger''s texts from one language (from, a BCP 47 tag) into another (to) with AI, one translation per text in order. A text may hold the inline markup a starter prompt carries, which comes back as it went. Up to 4000 bytes a text and 20,000 in all. Nothing is stored: write the result with the messenger''s settings. Answers 402 with AI_DISABLED or AI_LIMIT_REACHED when the AI add-on is off or at a limit.'
security:
- bearerAuth: []
parameters:
- name: projectId
in: path
required: true
description: The project whose messenger this is
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
from:
type: string
to:
type: string
texts:
type: array
items:
type: string
required:
- from
- to
- texts
responses:
'200':
description: One translation per text, in order
content:
application/json:
schema:
type: object
properties:
texts:
type: array
items:
type: string
required:
- texts
'400':
description: The texts cannot be translated as sent
'402':
description: The AI add-on is off or at a limit
'403':
description: The caller may not do this
'404':
description: The project is not there
'502':
description: The AI provider failed or its reply could not be used
operationId: postV1ProjectsByProjectIdMessengerTranslations
x-operation-id-source: derived
components:
schemas:
GapTopic:
type: object
properties:
title:
type:
- string
- 'null'
description: A suggested title for the article to write; null when the questions were not grouped.
questions:
type: array
items:
type: string
conversations:
type: integer
format: int64
required:
- questions
- conversations
FaceCounts:
type: object
properties:
disappointed:
type: integer
format: int64
neutral:
type: integer
format: int64
smiley:
type: integer
format: int64
required:
- disappointed
- neutral
- smiley
HelpCentreSiteBody:
type: object
properties:
url:
type: string
articles:
type: integer
format: int64
languages:
type: array
items:
type: string
lastReadAt:
type:
- string
- 'null'
readError:
type:
- string
- 'null'
capped:
type: boolean
required:
- url
- articles
- languages
- capped
ArticleReport:
type: object
properties:
pageId:
type: string
title:
type: string
url:
type: string
trail: true
siteViews30d:
type: integer
format: int64
description: The help site's own count of reads over its last 30 days.
messengerOpens:
type: integer
format: int64
messengerFaces:
$ref: '#/components/schemas/FaceCounts'
siteFaces:
anyOf:
- $ref: '#/components/schemas/FaceCounts'
- type: 'null'
description: Null until the help site publishes its reaction counts.
satisfaction:
type:
- number
- 'null'
format: double
description: The share of smiley faces minus the share of disappointed ones, from -100 to 100.
conversationsStarted:
type: integer
format: int64
citations:
type: integer
format: int64
required:
- pageId
- title
- url
- trail
- siteViews30d
- messengerOpens
- messengerFaces
- conversationsStarted
- citations
PlacementBody:
type: string
enum:
- tab
- first_view
- while_typing
ArticleSearchBody:
type: object
additionalProperties: false
properties:
'on':
type: boolean
placement:
$ref: '#/components/schemas/PlacementBody'
required:
- 'on'
- placement
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: An end-user access token.
billingSignature:
type: apiKey
in: header
name: bomdisoft-billing-signature
description: HMAC signature over the raw request body, verified against a shared secret.