feat: add sdk examples for team, inboxes and agents

This commit is contained in:
Shivam Mishra
2026-02-19 12:54:36 +05:30
parent 5e1109b13e
commit c74bb805f9
20 changed files with 539 additions and 0 deletions
@@ -8,6 +8,24 @@ post:
- userApiKey: []
parameters:
- $ref: '#/components/parameters/account_id'
x-codeSamples:
- lang: python
label: "Create an API inbox"
source: |
from chatwoot import ChatwootClient
client = ChatwootClient(
base_url="https://app.chatwoot.com",
api_token="your-api-token"
)
inbox = client.inboxes.create(
account_id=1,
name="Support Inbox",
channel_type="api"
)
print(inbox.id, inbox.name)
requestBody:
required: true
content: