Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: There There Channels API
description: 'REST API for There There, the AI-powered helpdesk. All endpoints require
authentication via a bearer token, and most require the
`X-Workspace-Id` header to identify which workspace the request targets.
You can copy the workspace ID from
Settings > Account > API Tokens or
Settings > Workspace > General.
Responses follow a consistent shape: single resources are returned under a
`data` key; collections return `data` alongside `meta` and `links` for
pagination.'
version: 1.0.0
servers:
- url: https://there-there.app/api
description: Production
security:
- bearerAuth: []
tags:
- name: Channels
paths:
/channels:
get:
operationId: listChannels
tags:
- Channels
summary: List accessible channels
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
responses:
'200':
description: List of channels
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Channel'
/channels/{channel}:
get:
operationId: showChannel
tags:
- Channels
summary: Show a channel
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- name: channel
in: path
required: true
schema:
type: string
responses:
'200':
description: Channel
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Channel'
components:
schemas:
Channel:
type: object
properties:
id:
type: integer
ulid:
type: string
name:
type: string
type:
type: string
enum:
- email
- widget
color:
type: string
email_address:
type: string
nullable: true
parameters:
WorkspaceHeader:
name: X-Workspace-Id
in: header
required: false
schema:
type: integer
description: 'Workspace ID this request targets. Required for tokens that have
access to multiple workspaces or to all workspaces. Optional for
tokens scoped to a single workspace (auto-resolved). Find the ID under
[Settings > Account > API Tokens](https://there-there.app/settings/account/api-tokens) or
[Settings > Workspace > General](https://there-there.app/settings/workspace/general).
'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Sanctum API token. Generate one from Settings > API Tokens.