Onboard Conversations API
The Conversations API from Onboard — 6 operation(s) for conversations.
The Conversations API from Onboard — 6 operation(s) for conversations.
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/onboard-io:onboard-io-conversations-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: Onboard API - Complete Specification Conversations API
description: OpenAPI 3.0 specification with some apps and/or paths excluded per the openapi-ignore file.
version: 1.0.0
servers:
- url: https://dev-rest.onboard.io
description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Conversations
paths:
/conversations:
get:
summary: GET /conversations
description: GET operation for /conversations
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationListSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
has_negative_feedback: true
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: getConversations
x-operation-id-source: derived
options:
summary: OPTIONS /conversations
description: OPTIONS operation for /conversations
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationListSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
has_negative_feedback: true
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: optionsConversations
x-operation-id-source: derived
/conversations/{id}:
get:
summary: GET /conversations/{id}
description: GET operation for /conversations/{id}
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
messages: string
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: getConversationsById
x-operation-id-source: derived
put:
summary: PUT /conversations/{id}
description: PUT operation for /conversations/{id}
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
messages: string
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
operationId: putConversationsById
x-operation-id-source: derived
patch:
summary: PATCH /conversations/{id}
description: PATCH operation for /conversations/{id}
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
messages: string
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
operationId: patchConversationsById
x-operation-id-source: derived
options:
summary: OPTIONS /conversations/{id}
description: OPTIONS operation for /conversations/{id}
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationSerializer'
example:
id: 1
bot: string
visitor_id: string
email: user@example.com
status: open
ended_at: '2021-01-01T00:00:00Z'
message_count: 1
messages: string
created_at: '2021-01-01T00:00:00Z'
modified_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: optionsConversationsById
x-operation-id-source: derived
/conversations/{id}/messages:
get:
summary: GET /conversations/{id}/messages
description: GET operation for /conversations/{id}/messages
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/MessageSerializer'
example:
id: 1
content: string
sender: bot
status: sent
tokens_used: 1
feedback: up
created_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: getConversationsByIdMessages
x-operation-id-source: derived
options:
summary: OPTIONS /conversations/{id}/messages
description: OPTIONS operation for /conversations/{id}/messages
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/MessageSerializer'
example:
id: 1
content: string
sender: bot
status: sent
tokens_used: 1
feedback: up
created_at: '2021-01-01T00:00:00Z'
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: optionsConversationsByIdMessages
x-operation-id-source: derived
/messages/{id}/feedback:
post:
summary: POST /messages/{id}/feedback
description: POST operation for /messages/{id}/feedback
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: postMessagesByIdFeedback
x-operation-id-source: derived
options:
summary: OPTIONS /messages/{id}/feedback
description: OPTIONS operation for /messages/{id}/feedback
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
parameters:
- name: id
in: path
required: true
schema:
type: string
operationId: optionsMessagesByIdFeedback
x-operation-id-source: derived
/widget-conversation-messages:
get:
summary: GET /widget-conversation-messages
description: GET operation for /widget-conversation-messages
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: getWidgetConversationMessages
x-operation-id-source: derived
options:
summary: OPTIONS /widget-conversation-messages
description: OPTIONS operation for /widget-conversation-messages
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: optionsWidgetConversationMessages
x-operation-id-source: derived
/chat:
post:
summary: POST /chat
description: POST operation for /chat
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: postChat
x-operation-id-source: derived
options:
summary: OPTIONS /chat
description: OPTIONS operation for /chat
tags:
- Conversations
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
operationId: optionsChat
x-operation-id-source: derived
components:
schemas:
MessageSerializer:
type: object
properties:
id:
type: integer
readOnly: true
content:
type: string
sender:
type: string
enum:
- bot
- user
x-onboard-source: serializer-or-model-choices
status:
type: string
readOnly: true
enum:
- sent
- failed
x-onboard-source: serializer-or-model-choices
tokens_used:
type: integer
readOnly: true
feedback:
type: string
enum:
- up
- down
x-onboard-source: serializer-or-model-choices
created_at:
type: string
format: date-time
readOnly: true
required:
- content
- sender
ConversationSerializer:
type: object
properties:
id:
type: integer
readOnly: true
bot:
type: string
visitor_id:
type: string
email:
type: string
format: email
status:
type: string
enum:
- open
- closed
- archived
x-onboard-source: serializer-or-model-choices
ended_at:
type: string
format: date-time
message_count:
type: integer
readOnly: true
messages:
type: string
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
modified_at:
type: string
format: date-time
readOnly: true
required:
- bot
- visitor_id
ConversationListSerializer:
type: object
properties:
id:
type: integer
readOnly: true
bot:
type: string
visitor_id:
type: string
email:
type: string
format: email
status:
type: string
enum:
- open
- closed
- archived
x-onboard-source: serializer-or-model-choices
ended_at:
type: string
format: date-time
message_count:
type: integer
readOnly: true
has_negative_feedback:
type: boolean
readOnly: true
created_at:
type: string
format: date-time
readOnly: true
modified_at:
type: string
format: date-time
readOnly: true
required:
- bot
- visitor_id
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: Authorization
description: 'API key authentication. Format: Your API key (no "Token" prefix needed)'