Chatwoot/swagger/index.yml

74 lines
2 KiB
YAML
Raw Normal View History

swagger: "2.0"
2020-02-23 07:24:29 +00:00
info:
2020-03-11 10:49:13 +00:00
description: This is the API documentation for Chatwoot server.
2020-02-23 07:24:29 +00:00
version: 1.0.0
title: Chatwoot
termsOfService: https://www.chatwoot.com/terms-of-service/
contact:
email: hello@chatwoot.com
2020-02-23 07:24:29 +00:00
license:
name: MIT License
url: https://opensource.org/licenses/MIT
2020-03-11 10:49:13 +00:00
host: app.chatwoot.com
basePath: /
2020-03-11 10:49:13 +00:00
schemes:
- https
produces:
- application/json; charset=utf-8
consumes:
- application/json; charset=utf-8
securityDefinitions:
userApiKey:
type: apiKey
in: header
name: api_access_token
description: This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
agentBotApiKey:
type: apiKey
in: header
name: api_access_token
description: This token should be provided by system admin or obtained via rails console. This token can be used to build bot integrations and can only access limited apis.
platformAppApiKey:
type: apiKey
in: header
name: api_access_token
description: This token can be obtained by the system admin after creating a platformApp. This token should be used to provision agent bots, accounts, users and their roles.
security:
- userApiKey: []
2020-03-11 10:49:13 +00:00
2020-02-23 07:24:29 +00:00
paths:
$ref: ./paths/index.yml
definitions:
$ref: ./definitions/index.yml
parameters:
$ref: ./parameters/index.yml
x-tagGroups:
- name: Platform
tags:
- Accounts
- Account Users
- AgentBots
- Users
- name: Application
tags:
- Account AgentBots
- Agent
- Canned Response
- Contact
- Conversation
- Conversation Assignment
- Conversation Labels
- Inbox
- Messages
- Integrations
- Profile
- Teams
- Custom Filter
- Reports
- name: Client
tags:
- Contacts API
- Conversations API
- Messages API